#flex-dev Logs

Nov 12 2025

#flex-dev Calendar

03:57 AM Tom_L: morning
04:04 AM Tom_L: 39F 71F
04:49 AM JT-Cave: morning
04:49 AM JT-Cave: 42°F - 68°F
05:54 AM lcnc-relay: <AllAboutJake@> Tom_L: https://paste.debian.net/1408143/
08:27 AM rdtsc-w: Tom, if PC and server are linux, look at scp "copy file over ssh"
09:12 AM rdtsc-w: https://paste.debian.net/1408178/
09:13 AM Tom_L: they are
09:13 AM Tom_L: i need to remove a folder full of stuff then replace it with updated
09:14 AM Tom_L: it's not a big deal, just a learning thing mostly
09:14 AM rdtsc-w: sure; scp is one of those commands used infrequently enough to greatly benfit from having tldr installed :)
09:17 AM Tom_L: i'd considered using a combination of ssh and sftp
09:18 AM Tom_L: trying to get past the login password was where i stopped last night
09:18 AM Tom_L: you can env var it then remove it or store it in a file
10:43 AM lcnc-relay: <AllAboutJake@> is it possible to change the units of dro_lb_x and the touchoff_pb buttons to honor the G20/G21 mode? Like the the dro reads in MM when in MM mode and inches when in inches mode, and likewise the touchoff entry QEditLines accept the proper units based on the mode?
10:46 AM Tom_L: i think it currently reads 'units' from the ini
10:46 AM Tom_L: but
10:46 AM Tom_L: just say you can't and JT will make it happen
10:47 AM Tom_L: that one might be a stretch though
10:58 AM JT-Shop: for me if your a metric person make your config metric and likewise if your an inch person make it inch
10:59 AM JT-Shop: I'm not even sure you can tell the current units from g code
10:59 AM JT-Shop: what I am sure of is it's nap time and the trailing arm is almost apart
11:05 AM lcnc-relay: <AllAboutJake@> G20 and G1 show up in gocdes_lb, but I'm not sure where that comes from
11:06 AM Tom_L: i honestly think you'd be opening up a can'o'worms
11:06 AM Tom_L: JT-Shop, is this arm #2?
11:10 AM Tom_L: jake, http://linuxcnc.org/docs/stable/html/config/python-interface.html
11:10 AM Tom_L: gcodes
11:10 AM Tom_L: (returns tuple of integers) - Active G-codes for each modal group.
11:10 AM Tom_L: The integer values reflect the nominal G-code numbers multiplied by 10. (Examples: 10 = G1, 430 = G43, 923 = G92.3)
11:54 AM JT-Shop: and read ahead prob will keep it screwed up
12:01 PM lcnc-relay: <AllAboutJake@> JT-Shop: Hmm. My concern is that if someone, for example, on a metric machine executes a *.nc program that leaves the machine in g20, and they operate the mdi or set touch off values they could be in for a surprise
12:08 PM JT-Shop: that's why you always have a good preamble
12:19 PM JT-Shop: prob be a bigger surprise if they use %% and are in the wrong units
12:23 PM JT-Shop: I can see a current units tag they could use
12:36 PM lcnc-relay: <roguish> just got off the phone with the San Diego Court..... what a nightmare....
12:39 PM lcnc-relay: <AllAboutJake@> JT-Shop: Yeah, I mean maybe I'm overthinking it. But I kind of feel like your DRO and your MDI moves should be in sync and there shouldn't be a case where you see different moves than your DRO reflects.
12:52 PM lcnc-relay: <AllAboutJake@> I guess i have to go read the docs because my just updated to the latest and my led bars broke:
12:52 PM lcnc-relay: <AllAboutJake@> https://jauriarts.org/_heisenbridge/media/jauriarts.org/pwWAlfgbuQntWVgJAtdImWrZ/D0MG4OdMyJo/image.png
12:54 PM lcnc-relay: <AllAboutJake@> ahh its all just square now 🙂
12:54 PM lcnc-relay: <AllAboutJake@> https://jauriarts.org/_heisenbridge/media/jauriarts.org/xdsaNUwhaaQomtwZcEtnZQOJ/tzhVmjxdtec/image.png
01:17 PM JT-Cave: going to add rectangle and I'm working on the gradients as they slide off when resized
01:17 PM JT-Cave: just added units label
01:18 PM * JT-Cave goes back to the C3
01:18 PM JT-Cave: https://pasteboard.co/BYc4BYrJy3Cd.png
01:59 PM lcnc-relay: <AllAboutJake@> cool
02:27 PM Tom_L: JT-Cave, can you pull my changes from yesterday?
02:28 PM Tom_L: i show 3 ahead (mine) and 3 behind you
02:29 PM Tom_L: otherwise i'll have to discard them and resend again
02:31 PM JT-Shop: yup give me a minute or three
02:36 PM * Tom_L heads outside for a bit
02:47 PM * JT-Cave is done pulling
02:49 PM * JT-Cave likes the units status label
03:02 PM lcnc-relay: <AllAboutJake@> yeah, I actually want multiple of those (one for each axis in the DRO) hehe
03:05 PM lcnc-relay: <AllAboutJake@> so I took a stab at what it means for the DRO to convert to the current G20/G21 coordinate system:
03:05 PM lcnc-relay: 1. Machine coordinates always the same as in the INI TRAJ section.
03:05 PM lcnc-relay: 2. The update() function checks for the presence of G20/G21 and compares to "parent.units" to determine if a conversion is needed.
03:05 PM lcnc-relay: 3. The Touch OFF thing does not need conversion because it honors the G20/G21 mode.
03:05 PM lcnc-relay: <AllAboutJake@> https://jauriarts.org/_heisenbridge/media/jauriarts.org/HouNyGRhegKKsomBFmmReYuU/mrs8PfsRLsM/units.gif
03:05 PM lcnc-relay: <AllAboutJake@> Note that #3 is potentially especially problematic, as you can be entering what you think is INCHES into the touchoff when you're actually entering MM based ont the G20/G21 mode.
03:06 PM lcnc-relay: <AllAboutJake@> The other thing is the plot always shows machine coordinates, which could be confusing.
03:07 PM JT-Shop: the plotter is a whole different animal
03:07 PM JT-Shop: you will only do it once
03:07 PM lcnc-relay: <AllAboutJake@> but you can see it would be nice to have 2 more labels in the labels above (and maybe even another set of 3 unit lables based on the machine (TRAJ section)
03:08 PM lcnc-relay: <AllAboutJake@> yeah, I mean I'm not sure I would assume people's workflows. Someone could be working in the MDI and not in a program.
03:08 PM JT-Shop: and the plotter the user has to change the units and that's how axis works as well
03:09 PM JT-Shop: one thing I don't do is change things behind users back because that would be cornfusing
03:09 PM lcnc-relay: <AllAboutJake@> right.
03:10 PM lcnc-relay: <AllAboutJake@> I'll ask my friend who has Mach3 how Mach 3 handles it.
03:10 PM JT-Shop: mach is a terrible thing
03:10 PM lcnc-relay: <AllAboutJake@> yeah, I don't know anyone with a masso to ask them 🙂
03:11 PM JT-Shop: I did write a conversion tool from mach to stepconf wizzard
03:13 PM lcnc-relay: <AllAboutJake@> It could be a "ConvertToG2x" boolean dynamic property on the dro_lb objects, but I can understand if this feels like its not something you want to merge.
03:13 PM lcnc-relay: <AllAboutJake@> My uneducated opinion is that its better for the DROs to show in the coordinate system and units that the GCode modes are set to
03:14 PM lcnc-relay: <AllAboutJake@> I mean you wouldn't want G55 to be active and it showing the G54 coordinates either.
03:14 PM lcnc-relay: <AllAboutJake@> If you're working in the MDI, I feel like you shouldn't have to convert cooridnate systems or units in your head.
03:15 PM JT-Shop: yeah right now I'm not wanting to do that as the user should be in the units they normally use
03:15 PM JT-Shop: that would just complicate the dro code and keeping the code in status.py is important for speed
03:17 PM JT-Shop: you select the coordinate system you want to use so no conversion is needed
03:18 PM JT-Shop: in years and years of using cnc machines I've never had this issue that you think might happen
03:18 PM JT-Shop: so for me it's a non issue
03:19 PM lcnc-relay: <AllAboutJake@> Fair
03:21 PM JT-Shop: but I do like the units status label which is much better than just having g20/21 in the g codes
03:22 PM JT-Shop: thinking out loud a dynamic property in that label could point to a second label... gotta think about that a bit
03:23 PM * rdtsc-w has to get his machine actually built and used awhile before going down such road
03:24 PM * JT-Shop needs to get the C3 back on the wheels
03:24 PM JT-Shop: the rebuild of the left trailing arm is going much faster... wonder why
03:25 PM rdtsc-w: experience from the right? :)
03:25 PM Tom_L: damn. walk out for half an hour and flexgui has a whole new look
03:26 PM Tom_L: my 'expert rookie' experience tells me to use the units in your ini and make a separate config if you want the other standard
03:27 PM lcnc-relay: <AllAboutJake@> So chat GPT thinks that the DRO should change. But it also told someone to put glue on your pizza once: https://chatgpt.com/share/6914fb5d-0dbc-8000-9ac1-0a3d11e5a72f
03:27 PM Tom_L: that's pretty much what i did on the probe routines
03:27 PM JT-Shop: experience and having the custom tools needed
03:27 PM Tom_L: it gets too complex and confusing
03:27 PM lcnc-relay: <AllAboutJake@> So I have don’t doubt that “the Linux CNC way” is multiple configurations
03:28 PM Tom_L: but
03:28 PM Tom_L: you can make your ui any way you like with flex
03:28 PM lcnc-relay: <AllAboutJake@> I just wonder what big machining systems do.
03:28 PM Tom_L: they don't mix units
03:29 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/cincinnati/Cincinnati_1.jpg
03:29 PM Tom_L: is that big enough?
03:29 PM lcnc-relay: <AllAboutJake@> Hah!
03:29 PM JT-Shop: I don't even have to look at that gantry mill
03:29 PM Tom_L: 2 gantrys on the rails
03:29 PM Tom_L: 180' bed
03:31 PM Tom_L: none of the machines i've been around use dual units
03:33 PM Tom_L: that tells me something else... jake can now see my site :)
03:36 PM lcnc-relay: <AllAboutJake@> Yeah. I mean my mill has imperial lead screws so the steps per inch make more sense 99% of the but i could see myself wanting to drill holes on metric spacing for a project in the MDI and not wanting to do repeated math
03:39 PM Tom_L: you could set up a grid pattern or just about any repeatable pattern and add it to the ops
03:40 PM Tom_L: make it as simple or complex as you like
03:41 PM JT-Shop: change the plotter to metric, do G21 and run your metric holes
03:42 PM lcnc-relay: <AllAboutJake@> Yesh that’s probably what I’d do.
03:43 PM Tom_L: when you switch that do you have to restat lcnc?
03:43 PM Tom_L: i don't remember
03:43 PM Tom_L: i don't switch it
03:43 PM JT-Shop: the plotter?
03:43 PM Tom_L: yes from in to mm
03:43 PM JT-Shop: no
03:44 PM lcnc-relay: <AllAboutJake@> i don't know if I know how to switch the plotter actually hehe
03:44 PM lcnc-relay: <AllAboutJake@> ahh its in a menu 🙂
03:45 PM JT-Shop: https://pasteboard.co/GYJSyC43fhxd.png
03:45 PM JT-Shop: or it's a checkbox
03:45 PM JT-Shop: your choice and it's flexible
03:45 PM Tom_L: yes i have it in settings in touch-probe3 as well
03:46 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/Rpi5/Rpi5_ploter_settings.png
03:46 PM Tom_L: it would be similar in the one you're working on
04:05 PM lcnc-relay: <roguish> Tom_L: how's the touch screen version coming along ??
04:06 PM JT-Shop: he's become a layout master
04:06 PM lcnc-relay: <roguish> good thing someone is...
04:09 PM lcnc-relay: <roguish> i did a little bit of layout. it can get tricky
04:16 PM Tom_L: roguish, i pushed it yesterday
04:17 PM Tom_L: critique it if you want
04:17 PM lcnc-relay: <roguish> Tom_L: is it in JT's latest deb
04:17 PM Tom_L: it is
04:17 PM Tom_L: i think
04:17 PM JT-Shop: yup
04:18 PM Tom_L: i made some screen changes yesterday that _should_ be there
04:18 PM Tom_L: after jt fixed leds
04:18 PM Tom_L: we got leds runnin out the wazoo now
04:18 PM JT-Shop: and working on improving them
04:21 PM Tom_L: no master.. just alot of rinse and repeat
04:22 PM Tom_L: i can't make a shortcut icon in ff for file://
04:22 PM Tom_L: invalid url
04:22 PM JT-Shop: I should do some actual work tomorrow but I want to get the C3 on the ground
04:23 PM lcnc-relay: <roguish> Tom_L: just installed the latest deb, from about an hour ago. what is the name in the example files ??
04:23 PM Tom_L: tp3-touch
04:24 PM * Tom_L goes outside for a bit to 'tan'
04:28 PM lcnc-relay: <roguish> JT-Shop: Tom_L the view is in perspective style..... .can that be changed to no be perspective. i really prefer pure orthographic.
04:32 PM JT-Shop: that is a question for Jeff but he's left the building
04:35 PM lcnc-relay: <roguish> Jeff who ?
04:35 PM JT-Shop: Jeff Eppler
04:35 PM lcnc-relay: <roguish> oh, that Jeff...
04:35 PM JT-Shop: yup that Jeff
04:37 PM lcnc-relay: <roguish> Axis allow ya to go ortho
04:37 PM JT-Shop: how?
04:38 PM lcnc-relay: <roguish> up in the top menu, in View.
04:38 PM lcnc-relay: <roguish> how it does it. don't know.
04:39 PM JT-Shop: I don't see an option in the axis view menu to display ortho
04:39 PM lcnc-relay: <roguish> ya uncheck the Perspective
04:40 PM JT-Shop: it does not uncheck
04:41 PM JT-Shop: you can select x y z and x2 y2 and persp
04:41 PM JT-Shop: but you can not uncheck persp
04:41 PM lcnc-relay: <roguish> i'm running the simple Axis sim.
04:41 PM JT-Shop: so am i
04:41 PM lcnc-relay: <roguish> mine does
04:41 PM JT-Shop: so any view you can select in axis is in flex as well
04:42 PM JT-Shop: to unselect persp you have to select a different view
04:42 PM lcnc-relay: <roguish> when it's checked, ya get the little black dot next to the word. unchecked and the black dot goes away
04:42 PM JT-Shop: and how are you unchecking it
04:44 PM lcnc-relay: <roguish> using the menu View dropdown
04:45 PM JT-Shop: exactly what are you doing to uncheck persp
04:45 PM JT-Shop: because I can not uncheck it unless I check some other view
04:46 PM lcnc-relay: <roguish> in the dropdown, just click on the word Perspective
04:46 PM JT-Shop: I do and nothing changes
04:46 PM JT-Shop: are you using master?
04:47 PM lcnc-relay: <roguish> it's a pre-10. pulled from buildbot2 master a few months ago
04:47 PM JT-Shop: I don't use master because it's usually broken
04:48 PM lcnc-relay: <roguish> not sure if master matters, 'cause it's Axis
04:48 PM lcnc-relay: <roguish> ago old
04:48 PM Tom_L: i've got 2.9.6 on the rpi /ry
04:48 PM JT-Shop: it must matter because it doesn't work with 2.9
04:48 PM Tom_L: let's see...
04:49 PM Tom_L: i don't see a place to uncheck it
04:50 PM lcnc-relay: <roguish> Tom_L: in the View drop down in the Menu bar, just click on the word Perspective. there is no check box...
04:51 PM JT-Shop: nothing happens in 2.9
04:52 PM Tom_L: ^^ what he said
04:52 PM lcnc-relay: <roguish> is Epler completely out of touch ???
04:52 PM Tom_L: pretty much
04:52 PM JT-Shop: he left
04:52 PM JT-Shop: master has so many issues I don't use it
04:53 PM lcnc-relay: <roguish> well, JT, you're the programmer...... look over the axis files.
04:53 PM Tom_L: you could see the python code and probably add that view to flex but it might be a pita
04:54 PM JT-Shop: yup not worth the effort
04:54 PM Tom_L: pretty soon roguish is gonna want a dice cube view like sw has
04:54 PM JT-Shop: LOL
04:54 PM Tom_L: you know what i'm talkin about....
04:54 PM lcnc-relay: <roguish> no way Jose
04:55 PM JT-Shop: Jose left with Jesus
05:20 PM * JT-Shop calls it a night
05:20 PM JT-Shop: say goodnight Gracie
07:33 PM lcnc-relay: <AllAboutJake@> good night Gracie.
07:39 PM lcnc-relay: <AllAboutJake@> @JT-Shop for when you wake up.... I really think that the DRO should change when G20/G21 changes. In fact, this is how GMOCCAPY works.
07:42 PM lcnc-relay: <AllAboutJake@> https://jauriarts.org/_heisenbridge/media/jauriarts.org/UFJDTezastQZdFpUbFIcqnok/67IPLIHJWV0/units_dro.gif
07:48 PM lcnc-relay: <AllAboutJake@> So does qtdragon:
07:49 PM lcnc-relay: <AllAboutJake@> https://jauriarts.org/_heisenbridge/media/jauriarts.org/DweTGTzhVYwkYvZellxQStHk/-5f3SqmHN74/qtdragon_dro.gif
08:19 PM Tom_L: the first one throws errors when you try to move
08:20 PM Tom_L: that's the other thing you run into is the core of linuxcnc still sees units from the ini
08:22 PM Tom_L: for that to change requires a restart to reload the ini if units change there
08:25 PM Tom_L: i had started some tests for this when i got distracted with my GUI
08:26 PM Tom_L: i was converting my ops in touch-probe3 to metric and had tested all the probe routines but not the ops
08:27 PM Tom_L: i was running into issues where i set a parameter in one units but it executed them in the other
08:27 PM Tom_L: i hadn't quite gotten to the bottom of it but i need to get back and finish that