#flex-dev Logs
Jun 11 2025
#flex-dev Calendar
04:29 AM Tom_L: morning
05:09 AM JT-Chicken: morning
07:16 AM rdtsc-w: morning... know of a Frigidaire (GM) refrigerator from 1978 which is still operating
07:27 AM JT-Cave: old stuff can work for a long time... my 1956 Ferguson F40 runs fine
08:23 AM rdtsc-w: made with premium (unadulterated) materials, to last, by skilled artisans
08:25 AM JT-Cave: Early Continental 4 cylinder engine blocks were prone to cracking between cylinders 2 and 3
08:26 AM JT-Cave: mine was cracked and I had to find one that was not cracked
08:27 AM rdtsc-w: fast-forward to 2015 and GMC Terrains have a wonderful power plant, which is good for about 140k miles before they die
08:43 AM rdtsc-w: specifically got that car because mechanic friend said they were great and low-problems... then find out the variable-valve-timing system needs periodic solenoid replacement, and when start seeing metal in their screens, bad omen... now burned 3.5qts oil since last change
08:56 AM rdtsc-w: anyways, voiditswarranty - sounds like the mesa driver. Linux video drivers can be a can of worms. Find a how-to on your specific hardware and follow it to the T.
08:57 AM JT-MShop: that's no good
09:39 AM lcnc-relay: <roguish> good morning....
10:02 AM lcnc-relay: <roguish> ok, back after a windows update/reboot
10:10 AM lcnc-relay: <roguish> JT-MShop: JT, how's the button program run coming ???
10:55 AM JT-Shop: button to load a file is done
11:25 AM lcnc-relay: <roguish> JT-Shop: flex isn't showing in synaptic as upgradable..... but I know you have a new .deb in github
11:28 AM JT-Shop: I haven't pressed that button yet
11:30 AM lcnc-relay: <roguish> no problem, i just downloaded the deb and installed it. is there an example with the button feature in it?
11:30 AM JT-Shop: no
11:30 AM JT-Shop: just the docs
11:30 AM JT-Shop: it's very simple...
11:30 AM lcnc-relay: <roguish> ok
11:30 AM lcnc-relay: <roguish> i will RTFM
11:31 AM JT-Shop: I usually wait for Tom_L to break something before I press the apt button
11:47 AM lcnc-relay: <roguish> JT-Shop: i'm trying..... which example has it ???
11:49 AM JT-Shop: none
11:49 AM JT-Shop: it's in the docs only
12:02 PM JT-Shop: nap time
12:02 PM rdtsc-w: speaking of Tom, haven't seen him yet today - hope all is well
12:03 PM lcnc-relay: <roguish> JT-Shop: i keep getting an error
12:03 PM lcnc-relay: <roguish> https://jauriarts.org/_heisenbridge/media/matrix.org/UMNehowmkccDCxJjnauUAmtr/iY464Hig5PM/image.png
12:04 PM lcnc-relay: <roguish> https://jauriarts.org/_heisenbridge/media/matrix.org/VTDPuaoegTGCXydZXCVQJudP/1aFnfb3URAE/image.png
12:10 PM lcnc-relay: <roguish> got it to work. had to properly install the new flex .deb
12:16 PM lcnc-relay: <roguish> well pooo... the flex gui loads, but the file does not load at the button click
12:17 PM lcnc-relay: <roguish> and no error message.....
12:31 PM Tom_L: JT-Shop, i see you made changes with mode... does that affect probe_ widgets?
12:31 PM Tom_L: or others with no probe_ prefix....
12:32 PM Tom_L: s/no/non
12:33 PM Tom_L: rdtsc-w, all is well, just busy
12:36 PM lcnc-relay: <roguish> Tom_L: if you can add one of the load_file buttons in any example, and have it work, that would be great
12:39 PM Tom_L: once i get in and find room on an example i'll test it
12:41 PM Tom_L: i just posted new debs on my site if you need one
12:41 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/
12:41 PM Tom_L: and am pushing back to the main repo
12:42 PM lcnc-relay: <roguish> Tom_L: i've updated my flex to JT's lastest deb.
12:42 PM Tom_L: JT-Shop, PR #319 for rpi deb
12:43 PM Tom_L: yeah i just pulled this morning's changes in and built mine
12:43 PM lcnc-relay: <roguish> did he ever get the arrow key jog working /??
12:44 PM Tom_L: not yet but he got them responding
12:44 PM Tom_L: working but not for prime time yet
12:44 PM Tom_L: so all i do is add a buttonn and add those dynamic properties?
12:45 PM JT-Shop: yup
12:46 PM Tom_L: where's the help for it?
12:46 PM JT-Shop: controls
12:48 PM Tom_L: can i use './' in the path?
12:48 PM JT-Cave: no
12:49 PM JT-Cave: Warning
12:49 PM JT-Cave: The file must be in the directory specified by the INI entry PROGRAM_PREFIX in the [DISPLAY] section or have a fully qualified path.
12:49 PM JT-Cave: I can add that later
12:49 PM Tom_L: i'm doing the fully qualified path first
12:51 PM JT-Cave: ok, I don't think I had a chance to test that
12:51 PM Tom_L: seems to work fine here
12:51 PM Tom_L: with a /home/tom/linucxnc/..... file
12:52 PM Tom_L: also works with a ./linuxcnc/nc_files/..... file
12:52 PM lcnc-relay: <roguish> Tom_L: scroll up a bit and see the image of the button dynamic properties.....i posted
12:52 PM Tom_L: so the ./ works
12:53 PM Tom_L: i did already
12:53 PM Tom_L: and have one working
12:53 PM JT-Cave: ok I just tested it as well
12:53 PM JT-Cave: really ./ works
12:53 PM Tom_L: so now what?
12:53 PM JT-Cave: wow
12:53 PM Tom_L: yessir
12:53 PM Tom_L: it's a valid path
12:54 PM JT-Cave: cool
12:55 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/load_file.png
12:56 PM JT-Cave: roguish how did you get that error?
12:56 PM lcnc-relay: <roguish> no clue
12:56 PM Tom_L: what did you do on the mode issue?
12:57 PM Tom_L: i bet no other gui does (_____) fill in the blank
12:58 PM lcnc-relay: <roguish> JT-Cave: as i mentioned a bit ago, I'm not getting that error, or any error. it just doesn't load the file, at least the file is no showing
12:59 PM JT-Cave: odd it works here
01:00 PM Tom_L: in contrast... the washer guy called and said he'd be here in 10 min
01:00 PM Tom_L: just swampeast mo luck i guess
01:01 PM Tom_L: roguish, i'll push this ui file. change the path to file and try it
01:02 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/
01:02 PM Tom_L: touch-probe3.ui
01:02 PM Tom_L: put that in the touch-probe3 example folder
01:02 PM Tom_L: and run it
01:02 PM Tom_L: after you edit the path
01:02 PM JT-Cave: what was the exact way you used ./ ?
01:03 PM Tom_L: pull the file and see
01:03 PM Tom_L: it's in the png
01:03 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/load_file.png
01:03 PM Tom_L: filename in dynamic properties
01:04 PM Tom_L: gotta move some crap for this guy
01:08 PM JT-Cave: https://ibb.co/PzjfLhtr I get that when I try to use ./
01:09 PM Tom_L: the ./ is in the wrong place
01:09 PM JT-Cave: https://ibb.co/rKymNVfZ
01:10 PM Tom_L: ./linuxcnc/nc_files/chips.ngc
01:10 PM Tom_L: try that
01:11 PM Tom_L: ./ is the user home dirctory isn't it?
01:11 PM Tom_L: all this '~./', './' cornfuzes me
01:12 PM JT-Cave: currently it uses os.path.join to join the directory to the file so not sure how a fully qualified path even works yet
01:14 PM Tom_L: haha aparently i don't have the chips.ngc file
01:14 PM Tom_L: i got a file not found warning
01:15 PM Tom_L: odd
01:18 PM Tom_L: when i http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/load_file2.png
01:18 PM Tom_L: using the nc_files folder fails
01:18 PM Tom_L: but a subfolder under it works
01:18 PM Tom_L: using ./
01:19 PM Tom_L: ok:
01:20 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/load_file3.png
01:20 PM Tom_L: in the nc_files folder just specify the file
01:21 PM Tom_L: probably because the ini has that as a file folder
01:21 PM Tom_L: lemme check
01:22 PM Tom_dev: PROGRAM_PREFIX = ~/linuxcnc/nc_files
01:23 PM Tom_L: so loading from that folder just requires a filename
01:24 PM Tom_L: i'm losing confidence in this repair guy
01:24 PM Tom_L: showed up and said he forgot the right grease so heading back to the shop to get it
01:25 PM Tom_L: i doubt i use this button but it is kinda cool
01:27 PM JT-Cave: just working on making ./ and ../ any valid file path to work
01:27 PM Tom_dev: ok
01:27 PM JT-Cave: if you have a file you run all the time like face off the spoil board it makes sense
01:28 PM Tom_dev: yeah
01:28 PM JT-Cave: or if you want to preview the probe move it makes sense
01:28 PM Tom_dev: i wonder if lcnc reads the ui specified file first or looks at PROGRAM_PREFIX path first
01:29 PM Tom_dev: on my last 3dchips file it used the ini path
01:31 PM Tom_L: what does '../' designate? from the root directory?
01:31 PM Tom_L: or just back up a folder
01:32 PM Tom_L: AI says 'parent' directory
01:33 PM Tom_L: ./ indicates the current directory.
01:33 PM Tom_L: ../ indicates the parent directory (one level up).
01:33 PM JT-Cave: ok works with ./ current dir and ../ up one dir or any other path like ~/somewhere
01:34 PM Tom_L: ok
01:34 PM JT-Cave: basically if the filename value is a path to the file it's used like that otherwise it joins the ini file path and tries that
01:34 PM Tom_L: building
01:36 PM Tom_L: on the probe_ vs pbe_ prefix should i just keep using the pbe_ prefix on the var settings?
01:36 PM Tom_L: so they're always enabled
01:36 PM Tom_L: i think we discussed that eons ago and came up with that solution
01:36 PM JT-Cave: the name doesn't matter unless it starts with probe_
01:37 PM Tom_L: right
01:37 PM Tom_L: i'll test that in a bit
01:37 PM Tom_L: PR #320 rpi deb
01:40 PM Tom_L: that mode issue seems alot better now
01:41 PM Tom_L: what's next?
01:44 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/file_loading.png
01:44 PM Tom_L: woops
01:45 PM JT-Cave: Marco?
01:47 PM Tom_L: polo
01:47 PM Tom_L: i dunno what i did
01:47 PM Tom_L: question: should the file loaded with the button go into the recent file list or is that even possible
01:47 PM Tom_L: i vote no
01:48 PM JT-Cave: I opted to not add the file name into the recent files
01:49 PM Tom_L: i tend to agree with that
01:49 PM JT-Cave: it's possible but I don't think it serves a purpose
01:49 PM Tom_L: those button files will likely be special files anyway
01:49 PM JT-Cave: so ~/somedir/somefile.ngc works
01:49 PM JT-Cave: yup
01:50 PM Tom_L: and if a file is loaded when you push the button that works like it should
01:51 PM Tom_L: and the plot is updated acordingly
01:52 PM Tom_L: are you done with the ./ ~/ stuff now?
01:52 PM Tom_L: i'll pull and build once more
01:55 PM JT-Cave: just updating the docs
01:59 PM Tom_L: i'll wait til you say go
02:05 PM Tom_L: webpage doc looks ok
02:07 PM Tom_L: back to the ridid tapping op... is there a way to set or read feedrate_override and spindle_override?
02:08 PM Tom_L: from the gcode
02:10 PM JT-Cave: https://gnipsel.com/linuxcnc/flexgui/controls.html#file-load-buttons
02:10 PM JT-Cave: dunno if screen shots are better then the code list below or not
02:11 PM Tom_L: both
02:12 PM Tom_L: i like the screen shots
02:12 PM JT-Cave: yup you can set the overrides for feed rate and spindle
02:13 PM JT-Cave: https://gnipsel.com/linuxcnc/flexgui/controls.html#override-presets
02:14 PM * JT-Cave wanders off to the store
02:14 PM Tom_L: i'm more interested in when the rigid tap cycle is called making sure from within the gcode that they are 100%
02:16 PM Tom_L: http://linuxcnc.org/docs/stable/html/gcode/m-code.html#mcode:m50
02:16 PM Tom_L: hmm, M50 M51 may do it
02:17 PM JT-Cave: I don't see a parameter for overrides
02:17 PM Tom_L: i've never tried M50-51 but those might work
02:17 PM Tom_L: as i read it, those disable the override
02:20 PM Tom_L: or M48 M49 those combine both to one command
02:21 PM Tom_L: i'll try those later on
02:23 PM Tom_L: ok PR #321 deb for the docs
02:34 PM Tom_L: roguish, did you get yours working?
03:31 PM lcnc-relay: <roguish> ok, back now. a friend came by for some help with librecad....
03:44 PM lcnc-relay: <roguish> Tom_L: do you have an example file that works??? mine is still not working
03:51 PM lcnc-relay: <roguish> shit howdy, it just worked
03:55 PM JT-Shop: Tom_L, if everything is working as expected I'll push the apt button
03:59 PM lcnc-relay: <roguish> well, just installed new deb. using a file in the nc_files directory, so just the filename.
04:01 PM JT-Shop: roguish did you see the updated docs?
04:02 PM lcnc-relay: <roguish> yes. just read 'em. ok, just tried with file in config directory subdirectory. works......
04:03 PM lcnc-relay: <roguish> i like it. i'll have a config subdirectory called 'probing' and put all the routines there...
04:18 PM JT-Shop: roguish none of the other gui's have keyboard jog except axis which is a mix of tcl and pythong
04:20 PM lcnc-relay: <roguish> qtdragon does
04:21 PM JT-Shop: I just tried it and it didn't work
04:22 PM lcnc-relay: <roguish> qtdragon is very mode sensitive. gotta be in manual for the arrow keys to jog
04:22 PM JT-Shop: I'm in manual and it does not jog with the keyboard
04:22 PM JT-Shop: I also can't figure out how to home...
04:23 PM JT-Shop: not very intuitive
04:23 PM JT-Shop: ah there it is
04:23 PM JT-Shop: still doesn't jog with the keyboard
04:25 PM lcnc-relay: <roguish> look umder setting. there is a 'use keyboard shortcuts' selection
04:27 PM JT-Shop: ok now it works and now to finger out how Chris did that...
04:52 PM Tom_L: my last rpi deb should be current with the docs now
04:52 PM Tom_L: mode for probe settings & probe enable button seem to be worked out now
04:52 PM Tom_L: file open button works
04:52 PM Tom_L: what else?
04:53 PM Tom_L: feel free to apt away i think
04:54 PM Tom_L: i didn't try all the button file open paths but i assume you did
04:54 PM JT-Shop: ok, cool
04:55 PM JT-Shop: indeed I did test them all
04:55 PM Tom_L: if somebody needs a file open button i could add one to the probe3 example i suppose
04:55 PM Tom_L: if you wanna wait for that
04:55 PM Tom_L: that's up to you
04:55 PM JT-Shop: I think the docs are pretty clear now
04:56 PM Tom_L: fire away then
04:58 PM Tom_L: did you fix the apt install code?
04:58 PM JT-Shop: track day is getting closer
04:58 PM Tom_L: i thought somebody was having a problem with it
04:58 PM JT-Shop: was it broken?
04:58 PM Tom_L: i dunno
04:58 PM Tom_L: maybe a while back
04:58 PM JT-Shop: I think that was a network issue with them
04:58 PM Tom_L: i've never used it
04:58 PM Tom_L: ok
04:58 PM JT-Shop: I use it on the bp
04:58 PM Tom_L: i forgot who it was
04:59 PM Tom_L: so all that's on the table are the arrow jog buttons?
04:59 PM JT-Shop: that's all I know about
05:00 PM JT-Shop: I also want to create three simple configs as starter sims with all the ini and hal sim stuff done
05:00 PM JT-Shop: simple mill, lathe, and gantry
05:00 PM Tom_L: yeah
05:01 PM Tom_L: if any of my examples seem outdated we can purge them
05:01 PM JT-Shop: that way folks can focus on just making the gui look and feel like they want
05:01 PM lcnc-relay: <roguish> you definitely could reduce the number of examples
05:02 PM Tom_L: i haven't looked in a while
05:03 PM JT-Shop: the examples are a progressive work from start to now
05:03 PM Tom_L: i recall leaving the ones there because each one may have a feature none of the others had
05:04 PM Tom_L: my main focus of late has been on touch-probe3
05:04 PM Tom_L: and trying to keep the rpi one up to speed with it
05:05 PM Tom_L: roguish, i did recently go thru all the probe & ops routines and fixed a couple things
05:06 PM JT-Shop: I speel checked the docs
05:08 PM Tom_L: i assume the rpi deb will install on the rpi5 ok
05:10 PM Tom_L: i think rdtsc-w verified that
05:14 PM Tom_L: who did the remap example?
05:21 PM JT-Cave: me
05:21 PM JT-Cave: everything should be up to date now
05:22 PM JT-Cave: looks like it has an error
05:22 PM JT-Cave: crap
05:34 PM Tom_L: what has an error?
05:36 PM JT-Shop: when I ran the remap example
05:36 PM Tom_L: oh
05:36 PM JT-Shop: but I think it's a file load issue...
07:03 PM rdtsc: just did a sudo apt update and it found a newer version of flexgui, installed fine. just an aside, tried a flexgui --version but that isn't handled. apt search flexgui returns 1.2.1 arm64
07:14 PM rdtsc: no go, https://paste.debian.net/1379280/
07:35 PM Tom_L: can you try the deb?
07:39 PM rdtsc: reinstalled from .deb, try again: same. did something in the config/requirements change?
07:40 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/
07:40 PM Tom_L: those have the very latest changes
07:40 PM Tom_L: it's an active project and i don't know when you updated last
07:41 PM Tom_L: all the ini stuff afik is in [DISPLAY] or [FLEXGUI] now
07:42 PM rdtsc: oh well that must be it
07:42 PM Tom_L: the latest addition was a file load button
07:42 PM rdtsc: I try to update regularly, but have a lot of candles burning a lot of ends anymore
07:42 PM Tom_L: i think those are the only 2 ini sections used now
07:43 PM rdtsc: i'll have to explore the docs
07:43 PM Tom_L: anything with COLORS etc have been moved to [FLEXGUI]
07:44 PM Tom_dev: https://paste.debian.net/1379282/
07:44 PM Tom_L: that's everything in my flexgui section now
07:46 PM Tom_dev: PROGRAM_PREFIX was looked at when adding the file_open button
07:46 PM Tom_dev: in [DISPLAY]
07:47 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/load_file.png
07:48 PM Tom_L: https://www.gnipsel.com/linuxcnc/flexgui/controls.html#file-load-buttons
07:48 PM Tom_L: newest addition
07:49 PM rdtsc: cool I'll give it a lookover. gotta work on pool quickly before it gets dark
07:50 PM Tom_L: you blink and something has been added :)
07:50 PM rdtsc: indeed!
07:50 PM Tom_L: i know he's working on keyboard jog with the arrows