#linuxcnc Logs
Mar 09 2024
#linuxcnc Calendar
03:15 AM solarwind: Moin
03:27 AM solarwind: Deejay HA BEAT YA TO IT
04:31 AM -!- #linuxcnc mode set to +v by ChanServ
04:31 AM JT-Cave: morning
05:06 AM Deejay: moin
05:09 AM Tom_L: morning
07:12 AM Tom_L: 33°F hi 52°F
07:14 AM Tom_L: sunny
07:14 AM Tom_L: looks like you're still gettin wet
07:15 AM JT-Cave: me? yup
07:15 AM Tom_L: you
07:16 AM JT-Cave: I did figure out why my stylesheet was not working... I was using QPushButton but my example had QToolButtons in the tool bar
07:17 AM Tom_L: woops
07:20 AM JT-Cave: yeah and I still feel like crap
07:28 AM Tom_L: flu?
07:32 AM JT-Cave: seems like it
07:37 AM Tom_L: what's the best way to run the examples?
07:44 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/flex_examples.png
07:44 AM Tom_L: 'yes'... but it doesn't
07:51 AM -!- #linuxcnc mode set to +v by ChanServ
07:51 AM Tom_dev: File "/usr/lib/python3/dist-packages/libflexgui/actions.py", line 11, in action_open
07:51 AM Tom_dev: fileName = QFileDialog.getOpenFileName(parent,
07:52 AM Tom_dev: TypeError: getOpenFileName(parent: typing.Optional[QWidget] = None, caption: str = '', directory: str = '', filter: str = '', initialFilter: str = '', options: Union[QFileDialog.Options, QFileDialog.Option] = 0): argument 1 has unexpected type 'flexgui'
07:56 AM JT-Cave: seems like you're out of date line 11 in actions is blank
07:56 AM Tom_L: just did a pull (i think)
07:56 AM Tom_L: i bet it's running the installed one
07:57 AM JT-Cave: prob
08:00 AM Tom_L: makes a big difference :)
08:01 AM Tom_L: file open crashes because it has no place to open it to
08:05 AM JT-Cave: ?
08:05 AM Tom_L: i'm just running it bare bones
08:06 AM JT-Cave: what's the error message
08:07 AM Tom_L: good question..
08:07 AM Tom_L: nothing, it just closes lcnc
08:07 AM Tom_L: ahh..
08:08 AM -!- #linuxcnc mode set to +v by ChanServ
08:08 AM Tom_dev: File "/usr/lib/python3/dist-packages/libflexgui/actions.py", line 66, in action_open
08:08 AM Tom_dev: if gcode_file: load_file(parent, gcode_file)
08:08 AM Tom_dev: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:08 AM Tom_dev: File "/usr/lib/python3/dist-packages/libflexgui/actions.py", line 47, in load_file
08:08 AM Tom_dev: parent.menuRecent.clear()
08:08 AM Tom_dev: ^^^^^^^^^^^^^^^^^
08:08 AM Tom_dev: AttributeError: 'flexgui' object has no attribute 'menuRecent'
08:09 AM JT-Cave: ok
08:09 AM JT-Cave: you have no menu?
08:09 AM Tom_L: i expected it not to work since there isn't a gcode widget yet
08:09 AM Tom_L: just the bare one you provide
08:09 AM Tom_L: no
08:09 AM JT-Cave: which one
08:11 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/flex_startup.png
08:13 AM JT-Cave: which example is that?
08:13 AM Tom_dev: i'm running the installed copy
08:13 AM Tom_dev: DISPLAY = flexgui
08:13 AM Tom_dev: INPUT = touch
08:13 AM Tom_dev: #QSS = touch.qss
08:13 AM Tom_dev: GUI = actions.ui
08:14 AM JT-Cave: https://pasteboard.co/Eit85ekEev6s.png
08:15 AM JT-Cave: that is actions.ui
08:15 AM Tom_L: i probably need to copy those ui files to the config dir
08:15 AM JT-Cave: https://pasteboard.co/xdBdTkWjvsKN.png
08:16 AM JT-Cave: delete configs/flex_examples
08:16 AM JT-Cave: then run flex again
08:16 AM JT-Cave: but I do need to fix that bug
08:16 AM Tom_L: it asks to copy the examples :)
08:17 AM Tom_dev: i'm also running a sim config
08:17 AM Tom_dev: i should put the ui files there
08:18 AM Tom_dev: that didn't help
08:19 AM Tom_dev: should i make a new sim pointing to the examples folder?
08:20 AM Tom_dev: yeah that took care of it
08:24 AM Tom_L: cool
08:34 AM Tom_L: you're making good progress
08:52 AM JT-Cave: the examples run without a sim running
08:55 AM Tom_L: i see that now
08:57 AM -!- #linuxcnc mode set to +v by ChanServ
09:08 AM Unterhaus_ is now known as Unterhausen
09:09 AM Unterhausen: I just got an email from a woodworking company where the links were just text. Nice looking email, like they paid a programmer to auto-generate it
09:10 AM Unterhausen: not sure I'm ready for a $90 plane blade, even if it's powdered metallurgy/cryo heat treated
09:10 AM lcnc-relay: <skunkworks8841> huh.. I don't remember tramming that vice.. but I must have...
09:11 AM Unterhausen: also, it's obviously blanchard ground, so it's going to be a pain to sharpen the first time
09:25 AM Tom_L: one drippy faucet fixed
09:26 AM * JT-Cave goes to clean chicken crap then a nap or two is in order
10:15 AM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/weeEnJOlxtgIZxMmXABHDfvk
10:18 AM lcnc-relay: <skunkworks8841> pretty much done I think
10:19 AM Tom_L: looks like it
10:37 AM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/DnVyRCCdhajKDjFCkGYOroYw
10:38 AM lcnc-relay: <big_kevin420> that ballscrew flange, is that a retrofit?
10:39 AM lcnc-relay: <skunkworks8841> yes
10:39 AM lcnc-relay: <skunkworks8841> emco compact 5
10:49 AM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/WzphGoAdyPIFMkbViukXWQmw
10:50 AM Tom_L: heavier screw
10:50 AM lcnc-relay: <skunkworks8841> big_kevin420 ^
10:50 AM lcnc-relay: <skunkworks8841> yes - 1204
10:51 AM lcnc-relay: <skunkworks8841> vs 8 something
10:53 AM lcnc-relay: <skunkworks8841> barely fits (I didn't want to modify the emco much)
10:55 AM lcnc-relay: <skunkworks8841> still have to make some more parts
10:59 AM bjorkint0sh: https://www.youtube.com/watch?v=oz6TUjSE5WU
10:59 AM lcnc-relay: <skunkworks8841> the original emco lead screw is from one we got recently - it had the turret. We think it was found in a junk yard - it certainly got wet and is a bit beat up
11:01 AM bjorkint0sh: https://www.youtube.com/watch?v=5r8RAypUX_c
11:10 AM skunkworks: bjorkint0sh: https://www.youtube.com/shorts/MgnygLgwHak
11:12 AM bjorkint0sh: What. The hell!!
11:12 AM bjorkint0sh: how does it do that skunkworks?
11:12 AM skunkworks: magic?
11:12 AM skunkworks: lol..
11:14 AM lcnc-relay: <skunkworks8841> the pressure is applied to 1/2 of both cylinder bottoms..
11:14 AM lcnc-relay: <skunkworks8841> then exausts out of the other 1/2
11:15 AM lcnc-relay: <skunkworks8841> (the spinny brass parts)
11:15 AM bjorkint0sh: https://www.youtube.com/watch?v=3eFmMi4eHCI
11:15 AM lcnc-relay: <skunkworks8841> yes
11:16 AM lcnc-relay: <skunkworks8841> I need to make a fly wheel for it some day
11:16 AM bjorkint0sh: wait, YOU did that??
11:17 AM lcnc-relay: <skunkworks8841> yes - in high school
11:17 AM bjorkint0sh: WAT????
11:19 AM lcnc-relay: <skunkworks8841> I didn't want to make a brass hammer...
11:24 AM lcnc-relay: <skunkworks8841> Recently found the plans I used also.. - from my grandfaters popular mechanic books
11:24 AM lcnc-relay: <skunkworks8841> https://books.google.com/books?id=P-MDAAAAMBAJ&lpg=PP1&pg=PA166#v=onepage&q&f=false
11:25 AM lcnc-relay: <skunkworks8841> grandfaters?
11:38 AM lcnc-relay: <big_kevin420> it used to be 8mm? leadscrew or ball?
11:38 AM lcnc-relay: <big_kevin420> basically grandfaters
11:39 AM lcnc-relay: <skunkworks8841> Used to be an 8mm ball screw
11:41 AM lcnc-relay: <skunkworks8841> Ok.. it is 8mm by 2.5 pitch
11:42 AM lcnc-relay: <skunkworks8841> 2.5mm
11:43 AM lcnc-relay: <skunkworks8841> Tiny.. not that 1204 is much bigger lol
11:49 AM bjorkint0sh: that is ridiculously cool.
11:53 AM lcnc-relay: <skunkworks8841> Thanks.. didn't even have access to a CNC back then... It would be so much easier now
11:56 AM lcnc-relay: <skunkworks8841> I am not super old .. this was late 80's
12:13 PM bjorkint0sh: you've had it around since that time?
12:18 PM lcnc-relay: <skunkworks8841> Yes.. lost it here and there.. but showed back up.. lol
01:26 PM XXCoder: nice. saw that assembled picture
01:59 PM XXCoder: good yorkshire today
02:38 PM Unterhausen: what does kicad call an optoisolator?
02:38 PM Unterhausen: isolator, duh
02:57 PM Loetmichel_: Unterhausen: that would be Optokoppler in german
02:57 PM Loetmichel_: basically an LED and a phototransistor/-triac in the same enclosure, usually 6 pin DIL
02:58 PM Unterhausen: I would have seen that, but there is nothing under "O"
02:58 PM Unterhausen: there is also a category for isolator_analog
02:58 PM Unterhausen: I just don't think of it as an isolator
02:59 PM Loetmichel_: ah, you mean whats an optoisolator is called IN Kicad? I misunderstood. I thought you meant its called that in the cad and you wanted to know what part it is.
02:59 PM Loetmichel_: my bad
03:00 PM Loetmichel_: have you tried searching for the usual part numbers? aka 4nxx or 6nxx?
03:22 PM XXCoder: "1/12 scale hornet nest" LOL on that joe video
03:23 PM XXCoder: it was casting fail that had one spot bumpy
03:25 PM XXCoder: i love that machining channel because of tricks he teaches
03:26 PM XXCoder: https://youtu.be/J1nkipR9_lA
03:27 PM XXCoder: rather than hiring 1/12 scale bug exterminators, he machined it off. probably cheaper
04:03 PM Roguish: oh joy, working on taxes with the wife.....
04:07 PM lcnc-relay: <oddname_skane> MESA 7i96S has RS485, can this be used with modbus for a vfd?
04:07 PM lcnc-relay: <oddname_skane> with the correct plugin of course
04:20 PM JT-Cave: Tom_L, it came to me like a vision all I need to do in status.py is look for a change in task_state
04:20 PM * JT-Cave thinks he will do his taxes after getting back from Spring Mountain
04:24 PM XXCoder: jt you know answer to oddnames question?
04:26 PM lcnc-relay: <oddname_skane> in theory it should work in my head atleast 😄
04:28 PM lcnc-relay: <oddname_skane> old post suggests no, but they pre-date https://linuxcnc.org/docs/2.9/html/drivers/mesa_modbus.html
04:29 PM JT-Shop: XXCoder pcw--home would know that
04:29 PM XXCoder: ok
04:31 PM XXCoder: interesting artisan make video today
04:38 PM JT-Shop: link
04:38 PM XXCoder: sure https://youtu.be/V1Y9yw9j_qI
04:44 PM bjorkint0sh: taxes.
04:44 PM * bjorkint0sh spits.
04:44 PM bjorkint0sh: though, wasn't linuxcnc started by the government?
04:44 PM JT-Shop: NIST
04:44 PM XXCoder: yup. your taxes paid for it
04:44 PM bjorkint0sh: well.
04:45 PM bjorkint0sh: some taxes!
04:45 PM JT-Shop: EMC is the official name
04:45 PM JT-Shop: Enhanced Machine Controller
04:45 PM bjorkint0sh: so that's maybe one good thing the government has spent money on.
04:45 PM bjorkint0sh: Ever!
04:53 PM JT-Shop: only 56 episodes left to watch until Arabella launches
04:55 PM * JT-Shop hopes he can sleep through the night tonight with only one shot of nyquil
05:15 PM Unterhausen: NIST is pretty useful. I'm surprised no company has tried to take it over, like they did with the national weather service
05:16 PM Unterhausen: little dog will not stop barking at me, getting on my nerves
05:17 PM JT-Shop: it you keep them in air tight boxes they are not annoying
05:18 PM bjorkint0sh: haha
05:35 PM Roguish: little yappy dogs....name 'em punt
05:38 PM Tom_L: what all does task_state keep track of?
05:39 PM XXCoder: create audio to power convertor
05:39 PM XXCoder: your house will never run out of power
05:40 PM JT-Shop: task_state
05:40 PM JT-Shop: (returns integer) - current task state. one of STATE_ESTOP, STATE_ESTOP_RESET, STATE_ON
05:42 PM Tom_L: do you use task_mode as well?
05:42 PM JT-Shop: yes for other things
05:42 PM JT-Shop: task_state is the one that will be used to enable/disable controls
05:43 PM Tom_L: ok
05:44 PM JT-Shop: it's the only way to react to something that changes task_state like joint limit switch
05:46 PM Tom_L: are the buttons active on actions.ui?
05:46 PM Tom_L: also
05:46 PM JT-Shop: do you mean enabled/disabled?
05:47 PM Tom_L: yeah
05:47 PM Tom_L: also
05:47 PM JT-Shop: no, that will be done in status.py
05:47 PM Tom_L: i opened a gcode file and it says "No G code file loaded"
05:47 PM Tom_L: an alternate suffix.. not ngc
05:48 PM Tom_L: same result with .ngc
05:48 PM Tom_L: that's in the actions.py one
05:48 PM JT-Shop: for open file?
05:48 PM Tom_L: yes
05:48 PM JT-Shop: I'll have to look in the am
05:48 PM JT-Shop: about to call it a day here
05:48 PM Tom_L: me too, just got in
05:49 PM Tom_L: at least the taxes are done though :)
05:49 PM JT-Shop: I've not even looked at mine
05:51 PM Tom_L: do you set somthing in the ui to set the size of the QPlainTextEdit boxes?
05:51 PM JT-Shop: no
05:51 PM JT-Shop: or you can
05:51 PM Tom_L: i tried to resize one and it keeps returning to what it was originally
05:52 PM Tom_L: added a horizontal spacer but that just cuts it in half
05:52 PM Tom_L: can't figure out how to move it randomly
05:52 PM Tom_L: i noticed that in jet too
05:52 PM Tom_L: maybe that's a 'feature'
05:53 PM JT-Shop: the size of a widget is usually the size of the container minus what else is in there
05:53 PM JT-Shop: a bit tricky sometimes to get what you want
05:53 PM Tom_L: so i see
05:54 PM Tom_L: designer kinda has a mind of it's own
05:55 PM JT-Shop: yup
05:56 PM Tom_L: i was gonna try to get the jet ui to work under flex but haven't had much time to work on it
05:56 PM Tom_L: i started one but i think it got written over
05:56 PM JT-Shop: sometimes you have to delete the layout and arrange stuff
05:59 PM Tom_L: is the list on the web up to date?
05:59 PM Tom_L: the widgets
05:59 PM JT-Shop: maybe close
05:59 PM * JT-Shop calls it a night
05:59 PM Tom_L: most are in startup.py right?
06:00 PM Tom_L: there or commands
06:04 PM JT-Cave: startup.py looks for the status items and puts them in a dictionary so status.py can update them in realtime without looking to see if they are there
06:05 PM Tom_L: i was just looking for a list of widget names more than anything
06:06 PM Tom_L: i figured startup would have most of them
06:09 PM JT-Cave: for status widgets?
06:12 PM Tom_L: for all widgets.. _lb _pb etc
06:15 PM JT-Cave: status is lb controls are pb
06:21 PM XXCoder: ohh blondihack video might be very good today. starting to watch
06:21 PM JT-Cave: Tom_L, https://youtu.be/ygUUsmtCauI
06:25 PM Tom_L: nice
06:26 PM Tom_L: that's done with task_state right?
06:33 PM lcnc-relay: <skunkworks8841> https://www.youtube.com/watch?v=oVgmFaL4zbU
06:34 PM lcnc-relay: <skunkworks8841> trying to sell it.. Boy it has a few issues. (dad bought it when he was fighting cancer)
06:37 PM lcnc-relay: <skunkworks8841> It is so tiny.. I look so big on it..
06:37 PM Tom_L: tonka
06:37 PM lcnc-relay: <skunkworks8841> yes.. Kinda..
06:38 PM lcnc-relay: <skunkworks8841> my daughter does slightly better filming than my mother..
06:56 PM XXCoder: spotted something that woofs
07:02 PM XXCoder: weird video https://youtu.be/UZQXPLfOPXc
07:02 PM XXCoder: camera inside tire
07:06 PM XXCoder: dont really care about beads thing but its interesting to see how tire flexs inside
07:24 PM XXCoder: good clickspring video out today. it was patreon only
07:25 PM XXCoder: sat is my favorite day honestly. usually bunch of machinist videos
07:25 PM XXCoder: second most videos is on friday
07:53 PM lcnc-relay: <skunkworks8841> Me too..
09:30 PM roycroft: i really liked the funky spring video
09:31 PM roycroft: what's the subject matter of the new one?
10:35 PM lcnc-relay: <big_kevin420> if that bead video is correct, should i put sand in my spindle so it never vibrates?
10:35 PM roycroft: be sure to pack the spindle bearings with it to support them well
10:54 PM XXCoder: roy which one? if clickspring its the dail indictior
11:04 PM roycroft: oh, that one is not patreon only
11:05 PM roycroft: i haven't watched it yet, but it's on youtube
11:07 PM XXCoder: yeah. it was patreon video that was mnoved to public