#linuxcnc Logs
Nov 24 2024
#linuxcnc Calendar
12:36 AM -!- #linuxcnc mode set to +v by ChanServ
12:56 AM xxcoder: finally semi-stable connection
12:57 AM xxcoder: roycroft: awesome :)
12:57 AM xxcoder: gonna love using discord to catch up..
01:03 AM Deejay: moin
01:05 AM memleak: hi Deejay
01:37 AM roycroft: alice brock has left the building :(
01:39 AM roycroft: and right before a thanksgiving dinner that couldn't be beat
02:42 AM memleak: sorry to hear.
03:11 AM memleak: JT-Shop, what is this? https://jauriarts.org/_matrix/media/v3/download/matrix.org/VqAKAScYEqEQeqNOQifTUDnl/1000002612.jpg
04:55 AM -!- #linuxcnc mode set to +v by ChanServ
05:14 AM lcnc-relay: <travis_farmer@discord> Morning
05:21 AM -!- #linuxcnc mode set to +v by ChanServ
05:27 AM -!- #linuxcnc mode set to +v by ChanServ
05:48 AM Tom_L: morning
07:41 AM JT-Cave: rdtsc_away, https://gnipsel.com/linuxcnc/flexgui/parameters.html
08:24 AM JT-Cave: https://youtu.be/sDwa3R1hEe4
09:14 AM rdtsc_away is now known as rdtsc
09:14 AM rdtsc: memleak, something he's working on for a client
09:16 AM rdtsc: Nice JT! :)
09:49 AM JT-Shop: rdtsc, setting parameter values is fixed and watching parameter values as well. Note the doc name was wrong for watching
10:00 AM rdtsc: corrected .ui, pulled and rebuilt .deb, working well :) now seeing how I can display DRO with +/- tool diameter; looking into .py include, gonna take some studying
10:09 AM JT-Shop: cool
10:15 AM roycroft: i'm about to head to the old place to clear out an outbuilding
10:15 AM roycroft: when i get back i'm going to start remodeling that cabinet - i hope i did not glue it together
10:16 AM roycroft: it was a kit from a big box store, and came with skd fasteners
10:16 AM roycroft: but i have a bad habit of gluing stuff like that anyway
10:16 AM roycroft: if i did glue it then it's going to be a tough remodel
10:16 AM Tom_L: yeah cause you didn't just glue it, you GLUED it
10:17 AM roycroft: i tend to make things sturdy
10:18 AM Tom_L: if it don't squirt out when you clamp it, it wasn't enough
10:21 AM roycroft: my hope is that since they're made of melamine, which requires a special glue that i don't stock, i just used the skd fasteners
10:22 AM roycroft: sometimes when build custom cabinets from melamine and they have to be really strong, i'll take a router and remove the melamine at the glue joint so i can use regular wood glue
10:22 AM roycroft: there are no signs that i did that with these cabinets
10:23 AM roycroft: and no, i'm not king's fine woodworking
10:23 AM roycroft: the owners of titebond do not know my by name, and do not drop ship product to me by the pallet
10:24 AM * roycroft is of the use the correct amout of glue school
10:27 AM roycroft: i have some white melamine edge banding, but it's in a box somewhere
10:27 AM roycroft: so i guess i'll go buy some more today
10:28 AM roycroft: or maybe just paint the newly-exposed edges white, since these cabinets are in a work room, and not a living room
10:29 AM roycroft: it will just be two raw edges on the top of the cabinet - not visible without going up on a ladder to look at them
10:32 AM lcnc-relay: <skunkworks8841@discord> https://www.youtube.com/watch?v=Fe1wYwGcjlo
10:37 AM roycroft: oh, cool - it's working finally
10:37 AM * roycroft does not have time for a 30 minute video right now, but will watch it this evening
10:38 AM Tom_L: does it run linuxcnc?
10:39 AM roycroft: maybe if you reprogrammed linuxcnc in machine language
11:00 AM rdtsc is now known as rdtsc_away
11:22 AM * JT-Shop is down to mounting and wiring up the door switch on the enclosure
11:46 AM JT-Cave: nap time here
11:52 AM rdtsc_away is now known as rdtsc
02:32 PM rdtsc: JT, in an import .py, can one get/setup a callback to run a function from that file every 0.1s? have python calculating dro with +/- tool diameter, but no way to update the screen regularly
02:32 PM rdtsc: https://pasteboard.co/kr4Iv1DirwXV.png
02:32 PM rdtsc: https://paste.debian.net/1336681/
02:35 PM Tom_L: what if you sent the result to a var then watched the var in the ui?
02:35 PM Tom_L: you'd have to write to the .var file #somenumber
02:36 PM rdtsc: tried that; there is a 0.5s delay
02:36 PM Tom_L: flex monitors the vars for updates
02:36 PM Tom_L: you could modify that for your copy
02:36 PM Tom_L: the delay
02:37 PM rdtsc: and that might wear out the flash card prematurely lol
02:37 PM Tom_L: ahh you're on a rpi
02:37 PM Tom_L: are you still using my example rpi?
02:38 PM Tom_L: i'm wondering if i should add the drill ops to that example
02:38 PM Tom_L: they're already in tp3
02:38 PM rdtsc: been trying to keep up with the updated-updates, but it's always a moving target lol
02:40 PM Tom_L: right now i'm inclined to leave them out
02:41 PM acer: installing the Y/bed axis liner rail upgrade for my ender
02:42 PM acer: so tired of it failing prints because of the POS wheel/bearing setup that wears fast.
02:42 PM acer is now known as _unreal_
02:43 PM rdtsc: or you have an ender also? haven't used mine in awhile... last "repair" was a leaking heat brake joint - made quite a mess
02:46 PM rdtsc: Tom it'll be like a snap-ring plyer... not needed 99% of the time, but the one time you do need it, will be helpful :)
02:47 PM rdtsc: modded my ender to the moon and back... have LED strip lighting in the uprights
02:48 PM rdtsc is now known as rdtsc_away
03:07 PM -!- #linuxcnc mode set to +v by ChanServ
03:15 PM JT-Shop: rdtsc_away, add a time out to parent.timer.timeout
03:15 PM JT-Shop: https://github.com/jethornton/flexgui/blob/1.0.3/flexgui/src/flexgui#L210
03:15 PM JT-Shop: 10ms timer
03:24 PM -!- #linuxcnc mode set to +v by ChanServ
03:26 PM JT-Shop: parent.timer.timeout.connect(your_function)
03:29 PM rdtsc_away is now known as rdtsc
03:41 PM JT-Shop: rdtsc, ^^
03:51 PM rdtsc: that worked JT, was able to hook into var_watch_timer at 0.1s :)
03:57 PM JT-Shop: cool
03:57 PM rdtsc: seeing if there is a .disconnect method for it
03:58 PM JT-Shop: I've never tried to disconnect
04:00 PM rdtsc: parent.var_watch_timer.timeout.connect(partial(toolrad, parent)) works to connect
04:01 PM rdtsc: parent.var_watch_timer.timeout.connect(partial(toolrad, parent)) faults in TypeError: 'functools.partial' object is not connected
04:01 PM rdtsc: *except .disconnect, silly copying and pasting between screens lol
04:04 PM rdtsc: yeah it's funny... docs like https://doc.qt.io/qtforpython-5/PySide2/QtCore/QTimer.html go to great lengths to explain how to start and use one, but no mention of how to stop one
04:04 PM rdtsc: oh well, not a big deal :)
04:15 PM JT-Shop: try parent.var_watch_timer.disconnect(toolrad)
04:16 PM JT-Shop: partial allows you to pass things
04:19 PM _unreal_: figures I am about 99% done but I cant find my rail alignment jig. I'm going to0 have t build an other one :(
04:19 PM _unreal_: sigh
04:24 PM rdtsc: parent.var_watch_timer.timeout.disconnect(partial(toolrad, parent)) --> TypeError: 'functools.partial' object is not connected
04:24 PM rdtsc: parent.var_watch_timer.timeout.disconnect(toolrad(parent)) --> TypeError: argument 1 has unexpected type 'NoneType'
04:24 PM rdtsc: parent.var_watch_timer.timeout.disconnect(toolrad) --> TypeError: 'function' object is not connected
04:30 PM JT-Shop: hmm
04:31 PM JT-Shop: # Disconnect the function from the signal
04:31 PM JT-Shop: mySignal.disconnect(myFunction)
04:31 PM JT-Shop: https://www.google.com/search?client=firefox-b-1-e&q=pyqt+disconnect+a+function
04:34 PM JT-Shop: you might end up disconnecting the timer...
04:34 PM rdtsc: don't want to do that :)
04:40 PM rdtsc: ok well modifying my toggle button to be a latch button - reload to turn it off. not as elegant, but should be a seldom-used feature anyways
04:47 PM memleak: rdtsc, I meant specifically. A controller?
04:49 PM memleak: i think i see power supplies.
04:49 PM Tom_L: timer.stop() ?
04:50 PM Tom_L: timer = QTimer()
04:50 PM Tom_L: timer.stop()
04:51 PM JT-Shop: you don't want to stop the flex timers
04:51 PM JT-Shop: or flex stops working
04:51 PM Tom_L: that would be a bad idea
04:52 PM Tom_L: snapshot where you want it to stop and reset the time to that to restart it? some thing along those lines
04:53 PM Tom_L: i'm not sure what he's trying to do though
04:55 PM JT-Shop: you don't want to mess with the timers at all he was just connecting to the timer timeout and for some reason wanted to disconnect it after
04:56 PM Tom_L: oh
04:57 PM rdtsc: it's just because the Rpi4 is so time-constrained; system is slightly more laggy when my code runs every 0.1s - would have been nice to toggle it off, but not a big deal. changed the button to a latch which reads "reboot to disable" lol
04:58 PM Tom_L: get a rpi5 :)
04:58 PM Tom_L: i hear it's alot more robust
04:58 PM rdtsc: can't with 7c80, spi
04:58 PM Tom_L: 5 doesn't have spi?
04:58 PM rdtsc: would love to. it does, but incompatible
04:59 PM Tom_L: i tested spi on the rpi4 way way back when..
04:59 PM Tom_L: in what way? you got miso mosi sck and ss
05:00 PM rdtsc: the driver won't work, because they updated the chip internal
05:00 PM Tom_L: i thought spi was supposed to be somewhat universal
05:00 PM Tom_L: ahh
05:00 PM Tom_L: well thank them for that ehh...
05:01 PM rdtsc: well they said they may make the interface known at some time in the future... how long that will take is anyones guess
05:01 PM Tom_L: after it's outdated
05:01 PM Tom_L: ethernet..
05:01 PM Tom_L: but you'd have to swap mesa boards
05:01 PM rdtsc: I was hoping the linuxcnc gurus would get an exception, but alas no
05:02 PM rdtsc: thought about it... something beefier with ethernet... but sank so much time into this so far
05:03 PM Tom_L: 7i96s
05:04 PM Tom_L: good all around board
05:04 PM Tom_L: you know you can't have too many mesa boards
05:05 PM rdtsc: just look at JT - he's got a warehouse of them! :)
05:05 PM Tom_L: yeah but he's willing to share
05:05 PM rdtsc: true, just not to Google :)
05:13 PM rdtsc is now known as rdtsc_away
05:19 PM JT-Shop: the google bot is not banned the google shopper john smith is banned because it kept placing 20 orders and not paying
05:20 PM xxcoder: geez
05:20 PM xxcoder: it must be screwing with metrics
05:20 PM JT-Shop: some crap about checking prices for google hosted stores or some crap like that
05:26 PM Tom_L: would a slot routine be handy?
05:27 PM JT-Shop: yup
05:28 PM Tom_L: i'll think on it some then
05:31 PM JT-Shop: https://forum.linuxcnc.org/41-guis/54540-flex-gui-hole-ops#315194
05:31 PM JT-Shop: you got a complement
05:41 PM Tom_L: hah
06:12 PM * roycroft is back
06:12 PM roycroft: one empty outbuilding :)
06:13 PM roycroft: two more to go
06:28 PM JT-Shop: sounds like you need to have a yard sale
06:28 PM * JT-Shop hopes the door switch location #3 is the magic location
06:38 PM roycroft: i do
06:38 PM roycroft: several, actually
06:38 PM roycroft: if i can find a place to store the stuff until the rainy season is mostly over
06:39 PM roycroft: my storage units are mostly full of garage sale stuff, and i can't afford a third one
06:54 PM JT-Cave: well it looks like location #3 is golden for the door switch
06:57 PM lcnc-relay: <big_kevin420@discord> @Tom_L it has to do with the new chip they use to manage io stuff
06:57 PM lcnc-relay: <big_kevin420@discord> instead of using the bropadcom SPI its using a new RP1 chip to do SPI
06:57 PM lcnc-relay: <big_kevin420@discord> so the hm2_rpspi needs an update
06:57 PM lcnc-relay: <big_kevin420@discord> https://github.com/scottalford75/Remora/tree/main/LinuxCNC/Components/Remora-spi
06:58 PM lcnc-relay: <big_kevin420@discord> https://github.com/scottalford75/Remora/tree/main/LinuxCNC/Components/Remora-spi
06:58 PM lcnc-relay: <big_kevin420@discord> time to go full circle, and update the hm2_rpspi based on remora which was based on rpspi
07:24 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/slot_mill.mkv
07:24 PM xxcoder: shoot me please, someone. pain-free if possible
07:25 PM xxcoder: had shopped at 2 places, and had to carry 5 bags to home
07:25 PM xxcoder: vry very tired lol
09:51 PM roycroft: i did not get the cabinet cut down today, but i cleared off the top of my table saw and otherwise tidied up the shop so that i can actually do the work
09:53 PM xxcoder: lol fun. gonna have working spaces to work
09:54 PM roycroft: things are starting to come together
09:55 PM xxcoder: I finally had to go out to buy food, my home was virtually out of food
10:04 PM roycroft: i did some grocery shopping today on my way back from town
10:05 PM xxcoder: winco sushi today. yum.
10:05 PM xxcoder: also found frozen sushi at joes. dunno if any good but I generally like their frozen food so trying it
11:11 PM tofohty3 is now known as tofohty