#linuxcnc Logs

Nov 08 2024

#linuxcnc Calendar

12:59 AM Deejay: moin
01:44 AM lcnc-relay: <knoxmachining@discord> Iā€™m 49, and have to take my glasses off to see up close. Then got cataract surgery. Had them correct me the same because I work on the computer and do up close work.
03:55 AM -!- #linuxcnc mode set to +v by ChanServ
04:12 AM JT-Cave: morning
04:16 AM memleak: hi JT-Cave!
04:18 AM JT-Cave: how's it going
04:18 AM memleak: im good! you?
04:19 AM JT-Cave: doing good here
04:20 AM JT-Cave: I'm thinking I'm done doing big projects after I finish this one
04:21 AM JT-Cave: have you seen Flex GUI?
04:26 AM memleak: i have not.
04:30 AM JT-Cave: https://gnipsel.com/linuxcnc/flexgui/index.html
04:30 AM JT-Cave: https://www.youtube.com/playlist?list=PLzYeNVt9042LBAsRGVDCtpW9_7ZXiSTak
04:36 AM lcnc-relay: <meisterdippel@discord> before and after šŸ™‚
04:36 AM lcnc-relay: <meisterdippel@discord> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/SGzLTgIyquThfvkXqdCRRWRI/rv-e2_1.jpg
04:36 AM lcnc-relay: <meisterdippel@discord> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/sHEQiXfdtTrBoeRasrpFDTdd/rv-e2_2.jpg
04:36 AM lcnc-relay: <meisterdippel@discord> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/xPiSDeqyKXidPXESvcHacoFk/rv-e2_before.jpg
04:47 AM Tom_L: morning
04:55 AM Tom_L: rain & 47F
05:05 AM Tom_L: JT-Cave, the tutorials with each section is a nice touch
05:07 AM JT-Cave: thanks
06:07 AM lcnc-relay: <travis_farmer@discord> Morning
06:07 AM lcnc-relay: Happy Birthday to me..
06:08 AM mrec: https://s3.amazonaws.com/i.snag.gy/6EOV0n.jpg coolant pump before (don't have a better picture here)
06:12 AM mrec: https://s3.amazonaws.com/i.snag.gy/X4ZgYQ.jpg coolant pump disassembled now
06:12 AM mrec: it was covered with oil, dust and steel chip in a manual milling shop
06:16 AM mrec: they were so generous to give us some extra screws, someone dropped them inside the motor; below the terminal connector there's a large hole where the leads come out
07:26 AM Tom_L: JT-Cave, trying to figure out a way to read the number vars back into the ui. i have them saved from the ui to the num vars now
07:28 AM JT-Cave: cool, how did you do that
07:28 AM Tom_L: sub
07:28 AM Tom_L: set vars button
07:29 AM Tom_L: but i want to figure out how to trip that button any time a var changes in the ui
07:29 AM Tom_L: that was why i was looking at the signal slot editor
07:30 AM -!- #linuxcnc mode set to +v by ChanServ
07:31 AM Tom_dev: to the num vars: #2000 = #<_hal[flexhal.probe_search_feed]>
07:31 AM Tom_L: but you have to create the vars in the file ahead or they're not persistent
07:32 AM Tom_L: then switch modes or they don't get written right away
07:32 AM Tom_L: haven't figured out how to automate mode switch to manual and back to mdi yet
07:33 AM Tom_L: that trips an immediate write
07:33 AM JT-Cave: task_plan_sync()
07:33 AM JT-Cave: On completion of this call, the VAR file on disk is updated with live values from the interpreter.
07:33 AM Tom_L: that sounds like python to me :)
07:34 AM JT-Cave: yup
07:34 AM Tom_L: i tried to figure out a way to do that within the sub
07:36 AM Tom_dev: https://forum.linuxcnc.org/38-general-linuxcnc-questions/51226-setting-machine-mode-back-to-manual-in-gcode-subroutine
07:36 AM Tom_dev: found that
07:38 AM JT-Cave: https://github.com/jethornton/flexgui/blob/1.0.2/flexgui/src/libflexgui/status.py#L134
07:42 AM JT-Cave: https://pasteboard.co/gIJb7m6a1tk7.png
08:03 AM Tom_dev: the problem with slots is to change the parameters you have to be in probe mode which disables the mdi button to update the parameters
08:03 AM JT-Cave: probe mode will not disable an object with the object name that starts with probe_
08:03 AM Tom_dev: right
08:03 AM Tom_dev: but
08:04 AM Tom_L: :)
08:05 AM Tom_L: i think the vars are float though which shouldn't make a difference
08:05 AM JT-Cave: only works with a QSpinBox at the moment
08:05 AM Tom_L: isn't that what i'm using?
08:05 AM JT-Cave: but might work with a QDoubleSpinBox
08:05 AM Tom_dev: yeah i'm using the double
08:05 AM Tom_dev: what's the difference? precision?
08:06 AM JT-Cave: https://github.com/jethornton/flexgui/blob/master/flexgui/src/libflexgui/status.py#L282
08:06 AM Tom_dev: ok
08:06 AM JT-Cave: QSpinBox is int and QDoubleSpinBox is float
08:07 AM * JT-Cave starts his chicken day
08:07 AM Tom_dev: are they both in the Qabstractspinbox group?
08:07 AM JT-Cave: yes
08:07 AM Tom_dev: i'll try it
08:07 AM JT-Cave: ok
08:07 AM Tom_dev: you want a deb too?
08:12 AM Tom_L: PR #175
08:24 AM Tom_L: still get the IO error
08:25 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/HAL_IO_error.png
08:25 AM Tom_L: tried the QSpinBox too
08:28 AM Tom_L: ahh the function name changed
08:29 AM Tom_L: from hal_pin to hal_io
08:30 AM Tom_L: still not getting a pin in hal show
08:38 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/test_io_settings.png
08:38 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/hal_show_test_io.png
08:39 AM JT-Cave: did you pull?
08:40 AM Tom_L: i did
08:40 AM Tom_L: i'm trying once more
08:42 AM Tom_L: i had U32 not S32.. maybe that was it
08:42 AM Tom_L: the pin is there now
08:46 AM Tom_L: works on float too
08:47 AM Tom_L: had a limit set on one and setp above the limit and the result was the limit value
08:48 AM Tom_L: but it still worked
08:49 AM lcnc-relay: <onceloved.cn@discord> Is the value of servo-thread.tmax the sum of all the above values?
08:49 AM lcnc-relay: <onceloved.cn@discord> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/szeZGnNDDiHAymJGANxSeIOb/FFN2BM65PJ0EZOH3U.png
08:50 AM Tom_L: JT-Cave, works on QDoubleSpinbox too
08:51 AM Tom_L: now i need to call an mdi function on startup to set the values
08:51 AM Tom_L: isn't there a pre' hal file you can run for that?
08:51 AM Tom_L: i've never used one
08:52 AM Tom_L: i know there's a post .hal
08:52 AM lcnc-relay: <skunkworks8841@discord> onceloved.cn@discord Not sure.. But also remember - I think those are in clock cycles.
08:54 AM lcnc-relay: <onceloved.cn@discord> I added it up and it seems that it is not much different from servo-thread.tmax.
08:55 AM lcnc-relay: <skunkworks8841@discord> my guess is that it will be larger than the sum of all the functions tmax by some latency amount.
08:56 AM lcnc-relay: <onceloved.cn@discord> Yes, the total is a little larger than servo-thread.tmax
09:01 AM Tom_L: the problem with using a tcl file on startup is the flexhal pins aren't defined yet :/
09:01 AM Tom_L: JT-Cave, any ideas?
09:02 AM Tom_L: tried a setp in a tcl file on startup to set the probe parameters from the #number ones
09:05 AM -!- #linuxcnc mode set to +v by ChanServ
09:05 AM JT-Shop: any hal has to be done in the postgui.hal file
09:15 AM Tom_L: i suppose that would work too
10:17 AM * roycroft is heading off to pdx to meet up with xxcoder today
10:17 AM roycroft: should be interesting
10:36 AM lcnc-relay: <roguish> roycroft: thougght you'd be in hiding after Tuesday....
10:45 AM Tom_L: can a tcl file be used as an postgui.hal?
10:53 AM lcnc-relay: <roguish> fuck.. power company is here,. they gotta change out the meter. gotta shutdown everyghing.
10:58 AM Tom_L: lcvette
11:02 AM JT-Shop: Tom_L, you should be able to source the tcl file in postgui.hal
11:03 AM Tom_L: the command doesn't work for me though
11:03 AM Tom_L: can't seem to access the numbered parameter
11:03 AM Tom_L: nor in hal show
11:04 AM -!- #linuxcnc mode set to +v by ChanServ
11:04 AM Tom_dev: setp flexhal.probe_search_feed #<2000>
11:04 AM Tom_L: for example
11:04 AM Tom_L: if you give it a number it sets it fine
11:06 AM JT-Shop: http://linuxcnc.org/docs/stable/html/gcode/overview.html#gcode:expressions
11:12 AM JT-Shop: nap time
11:15 AM lcnc-relay: <roguish> that's all done....
11:19 AM lcnc-relay: <Lcvette> Yo
11:19 AM lcnc-relay: <roguish> Tom_dev: Tom, how's the probing coming along ??
11:20 AM lcnc-relay: <roguish> Lcvette: hey Chris. you're becoming quite the programmer....
11:20 AM Tom_L: unable to load from number vars on startup
11:21 AM lcnc-relay: <Lcvette> yeah thats tricky
11:22 AM lcnc-relay: <roguish> Tom_L: how about setting up a little gcode program to read the .var variables , run the program at startup
11:22 AM Tom_L: been there done that
11:22 AM Tom_L: i can do it from a button but don't want to
11:23 AM Tom_L: well actually that is saving to the num vars but i'm working on reloading them
11:23 AM Tom_L: saving to num vars is easy
11:23 AM lcnc-relay: <Lcvette> PB doesn't populate fromt he var it retains via the pickle file
11:24 AM lcnc-relay: <Lcvette> using settings widgets to store the user entered data and populates on startup
11:25 AM lcnc-relay: <Lcvette> this is not perfect, if you bring in a fresh un updated var that is zeroed out, the ui will reflect the stored pickle file data and display it while the var does not match
11:25 AM Tom_L: lcvette, i still don't understand what the #1 is for in #<probe_tool_number_3014> = #1
11:25 AM lcnc-relay: <roguish> Tom_L: qtdragon uses a preferences file. for a lot of variables.
11:25 AM lcnc-relay: <Lcvette> this is only ever an issue if you wipe the var out completely for some reason, other than that it remains synched fine
11:25 AM lcnc-relay: <Lcvette> that is how the ui entries are passed
11:26 AM Tom_L: passed to what?
11:26 AM lcnc-relay: <Lcvette> the "#1"
11:27 AM lcnc-relay: <Lcvette> #1 = (now equals the value from the named ui widget)
11:27 AM Tom_L: i get that but what does it do with it
11:28 AM lcnc-relay: <Lcvette> im not sure i understand what you are aksing?
11:28 AM Tom_L: nevermind
11:28 AM lcnc-relay: <Lcvette> maybe extend your question a little so i can better answer
11:28 AM Tom_L: i doubt it would work in pyqt anyway
11:29 AM lcnc-relay: <Lcvette> it makes it available in the subroutine
11:29 AM Tom_L: in: #<probe_tool_number_3014> = #1, #<probe_tool_number_3014> is assigned the value in #1
11:29 AM Tom_L: where does #1 get it from?
11:29 AM lcnc-relay: <Lcvette> correct
11:30 AM lcnc-relay: <Lcvette> the named widget
11:30 AM lcnc-relay: <sodakaustik@discord> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/daqmrpRmTspYOhuQNhSsGXKY/20241108_152629.jpg
11:30 AM Tom_L: as i see it, #1 is a number var
11:30 AM lcnc-relay: <Lcvette> the line edit in the ui is that name
11:30 AM Tom_L: ok
11:31 AM lcnc-relay: <Lcvette> this is a way to pass the ui values to the subroutine
11:31 AM Tom_L: i was thinking the widget name was probe_tool_number_3014
11:31 AM lcnc-relay: <Lcvette> it is
11:31 AM Tom_L: you just said it was named #1
11:31 AM lcnc-relay: <Lcvette> #<> calls it at the top of the subroutine
11:31 AM lcnc-relay: <Lcvette> #1 is just a place holder
11:32 AM lcnc-relay: <Lcvette> for the passed value
11:32 AM lcnc-relay: <travis_farmer@discord> http://linuxcnc.org/docs/stable/html/gcode/overview.html#sub:numbered-parameters
11:32 AM lcnc-relay: Numbered Parameters Persistence -> "Parameters in the user-defined range (31-5000) may be added to this file. Such parameters will be read by the Interpreter and written to the file as it exits."
11:32 AM Tom_L: the sub i'm looking at saves the named vars to the var file
11:32 AM Tom_L: not vise versa
11:33 AM lcnc-relay: <Lcvette> #<> this calls
11:33 AM lcnc-relay: probe_tool_number_3014 this
11:33 AM lcnc-relay: #1 is where the value called is assigned to define it
11:33 AM lcnc-relay: <Lcvette> its doing both
11:33 AM lcnc-relay: <Lcvette> its passing the values to the sub and then in turn assigning the values into the var file params
11:33 AM Tom_L: that seems a bit convoluted
11:34 AM lcnc-relay: <Lcvette> sure
11:34 AM Tom_L: so you call that sub any time a var changes?
11:34 AM lcnc-relay: <Lcvette> its not ideal but its work around to solve other issues that were more important than the method
11:34 AM lcnc-relay: <Lcvette> that sub writes to the var
11:34 AM lcnc-relay: <Lcvette> not th reverse
11:35 AM Tom_L: lunch.
11:36 AM Tom_L: thanks for the explination
11:56 AM JT-Cave: 1-30 Subroutine local parameters of call arguments. These parameters are local to the subroutine. Volatile
12:03 PM Tom_L: i set it aside for a while
12:19 PM Tom_L: too many interruptions here
12:46 PM lcnc-relay: <travis_farmer@discord> happy birthday to me... šŸ™‚
01:09 PM Tom_L: still raining
01:10 PM lcnc-relay: <skunkworks8841@discord> Happy birthday!
01:20 PM lcnc-relay: <travis_farmer@discord> Thanks! šŸ™‚
01:42 PM lcnc-relay: <TurBoss> happy birthday!
01:48 PM lcnc-relay: <travis_farmer@discord> Thanks!
01:49 PM Rab: Happy Birthday, travis_farmer!
01:49 PM lcnc-relay: <travis_farmer@discord> Thank You!
02:03 PM Rab: Anybody used the CAM workbench in FreeCAD? I successfully created a CAM job with various operations, but they all have the same central start and end point. I wonder if there's a way to link them together and optimize for shortest path between ops.
02:04 PM Rab: I could edit the gcode by hand to take out those moves, but...
02:12 PM lcnc-relay: <JT> Tom_L do you just need to get the value of a user numbered parameter at start up and put that value into a spin box or line edit?
02:13 PM lcnc-relay: <JT> Travis happy Birthday
02:18 PM lcnc-relay: <travis_farmer@discord> Thank You! šŸ™‚
02:31 PM Tom_L: jt yes
02:32 PM Tom_L: double spinbox float
02:32 PM Tom_L: rain makes naps better :)
02:34 PM lcnc-relay: <JT> That should be easy to program using dynamic properties
02:35 PM Tom_L: if it works
02:35 PM lcnc-relay: <knoxmachining@discord> @Rab That's only the simulator view. It doesn't go back to the origin point after every op.
02:36 PM lcnc-relay: <knoxmachining@discord> Take a look at the g-code it creates or better yet, just load the file.
02:36 PM lcnc-relay: <JT> Well I have to program it first LOL
02:37 PM lcnc-relay: <JT> Function read_var
02:37 PM lcnc-relay: <JT> #1234
02:37 PM Tom_L: i've found plenty of dead ends
02:37 PM lcnc-relay: <JT> I'll add it in the morning
02:38 PM -!- #linuxcnc mode set to +v by ChanServ
02:39 PM Tom_dev: basically trying to get something like this: #<flexhal.probe_fine_feed> = [#2001]
02:40 PM lcnc-relay: <JT> Copy a numbered variable to a named variable?
02:40 PM Tom_L: yes from the .var file
02:41 PM Tom_L: you have to create the var in the .var file for it to be persistent first
02:41 PM lcnc-relay: <JT> Or just set the dblspinbox value at startup
02:41 PM lcnc-relay: <JT> Yup
02:41 PM Tom_L: whatever gets from point A to point B
02:42 PM lcnc-relay: <JT> Ok, it's doable
02:42 PM Tom_L: the other direction was easy
02:42 PM Tom_L: it would be nice if you could switch modes in a subroutine too to refresh the .var file when writing the values out
02:43 PM Tom_L: i made a button for it while testing
02:43 PM lcnc-relay: <JT> You could have a button to do that
02:43 PM Tom_L: i don't think that's doable
02:43 PM Tom_L: i have one
02:43 PM Tom_L: and it works great
02:44 PM Rab: <knoxmachining@discord>, I ran the simulator and you're right. Thanks!
02:44 PM Tom_L: i tried using slots to trip the button on start but didn't spend much time on that
02:44 PM lcnc-relay: <JT> Let me code it up for you
02:44 PM Tom_L: thanks
02:46 PM Tom_L: i'll likely have to edit all the subs once it's working and change them all to numbered parameters
02:46 PM Tom_L: alot of them are already
02:47 PM Tom_L: also if a var is edited it should update the .var file live
02:47 PM Tom_L: that (i think) is how PB works
02:48 PM Tom_L: they used slots for that i believe
02:48 PM lcnc-relay: <JT> Magic
02:50 PM lcnc-relay: <JT> Heading to 12 West
02:50 PM Tom_L: i renamed the widget names so they're not disabled with probing
02:50 PM Tom_L: just the probe routines need that anyway
02:52 PM lcnc-relay: <JT> https://jauriarts.org/_matrix/media/v3/download/matrix.org/HaPhJBYkfNhDTFSrkqIRjUCu/20241108_144344_3865752710996401354.jpg
02:52 PM Tom_L: nice view
02:52 PM Tom_L: vineyard
02:55 PM lcnc-relay: <JT> Yup
03:26 PM Tom_L: i did get a slot to work
03:28 PM Tom_L: edit the spin box and hit enter and that triggers the write button which upon release triggers the manual mode button and updates the .var file
03:31 PM lcnc-relay: <gardenweazel@discord> JT: Nice view JT! Beautiful man! What state or city are you near?
03:46 PM Tom_L: slots are kindof iffy though
03:54 PM lcnc-relay: <JT> Tom_L so if the numbered parameter is set in the dbl spin box at startup is that enough?
04:09 PM Tom_L: JT-Cave, it would be nice if it could be updated if it changed as well
04:09 PM Tom_L: i'll take what i can get ;)
04:10 PM Tom_L: the slot thing seems to lag behind the update a click or so
04:10 PM Tom_L: it did update but not reliablly
04:11 PM Tom_L: so for now at least i've removed them
04:11 PM Tom_L: i wanted to see what it was about as well
04:12 PM Tom_L: spinbox change -> update var -> toggle manual mode to flush the buffers
04:14 PM Tom_L: if it were to be done it would require 2 functions. one to load and one to refresh on the fly
04:14 PM lcnc-relay: <Lcvette> does it not update if focus is given to another box or tab used?
04:14 PM Tom_L: not reliable
04:15 PM Tom_L: if you hit enter it seems more reliable but clicks seem to lag
04:15 PM lcnc-relay: <Lcvette> you have the slot set to text changed?
04:15 PM Tom_L: yup
04:15 PM Tom_L: i've tried several methods there
04:15 PM lcnc-relay: <Lcvette> wierd, im testing now and not seeing any difference between focus change and enter
04:16 PM Tom_L: and if i add extra widget vars to the mix it stops working
04:16 PM Tom_L: widget 123 update -> write to var -> manual toggle
04:16 PM Tom_L: fails
04:17 PM Tom_L: i already knew about the manual mode flush to write to the var file
04:17 PM Tom_L: that's not new to this
04:18 PM lcnc-relay: <Lcvette> https://jauriarts.org/_matrix/media/v3/download/matrix.org/ZEWthHRJPFgILUpRhURYDZkI/update.gif
04:18 PM Tom_L: right
04:18 PM lcnc-relay: <Lcvette> https://jauriarts.org/_matrix/media/v3/download/matrix.org/rJKTiXqFrdplAGNMFXgxYjfa/image.png
04:18 PM Tom_L: it changes the widget but either lags writing to the var file or doesn't at all
04:19 PM lcnc-relay: <Lcvette> are you doing it in via subroutine?
04:19 PM lcnc-relay: <Lcvette> or find a different method?
04:19 PM Tom_L: i didn't ctrl select them like you did, i connected one at a time
04:19 PM Tom_L: i'll try that
04:20 PM Tom_L: if that's possible
04:20 PM memleak: hi Tom_L
04:20 PM lcnc-relay: <Lcvette> mine were connected one at a time
04:20 PM Tom_L: hi
04:20 PM Tom_L: hmm
04:20 PM memleak: are you tommylight on the forums?
04:20 PM Tom_L: i dunno then
04:20 PM Tom_L: nosir
04:20 PM memleak: ah ok
04:20 PM Tom_L: we get mixed up once in a while
04:20 PM memleak: who's the nicer one? :P
04:21 PM Tom_L: :)
04:22 PM Tom_L: lcvette, you can't group select them anyway
04:22 PM Tom_L: it doesn't allow it
04:23 PM Tom_L: but after the update probe parameters is pushed by one of them, i also toggle a manual mode button to write out to the file
04:23 PM lcnc-relay: <Lcvette> yeah i didn't think so, i recall trying when in signal slot mode
04:23 PM lcnc-relay: <Lcvette> i do most of it in the signal slot editor box
04:23 PM Tom_L: so once those are tied to the one button i tie that button to the manual mode toggle
04:23 PM lcnc-relay: <Lcvette> there is only one button
04:23 PM Tom_L: i have 2
04:24 PM lcnc-relay: <Lcvette> it is both manual and auto
04:24 PM lcnc-relay: <Lcvette> why?
04:24 PM Tom_L: toggling to manual mode flushes the buffer to disk
04:24 PM lcnc-relay: <Lcvette> the signal is just mimicking a screen click
04:24 PM Tom_L: in theory
04:24 PM lcnc-relay: <Lcvette> ah not sure i know what you are trying to send
04:25 PM lcnc-relay: <Lcvette> is this to do with manual auto mdi mode?
04:25 PM lcnc-relay: <Lcvette> or probing?
04:25 PM Tom_L: mdi
04:25 PM Tom_L: i call a sub to write out to the file
04:25 PM lcnc-relay: <Lcvette> yeah no need for two buttons
04:25 PM lcnc-relay: <Lcvette> just use a singal subcall button
04:26 PM memleak: i call a dom
04:26 PM lcnc-relay: <Lcvette> * single
04:26 PM Tom_L: i can shut down the app and it still won't flush
04:26 PM Tom_L: once i restart it, it appears flushed to disk
04:27 PM lcnc-relay: <Lcvette> https://jauriarts.org/_matrix/media/v3/download/matrix.org/ftyFgcbuaeftThkZdLptubYy/image.png
04:27 PM lcnc-relay: <Lcvette> whats fluched to disc?
04:27 PM lcnc-relay: <Lcvette> the entered parameters?
04:27 PM Tom_L: yes
04:27 PM Tom_L: i don't know about subcall
04:27 PM lcnc-relay: <Lcvette> you need to store them
04:28 PM lcnc-relay: <Lcvette> these are VCPSettingsLineEdits
04:28 PM Tom_L: i'm using qdoublespinbox
04:28 PM lcnc-relay: <Lcvette> the user entries are stored in a pickle file
04:28 PM lcnc-relay: <Lcvette> and loaded on startup
04:28 PM Tom_L: in the pickle park?
04:29 PM lcnc-relay: <Lcvette> https://jauriarts.org/_matrix/media/v3/download/matrix.org/gJMWVmwsoNdnSlxRKKdSatAv/image.png
04:29 PM memleak: is the pickle park where you tickle each other's pickle?
04:30 PM lcnc-relay: <Lcvette> we have been trying to find a reliable way to write from var to the entries at start up
04:30 PM lcnc-relay: <Lcvette> could use a subroutine for that also triggered in the startup maybe
04:31 PM lcnc-relay: <Lcvette> which would eliminate any possibility of the values getting out of synch, but in reality, unless you wipe out the var file completely offline or manually edit the var, it will always remain in synch
04:34 PM Tom_L: lcvette, jt said he'd work on the startup part for ours in the morning
04:34 PM Tom_L: to load from file to the widgets
04:37 PM Tom_L: right now i have some defaults set in the ui but they're not even loading now for some reason
04:39 PM Tom_L: lcvette, have you ever opened the var file and watched how bad it lags on updating?
04:40 PM Tom_L: the vars are updated in memory but not written out for quite a while
04:43 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/var_file_lag.png
04:44 PM Tom_L: aparently it wasn't a problem for the developers
05:10 PM lcnc-relay: <Lcvette> they are isntant here
05:10 PM lcnc-relay: <Lcvette> i posted a gif above
05:10 PM lcnc-relay: <Lcvette> shows the ui entry and var file change in realtime
05:12 PM lcnc-relay: <Lcvette> https://jauriarts.org/_matrix/media/v3/download/matrix.org/ZEWthHRJPFgILUpRhURYDZkI/update.gif
05:12 PM lcnc-relay: <Lcvette> not sure if the gif comes through on linuxcnc
05:13 PM Tom_L: it updates in memory instant yes, did you look at the actual .var file?
05:14 PM Tom_L: you may find something different
05:14 PM Tom_L: you say you're using line edits?
05:15 PM Tom_L: i may see if we can switch to those without too much trouble
05:17 PM Tom_L: ..i dunno
05:19 PM Tom_L: i see your file on the left now... my eyes aren't what they used to be :)
05:21 PM lcnc-relay: <Lcvette> the gif above shows the actual opened file in the editor updating
05:22 PM Tom_L: right i see now. it doens't happen that quick here
05:31 PM lcnc-relay: <Lcvette> Weird. Maybe the widget or the py file
05:31 PM lcnc-relay: <Lcvette> Or using a subcall button?
05:40 PM roycroft: i have returned from pdx with the goods from xxcoder
05:41 PM roycroft: i have some fun projects to work on now, as if i needed any more projects
05:41 PM roycroft: and i am alive, so xxcoder is likely not a serial killer
05:41 PM roycroft: when he's back and checks in that should confirm that i'm also likely not a serial killer
05:49 PM JT-Cave: Capt. Crunch is glad there are no cereal killers in here
05:49 PM roycroft: aye, matey
05:51 PM roycroft: but both xxcoder and me surviving the meetup is not proof that one of us is not a serial killer
05:51 PM roycroft: only proof that neither of us is a compulsive serial killer
06:11 PM acer is now known as _unreal_
06:13 PM _unreal_: so I just broke down and purchased a 40 watt laser. it was the highest power laser I could find that has an adjustable lense
06:15 PM _unreal_: one of my goals when I move. hopefully soon will be to re-vamp my laser etcher with the new new laser and upgrade the controller which is an arduino... Ineed a 32bit controller
06:16 PM _unreal_: I also want to upgrade the liner system. currently its wheels. Not bad but they wear. I'd like to upgrade them to rails.
06:18 PM roycroft: one of the things i got today from xxcoder is a small cnc router - desktop size
06:18 PM roycroft: it is pretty complete, but needs something to control it
06:19 PM roycroft: i'm thinking that a rpi running linuxcnc would be ideal for it, and i should be able to do some engraving and the like with it
06:19 PM roycroft: it has drives and a power supply, so the controller is all i really need
06:24 PM _unreal_: roycroft, are you planning on going with a mach controller?
06:25 PM roycroft: rpi with a mesa ethernet controller, most likely
06:25 PM _unreal_: or parallel? RPI does not have a parallel port. though there are some USB parallel ports that work as parallel port drivers for cnc
06:25 PM _unreal_: k
06:25 PM _unreal_: 7i96?
06:25 PM roycroft: probably, since i already have one
06:25 PM _unreal_: <- mind reader
06:26 PM roycroft: i have everything on the electronics side for the bigger cnc router that i am planning on building some day
06:26 PM roycroft: which project got put on hold when i bought the new house and started moving
06:26 PM roycroft: i can use all that stuff for this little machine for now
06:27 PM roycroft: and maybe use it indefinitely - the linuxcnc machine can control more than one router/mill
06:27 PM _unreal_: same deal. I have a 2.2kw spindle and many parts for a much bigger machine
06:27 PM _unreal_: all in storage :(
06:27 PM roycroft: not simultaneously, but with the ethernet connection i just need to swap cables and swap profiles
06:28 PM roycroft: i also got a delta plastic squirter today
06:28 PM _unreal_: t4nk_fn, sup
06:28 PM _unreal_: a ... WHAT?
06:28 PM t4nk_fn: hi, buttercup
06:28 PM roycroft: it's in rough shape, and i probably won't do anything with it for a while, but when i get around to it it will be fun to play with
06:28 PM lcnc-relay: <skunkworks8841@discord> RPI5 would probably run it from it GPIO
06:29 PM roycroft: plastic squirter = 3d filament printer
06:29 PM t4nk_fn: (why would anyone want a delta btw?)
06:30 PM roycroft: it was given to me
06:30 PM t4nk_fn: ah, ok ;)
06:30 PM roycroft: and will be fun to play with
06:30 PM roycroft: i have a conventional 3d printer already
06:32 PM t4nk_fn: _unreal_, I thought of you the other day, when I was looking around and maybe wanted to buy this: https://www.aliexpress.com/item/1005007326719936.html
06:33 PM t4nk_fn: just to have some kind of small machine I could use as a basis for making pcbs
06:34 PM t4nk_fn: but then I saw that laser option.. and I was wondering... what would a 15W laser do for me, except poison my lungs?
06:34 PM roycroft: it can put your eye out
06:34 PM t4nk_fn: in other words.. is 15W any good for anything
06:34 PM t4nk_fn: lol
06:34 PM t4nk_fn: sold@
06:35 PM roycroft: you can engrave wood with it, and cut thin wood with it
06:35 PM roycroft: you can cut foam with it
06:35 PM roycroft: and paper
06:36 PM roycroft: i want to make some etched badges and other etched metal items
06:36 PM t4nk_fn: so that's actually pretty useless then :|
06:36 PM _unreal_: t4nk_fn, check msg
06:36 PM roycroft: a small laser is useful for that - you coat the metal with your resist burn the resist off with the laser before the acid bath
06:38 PM roycroft: so i just watched a youtube video of a delta printer very similar to mine being controlled by linuxcnc
06:38 PM _unreal_: t4nk_fn, I'm waiting on my step mother/lawyers to finish up. the second they do and papers are sighed I get PAID finally
06:38 PM roycroft: that's good to know - i wasn't sure if i could use linuxcnc for it, but figured i probably could
06:39 PM roycroft: it will be good when that is all settled, _unreal_
06:39 PM _unreal_: roycroft, delta printer?
06:39 PM _unreal_: 3d printer
06:39 PM _unreal_: roycroft, its SOOOOOO annoying.
06:39 PM _unreal_: my father did a lot of BS
06:39 PM _unreal_: including contempt of court with his x wife
06:39 PM roycroft: you will finally be able to move on with your life without that burden hanging over you
06:40 PM t4nk_fn: _unreal_, yeah, I've been working on some software to do some gcode processing, and machine controlling a little while back.. it got put on the back burner a bit because of other things atm
06:40 PM _unreal_: roycroft, https://photos.app.goo.gl/ZVxFnvZABBCnJGsW9
06:40 PM t4nk_fn: should continue working on it
06:41 PM roycroft: nice
06:41 PM roycroft: https://www.youtube.com/watch?v=5MOSnFSx8JQ
06:41 PM roycroft: that is very similar to what i just got
06:41 PM t4nk_fn: I also felt a bit put down because my machine needs a lot more tweaking before it would work decently :|
06:41 PM _unreal_: roycroft, the new cnc machine https://photos.app.goo.gl/ggAPhV6uwbvr4jLs8
06:41 PM _unreal_: t4nk_fn, I build my new machine by hand
06:42 PM roycroft: i am still moving, and getting the shop set up
06:42 PM t4nk_fn: yeah I know that, mate, as did I
06:43 PM roycroft: i'm in the middle of insulating the shop, sheathing the interior walls with osb, and painting the walls
06:43 PM _unreal_: I've almost finished bilding the new pump box. that has air pumps and the water pump for the cnc machine. Ineed to build the jig able wet basin for milling stone and wet milling aluminum
06:43 PM roycroft: i'm off in a couple minutes to get the dust collector intake duct installed through the wall - the dust collector lives in a lean-to shed attached to the shop
06:44 PM _unreal_: t4nk_fn, I know you know I know you now..... roycroft may or may not have
06:44 PM roycroft: once that's done and there is power to the dust collector the shop will be functional, except for the mess it's in due to the insulating, sheathing, and painting
06:45 PM * roycroft heads out to do that before it gets dark
06:45 PM _unreal_: I'm half way done building one of the first WET dust shoes for the new mill
06:45 PM _unreal_: one of the first meaning versions
06:45 PM _unreal_: with specific funcion behind the design.
06:46 PM _unreal_: the grape fine cutting board was/is for my step mother. she got it and loves it.
06:46 PM _unreal_: like WOW level loves it.
06:47 PM _unreal_: I cant wait to mill the new ash tray for cigars if any of you looked at it.
06:47 PM _unreal_: CANT WIAT
06:48 PM t4nk_fn: looook mannnn... I would leave the actual bed of a cutting board alone, and just ornament on the sides!
06:48 PM t4nk_fn: you'll get cheese into the grapes that can't be cleaned!
06:49 PM _unreal_: your not wrong but the back side is for cutting the front side is for viewing
06:49 PM _unreal_: the front side is for serving as well
06:49 PM _unreal_: t4nk_fn, I'm dying to make some serving baords out of marble on this machiune.
06:49 PM _unreal_: machine
06:49 PM t4nk_fn: you have clearly given this some thought ;)
06:50 PM _unreal_: I've got people requesting but I'm hyper focued on moving right now.
06:50 PM _unreal_: more do to family.
06:51 PM _unreal_: and I need to clear out of this house before its soldand I have no where to go
06:52 PM t4nk_fn: you probably have a lot of stuff to store
06:52 PM _unreal_: not as much as I use to
06:57 PM _unreal_: this weekend I may get material and cut, maybe build the working base for the jig able web box for milling stone and and metal.
06:57 PM _unreal_: it will be nice when done.
06:57 PM _unreal_: cant wait
06:57 PM _unreal_: cant wait
06:57 PM _unreal_: at all
06:58 PM _unreal_: oh I ordered 3 of these as well https://www.aliexpress.us/item/3256807769537622.html?spm=a2g0o.order_list.order_list_main.10.27e71802kBN8zS&gatewayAdapt=glo2usa
06:58 PM _unreal_: considering how many bldc motors i have
06:58 PM _unreal_: be fun to mess when with
06:58 PM _unreal_: be fun to mess with them
07:00 PM _unreal_: scary aspect is those are rated for WAYYYY more power then any of the brushless motors I have
07:00 PM _unreal_: still would be cool to build a new 3d printer with high power brusheless motors with encoders.
07:00 PM _unreal_: zoom zoom
07:03 PM _unreal_: did I kill the room?
07:30 PM -!- #linuxcnc mode set to +v by ChanServ
07:35 PM xxcoder: alive, I am
07:35 PM xxcoder: finally back home
08:10 PM memleak: xxcoder, where ya been?
08:10 PM xxcoder: went to offload bunch of stuff to lessen my car weight, and guy wallet weight slightly
08:16 PM memleak: USB parallel ports.. how's the latency though? I thought USB sucks at anything real-time
08:16 PM xxcoder: usb is not rt at all
08:16 PM memleak: <_unreal_> or parallel? RPI does not have a parallel port. though there are some USB parallel ports that work as parallel port drivers for cnc
08:21 PM memleak: USS-720? https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/misc/Kconfig?h=v6.12-rc6#n7
08:37 PM memleak: Hey just throwing this out there, I'll be updating my Gentoo image and installer for amd64 systems. PREEMPT_RT kernel 6.12, XFCE 4.20 pre-release and LXQt 2.1.
08:39 PM memleak: image can boot off NVMe, USB drives, SSDs and SATA.
08:39 PM memleak: (SATA/AHCI)
08:45 PM memleak: easy as pie to install too, just a few simple questions about filesystems and partition sizes :D
08:46 PM memleak: Taking all of the work away from Gentoo and all the fun for LinuxCNC. YEEEE BOIIIIIIIIIII
08:49 PM t4nk_fn: ?
08:49 PM t4nk_fn: a gentoo installer?
08:49 PM t4nk_fn: what good would that be if it's outdated before it's uploaded
08:51 PM memleak: it's outdated right now but it was up to date when i finished the installer and pushed the tarball.
08:51 PM t4nk_fn: lol
08:51 PM memleak: it didn't get much traffic though
08:51 PM memleak: i'm going to update it again.
08:52 PM memleak: gentoo is more frequently updated than debian sid.
08:52 PM t4nk_fn: I got a new pc and decided to go with a new installation for the first time since 2018.... it was a breeze to compile everything
08:52 PM t4nk_fn: and a joy, at least with my new hardware that is
08:53 PM t4nk_fn: on older hardware... not so much at all
08:53 PM memleak: the majority of linuxcnc users don't want to compile thousands of packages but just want to use linuxcnc.
08:53 PM memleak: i provide that service, and you dont need much of a background in IT to get it going with my installer.
08:54 PM memleak: i made it very simple.
08:54 PM t4nk_fn: that's why they call it more of a way of life.. I've loved it since I first started using it
08:54 PM memleak: you use gentoo?
08:54 PM t4nk_fn: sure do, Sir.
08:54 PM memleak: noice.
08:55 PM t4nk_fn: But yes, it can seem, and get, a bit tedious at times, but still very noice indeed
08:56 PM memleak: https://github.com/NTULINUX/gentoo_backup/blob/linuxcnc/installer.sh
08:57 PM t4nk_fn: btw, there's that whole binpkg thing for gentoo now, right... I don't like it too much, but it may help some people who don't want to compile
08:58 PM memleak: i just post a stage4 and have that drop it on so there's hardly any input you need to be concerned about. you only call `emerge linuxcnc` once you're in the system, log out and log back in again so the TCLLIBPATH takes affect.
08:59 PM memleak: i cant host it with linuxcnc in the stage4 already because of readline LGPL/GPL license thing-a-mah-bob.
08:59 PM memleak: --enable-non-distributable
09:00 PM memleak: linuxcnc ebuild for 2.9 branch: https://github.com/NTULINUX/ntu_overlay/blob/main/sci-electronics/linuxcnc/linuxcnc-2.9.9999.ebuild
09:00 PM memleak: need to update the versions of python it allows too.
09:01 PM t4nk_fn: why don't you try and get that into the repos and maintain it?
09:02 PM memleak: i've offered!
09:04 PM t4nk_fn: I'm not sure if you could perhaps get it registered with zugaina or so
09:05 PM memleak: i'll try that too.
09:05 PM t4nk_fn: that would at least be something
09:05 PM memleak: i'll also push harder in being the maintainer because none of this is hard for me.
09:06 PM t4nk_fn: "they" will be keen on the sanity of your work of course
09:09 PM memleak: I just can't figure out how to make a CNC category so linuxcnc shows up in that menu vs accessories.
09:09 PM memleak: i've tried everything i can't add a CNC menu entry to the toolbar. that's really the biggest issue, everything else is elementary.
10:07 PM -!- #linuxcnc mode set to +v by ChanServ