#linuxcnc Logs

May 22 2024

#linuxcnc Calendar

12:01 AM Leeloo: I think it's working - I can see encoder count changing: for some reason encoder 1 on 7i85, which is Y axis for me seemed to be encoder4 or 5, forgot now...
12:57 AM Deejay: moin
02:54 AM lcnc-relay: <travis_farmer> Morning
02:55 AM lcnc-relay: <TurBoss> good morning
02:55 AM XXCoder: 1 am soon. close enough t morning
03:12 AM lcnc-relay: <TurBoss> its morning o'clock here
03:12 AM lcnc-relay: <TurBoss> 😄
03:20 AM lcnc-relay: <travis_farmer> well into morning here, 04:14
03:56 AM -!- #linuxcnc mode set to +v by ChanServ
06:14 AM -!- #linuxcnc mode set to +v by ChanServ
06:14 AM JT-Mobile: morning
06:21 AM JT-Mobile: I did find this in gcode_properties.py gcode.parse(self.loaded_file, self.canon, unitcode, initcode)
07:08 AM Tom_L: that's a start
07:13 AM lcnc-relay: <TurBoss> yeah the gcode properties is a good start
07:27 AM JT-Mobile: I just need to get an overall idea of what's going on
07:33 AM lcnc-relay: <TurBoss> you need to create a class that has some predefined function names and and pass that to the gcode.parse thing it will run and use thoose functions
07:34 AM JT-Mobile: ok, it's starting to make some sense to me now
07:34 AM lcnc-relay: <TurBoss> check BaseCanon from qtpyvcp
07:35 AM lcnc-relay: <TurBoss> then StatCanon
07:35 AM lcnc-relay: <TurBoss> it inherist from base canon
07:35 AM lcnc-relay: <TurBoss> *typos warning
07:36 AM JT-Mobile: looking at your links from the other day
07:36 AM lcnc-relay: <TurBoss> check the PrintCanon from basecanon.py
07:36 AM lcnc-relay: <TurBoss> instead of prints you put your opengl code there
07:40 AM JT-Mobile: ok thanks
07:41 AM lcnc-relay: <TurBoss> you are welcome 🙂
07:41 AM JT-Mobile: looks like basecannon.py was based on /lib/rs274/glcannon.py or interpt.py
07:44 AM JT-Mobile: I think when I get back I'll make a small test plotter and putz with that until I get it to work
07:44 AM lcnc-relay: <TurBoss> checking whats in glcanon
07:45 AM JT-Mobile: it will be easier to do with my big monitor lol
07:45 AM lcnc-relay: <TurBoss> oh looks like you could just pass a instance of glcanon to gcode.parse
07:46 AM JT-Mobile: really?
07:46 AM lcnc-relay: <TurBoss> it has gl instructions
07:46 AM JT-Mobile: cool
07:56 AM JT-Mobile: from rs274 import glcanon
07:56 AM JT-Mobile: wow that worked
07:59 AM lcnc-relay: <TurBoss> I'll try "from rs374.glcanon import GLCanon"
07:59 AM lcnc-relay: <TurBoss> *2
08:00 AM lcnc-relay: <TurBoss> then something line "self.glcanon = GLCanon(colors, geometry)" then pass self.glcanon to parse
08:00 AM JT-Mobile: grep showed me axis does this src/emc/usr_intf/axis/scripts/axis.py:63:from rs274.glcanon import GLCanon, GlCanonDraw
08:01 AM lcnc-relay: <TurBoss> not sure what the draw version does
08:01 AM JT-Mobile: me neither but I'm making progress
08:03 AM JT-Mobile: so I'm guessing pass the gcode file and glcanon to gcode.parse
08:03 AM lcnc-relay: <TurBoss> yeah and the start gcodes
08:04 AM lcnc-relay: <TurBoss> whell the ini
08:06 AM lcnc-relay: <TurBoss> I'm having an issue where something works only when ran twice 😅
08:06 AM lcnc-relay: <TurBoss> 🤦
08:06 AM JT-Mobile: yuck
08:09 AM JT-Mobile: GLCanon(colors, geometry) what is colors and geometry?
08:10 AM lcnc-relay: <TurBoss> you could guess from the code.. 😄
08:11 AM JT-Mobile: lol
08:11 AM lcnc-relay: <TurBoss> those are the paths color but not sure how it needs it
08:11 AM JT-Mobile: ok
08:11 AM lcnc-relay: <TurBoss> axis may have thoose datad
08:12 AM lcnc-relay: <TurBoss> * datas
08:50 AM JT-Mobile: def __init__(self, colors, geometry, is_foam=0, foam_w=1.5, foam_z=0.0):
08:51 AM JT-Mobile: I see now it needs colors and geometry
08:53 AM JT-Mobile: class AxisCanon(GLCanon, StatMixin):
08:53 AM JT-Mobile: def __init__(self, widget, text, linecount, progress, arcdivision):
08:53 AM JT-Mobile: GLCanon.__init__(self, widget.colors, geometry, foam)
08:53 AM * JT-Mobile heads for break fast
08:54 AM lcnc-relay: <TurBoss> 🙂
09:00 AM JT-Mobile: class GlCanonDraw:
09:00 AM JT-Mobile: colors = {
09:05 AM lcnc-relay: <TurBoss> cool
10:12 AM Unterhaus_ is now known as Unterhausen
10:12 AM Unterhausen: feels weird to use the NSA's decompiler
10:13 AM Unterhausen: especially to write malware
10:16 AM lcnc-relay: <skunkworks8841> Uh.. random?
10:18 AM lcnc-relay: <skunkworks8841> Feels really weird using USGS's gene splicer.. Especially to make a virus..
10:21 AM Rab_: USGS makes a gene splicer? That would feel weird.
10:22 AM Rab_: Even using their geosciences software feels weird.
10:36 AM lcnc-relay: <skunkworks8841> I know one of the directors - they do a lot of gene type stuff.
10:44 AM roycroft: hello, skunkworks8841
10:55 AM skunkworks: Hello!
10:55 AM skunkworks: roycroft: Hello!
10:56 AM Rab_: skunkworks, like this? https://www.usgs.gov/centers/fort-collins-science-center/science/landscape-genetics
10:57 AM skunkworks: I don't know - the guy I know seems to be focused on rivers and lakes
11:02 AM roycroft: i have found my megasquirt stuff
11:02 AM skunkworks: Yay!
11:02 AM roycroft: are you still intetrested?
11:02 AM skunkworks: Yes
11:03 AM skunkworks: Let me find your tab on here.
11:04 AM roycroft: ok, what i have is a v1 megasquirt kit that i assembled and tested, two versions of megastim, the relay board, and a megaview
12:38 PM XXCoder: https://youtu.be/IEFGKMWYD-E
12:38 PM XXCoder: pretty amazing allright
12:38 PM XXCoder: tornado vs windmill
12:45 PM Rab_: Incredible, this is all I ever wanted from the Internet.
12:46 PM XXCoder: amazing yeah
12:46 PM Rab_: I can't find the thumbnail angle in the actual video, though.
01:26 PM roycroft: here's some good tornado video watching music: https://roycroft.us/Neko.mp3
01:43 PM roycroft: looks like the uk will have a new government in five weeks
01:43 PM roycroft: the long reign of the toreys will be over
01:44 PM roycroft: elections were just called for july 4
01:50 PM bjorkint0sh: how do you know they will be displaced?
01:51 PM roycroft: because they're polling at around 17% right now
01:52 PM roycroft: this election is labour' to lose, and keir starmer is a pretty strong candidate
01:52 PM roycroft: much stronger than jeremy corbyn ever was
01:55 PM roycroft: and i exaggerated
01:55 PM roycroft: toreys are polling in the low 20% range currently, not 17%
01:56 PM roycroft: labour are polling at 48%
01:56 PM roycroft: labour have been leading in every single poll since december 2021
01:59 PM Rab_: -<_?*0FYiaZ2Uk@D5hLU\bpB{
01:59 PM roycroft: hey! that's my password! how did you steal it?
02:00 PM Rab_: -_-;
02:00 PM Rab_: You can have it back!
02:01 PM lcnc-relay: <JT> Hmm wifi quit working on my laptop
02:01 PM XXCoder: what its not 123456?
02:01 PM XXCoder: just like certain presidents luggage
02:02 PM lcnc-relay: <JT> It shows I'm connected but can't load anything
02:02 PM XXCoder: broken dns?
02:03 PM lcnc-relay: <JT> Dunno, rebooted a few times
02:09 PM XXCoder: try ping 1.1.1.1
02:11 PM lcnc-relay: <JT> My key expired because of a reservation snafu
02:11 PM roycroft: did you reboot the wifi ap?
02:12 PM lcnc-relay: <JT> So I just have to wait for the hotel to restore internet
02:12 PM roycroft: i find i have to do that frequenly with the one that spectrum provided at the new house
02:12 PM roycroft: i'll be replacing it with my own when i move in
02:12 PM roycroft: oh, you'reÂat a hotel
02:13 PM lcnc-relay: <JT> Yup
02:13 PM lcnc-relay: <JT> How's your hand
02:13 PM roycroft: a cell phone that can be a personal hot spot is handy for that situation
02:13 PM roycroft: the cast should be off tomorrow
02:13 PM lcnc-relay: <JT> Nice
02:13 PM roycroft: i already have good movement and a very limited ability to lif†
02:14 PM roycroft: just being able to grasp something and hold it in place is pre†ty huge
02:15 PM roycroft: but i'll know better †omorrow after my doctor's appointment
02:16 PM CaptHindsight: XXCoder: hah, strong passwords are at least 8 digits :p
02:16 PM XXCoder: only 8?
02:20 PM * roycroft wonddrs if his arm will be all stinky and shrinky and wrinkley tomorrow
02:20 PM XXCoder: your other arm will look like you used it a lot in one application ;)
02:20 PM CaptHindsight: roycroft: don't let them fool you, they should using a cast saw and not a Sawzall for removal
02:22 PM CaptHindsight: https://www.youtube.com/watch?v=Bx1AiQdMQro&t=12s
02:24 PM Tom_L: JT i see you're about waste deep into it now instead of ankle
02:28 PM roycroft: it's a half cast
02:28 PM roycroft: more like a molded tray on the underside
02:28 PM roycroft: my arm is wrapped in cotton, the tray is fitted below, and it's all held in place with a big ace bandage
02:30 PM CaptHindsight: time really flies, it seems like you were just house shopping
02:30 PM XXCoder: interesting video
02:31 PM XXCoder: its been so many years since I last had cast so I cant remember remember how they removed it
02:33 PM CaptHindsight: he computes the shear and Young's modulus on various parts of his skin
02:33 PM XXCoder: its pretty near 40 years since last cast wow
02:33 PM XXCoder: if not over it
02:35 PM lcnc-relay: <JT> I bet, the wife is slowly healing
02:35 PM lcnc-relay: <JT> Dr said it could take up to a year for her spinal cord to fully heal
02:35 PM lcnc-relay: <JT> I'm connected to hotel internet without internet
02:36 PM XXCoder: fun
02:36 PM XXCoder: yeah some bones heal pretty quickly then take quite a long while to complete
02:36 PM roycroft: i'm told it may take up to a year to regain full strength in my wrist
02:37 PM XXCoder: my rib only took a week to be reasonable but over month later it "reset" itself. that was pretty hella sore
02:37 PM XXCoder: its how ribs fix itself and ensure it isnt too far off baseline
02:37 PM CaptHindsight: I had some soft tissue damage to a rib last year, even that took weeks to heal
02:38 PM Leeloo: In the HAL Oscilloscope, if I am working with encoder count "channel" how does level work with that? It's not a real voltage level, right?
02:39 PM Leeloo: Seems I can set this trigger level to under 5 only.
02:40 PM Leeloo: Not sure if I am doing this right - my though was to trigger when the count is, say, over 10,000.
02:41 PM Leeloo: Oh, never mind, I think - I can use Gain to get more.
02:46 PM Leeloo: I think I understand most of it, but, not sure why in the Single trigger it runs, then waits for a trigger, but after a while, even if it was not triggered, it decides that it was.
03:24 PM lcnc-relay: <JT> I've only used half scope on following error a long time ago
03:29 PM -!- #linuxcnc mode set to +v by ChanServ
03:29 PM lcnc-relay: <JT> Yea internet is back up
03:40 PM JT-Mobile: geometry = inifile.find("DISPLAY", "GEOMETRY") or "XYZABCUVW"
04:12 PM lcnc-relay: <skunkworks8841> You can see on the screen the 'trigger' level.. if it triggers you should see it going over the line
04:13 PM lcnc-relay: <skunkworks8841> Do you have the correct channel as the trigger
04:44 PM Tom_L: Each letter specified must occur in [TRAJ]COORDINATES to have an effect.
04:45 PM Tom_L: for GEOMETRY = XYZABCUVW
06:17 PM JT-Mobile: Tom_L, that's about class GLCanon(Translated, ArcsToSegmentsMixin):
06:17 PM JT-Mobile: lineno = -1
06:17 PM JT-Mobile: def __init__(self, colors, geometry, is_foam=0, foam_w=1.5, foam_z=0.0):
06:33 PM Tom_L: ok
06:35 PM JT-Mobile: yup just trying to figure out what to pass to GLCannon
06:35 PM Tom_L: seems you're making some progress
06:41 PM JT-Mobile: a step fwd two back lol
06:42 PM Tom_L: isn't that how progress works?
06:43 PM Tom_L: at least now you have somewhat of a direction
07:13 PM JT-Mobile: well I know a bit more about what I don't know
07:18 PM JT-Mobile: starting to head home tomorrow
07:18 PM JT-Mobile: found a little hole in the wall place called the Nook and breakfast was really great
07:32 PM Tom_L: some of those are better than chain places
07:33 PM JT-Mobile: say goodnight Gracie
10:30 PM roycroft: hello, folks
10:31 PM XXCoder: hey folk
10:31 PM roycroft: 12 hours until my doctor appointment
10:32 PM roycroft: i'm counting down the minutes
10:32 PM XXCoder: thats great way to slow time down'
10:39 PM roycroft: slowing down is good
11:00 PM Guest73: Hola
11:03 PM XXCoder: hi