#linuxcnc Logs
Aug 05 2024
#linuxcnc Calendar
04:29 AM JT-Cave: morning
04:47 AM Tom_L: 75F / 99F
05:34 AM Deejay: moin
06:14 AM JT-Shop: error should be fixed not but not tested
07:10 AM rdtsc-wk: Awesome, thanks guys, thought the cb might be the case. Trying to setup a 7c80 config; took a working qtDragon folder, copied it, and changed it for Flex. The Flex GUI loads and seems to work fine, but right off the bat MPG jog always faults with errors after about 1/4 revolution. Lots of variables here, lots to check before any inkling of what the issues are.
07:10 AM rdtsc-wk: First time I saw HAL crash though... the SPI driver didn't load on the subsequent try, took two tries to get LCNC running again. Something is borked.
07:14 AM rdtsc-wk: It will home but won't run 3d_chips, but this is likely from toolchange issues.
07:21 AM rdtsc-wk: Two general questions: 1. Can qtDesigner display using .qss format? Ironically, if you put a filename into the stylesheet box, it accepts this as valid (but doesn't use it.) As far as I could tell, designer won't edit .qss at all.
07:23 AM rdtsc-wk: 2. I placed all of the plot options as checkboxes, and have most checked in the .ui file, then saved. But when LCNC is run, they all start unchecked and their selection is not remembered across runs. Is there some way to default certain ones to checked, or save their state somehow?
07:42 AM Tom_L: JT-Cave, tested.
07:47 AM Tom_L: rdtsc-wk, try this deb: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/
07:50 AM Tom_L: https://stackoverflow.com/questions/63936862/how-to-link-external-qss-stylesheet-inside-qt-designer-ui-file
07:52 AM Tom_L: the check boxes should save to a config file
07:53 AM Tom_L: check for a /home/you/.cofig/Flex/yourfile.conf
07:53 AM Tom_L: JT-Cave, it may need to be fixed for the rpi
08:14 AM Tom_L: i just loaded rpi_mill_3 on my rpi and set the plot settings and see a .config/Fles/Rpi_mill_3.conf in the 'cnc' folder so that works
08:14 AM Tom_L: rdtsc-wk, ^^
08:15 AM Tom_L: relaunched it and it saved the plot settings
08:16 AM Tom_L: JT-Cave, it works ok on the rpi i just tested that as well
08:18 AM Tom_L: PR #60 for deb
08:18 AM Tom_L: also tested the python build script and the rpi deb also works fine
08:19 AM Tom_L: rdtsc-wk, make sure you have the latest deb
08:21 AM Tom_L: test ran a sim with the plotter on the rpi as well and it works great here
08:24 AM Tom_L: tested the tool_change_cb fix on the rpi as well.. good
08:25 AM Tom_L: rdtsc-wk, on the checkboxes... do not check them in the ui file
08:25 AM Tom_L: i think that's the issue
08:26 AM Tom_L: jt takes care of that in code
08:27 AM Tom_L: checkable should be checked (default), checked leave unchecked in the ui
08:27 AM Tom_L: i think jt may have made a note on the webpage about that... not positive
08:32 AM Tom_L: rdtsc-wk, on toolchange: https://www.gnipsel.com/linuxcnc/flexgui/tools.html
08:32 AM Tom_L: for a list you need 2 widgets
08:34 AM Tom_L: JT-Cave, is that page up to date?
08:35 AM Tom_L: i'm using tool_change_pb and tool_change_cb on mine
09:00 AM JT-Cave: hmm the image was missing
09:02 AM Tom_L: what is next_tool_sb?
09:04 AM JT-Cave: the tool to change to when you press the tool_change_pb
09:05 AM Tom_L: is that different from tool_change_cb?
09:05 AM JT-Cave: I think I changed it from a spinbox to a cb but didn't update the docs
09:06 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/Screens/Dark/Tool_dropdown.png
09:06 AM Tom_L: that's the _cb
09:07 AM Tom_L: i was looking for the button last night on the button page and couldn't find it but finally noticed the 'Tools & Coordinate Systems' link at the top
09:08 AM Tom_L: i think rdtsc's issue is that he checked the checked option in the ui like i did the first time
09:09 AM Tom_L: for the plot options
09:09 AM JT-Cave: https://www.gnipsel.com/linuxcnc/flexgui/plotter.html#display
09:09 AM JT-Cave: crap typo
09:10 AM JT-Cave: that's better
09:10 AM Tom_L: :)
09:12 AM Tom_L: is next_tool_sp updated to tool_change_cb then? and not used?
09:12 AM Tom_L: i don't think i've ever tried it
09:15 AM Tom_L: yeah it does nothing now
11:07 AM JT-Cave: https://www.gnipsel.com/linuxcnc/flexgui/tools.html#tool-change
11:09 AM Tom_L: top line says qspinbox?
11:10 AM Tom_L: alot clearer now though
11:14 AM JT-Shop: crap
11:40 AM JT-Shop: lunch
01:28 PM JT-Cave: Tom_L, I'm thinking of getting rid of the double spin boxes and just use the line edit for entering touch off values
01:46 PM lcnc-relay: <amanker> Hi
01:47 PM lcnc-relay: <amanker> Can anyone help me?
01:47 PM lcnc-relay: <skunkworks8841> don't ask to ask.. Just ask
02:40 PM rdtsc-wk: amanker are you still having trouble with tool offset vs. probe? If you have not already, try posting the question on the linuxcnc forums: https://forum.linuxcnc.org/10-advanced-configuration
02:43 PM rdtsc-wk: oh wait, you have: https://forum.linuxcnc.org/49-basic-configuration/52899-help-me-setting-up-my-linuxcnc#303380
03:08 PM lcnc-relay: <captainhindsight_.> yeah they are working on Remora support for the RPi5
03:09 PM lcnc-relay: <captainhindsight_.> amanker ^^^ and https://forum.linuxcnc.org/18-computer/42276-remora-rpi-software-stepping-using-external-microcontroller-via-spi?start=790#306825
03:37 PM -!- #linuxcnc mode set to +v by ChanServ
03:37 PM -!- #linuxcnc mode set to +v by ChanServ
03:38 PM rdtsc-wk: 80 pages in that thread cap'n... yikes
03:47 PM Tom_L: JT-Shop, are you using line edit anywhere already?
03:47 PM Tom_L: trying to remember the difference
03:48 PM JT-Shop: yup, the line edit is easier to use imho a single click and if touch you get the number pad if keyboard you just start typing
03:48 PM Tom_L: works for me
03:49 PM JT-Shop: I found the spin box to be a bit of a pia trying to select all to enter a number with a keyboard
03:49 PM Tom_L: i agree
03:49 PM Tom_L: the qcombobox works good for toolchange
03:50 PM JT-Shop: yup
03:50 PM Tom_L: where are you using le? i forget..
03:51 PM Tom_L: oh.. mdi input is LE
03:51 PM JT-Shop: yup but it gets a g code entry doohicky
03:51 PM Tom_L: yeah that's probably alot easier for some things
03:52 PM Tom_L: i haven't used the spin box much but it seemed like it took forever to use the buttons
03:52 PM JT-Shop: yup
03:52 PM Tom_L: and if you're gonna use the keyboard the le makes sense
03:53 PM Tom_L: i don't use those for touchoff anyway
03:53 PM Tom_L: i leave them on zero
03:56 PM Tom_L: where are you using those besides touchoff and tool touchoff?
03:56 PM JT-Shop: I think that's the only place
03:56 PM Tom_L: what about spindle rpm?
03:56 PM Tom_L: it's a sb not dsb
03:57 PM Tom_L: it seems to work pretty good with the ini setting
03:57 PM JT-Shop: that could be a le too
03:57 PM JT-Shop: but the +- buttons increase by what ever you have in the ini
03:57 PM Tom_L: right
03:57 PM JT-Shop: might leave that one alone for now
03:58 PM Tom_L: the other 2 make sense to change
03:58 PM Tom_L: https://www.gnipsel.com/linuxcnc/flexgui/tools.html
03:58 PM Tom_L: don't forget that
03:59 PM JT-Shop: and it's in touch.html as well...
03:59 PM Tom_L: haven't been there yet
04:01 PM Tom_L: according to the docs those 2 are the only dsb
04:05 PM Tom_L: 99F
04:06 PM Tom_L: JT-Shop, just lemme know so i can update the examples
04:12 PM JT-Cave: go ahead and build a final 0.9.5 deb and I'll bump the version
04:20 PM Tom_L: won't let me with one pending
04:26 PM Tom_L: #60
04:26 PM Tom_L: try that, i may have botched it
04:27 PM Tom_L: there may be 2 debs.. check the timestamp
04:27 PM Tom_L: i tried to delete the older one
04:31 PM JT-Cave: try now
04:31 PM Tom_L: i just sent you one
04:31 PM Tom_L: did it get there?
04:32 PM Tom_L: i think you need to move the deb where you normally do
04:33 PM Tom_L: i'll try it
04:36 PM Tom_L: ok, my end says everything is up to date
04:47 PM JT-Cave: ok, just pulled and pushed
04:58 PM Tom_L: ok #61 final for 0.9.5
04:58 PM Tom_L: (i think)
05:12 PM Tom_L: Note
05:12 PM Tom_L: P and X presets do not function at this time… not figured them out yet.
05:12 PM Tom_L: update :)
05:21 PM -!- #linuxcnc mode set to +v by ChanServ
05:36 PM JT-Cave: https://paste.debian.net/1325560/
05:39 PM Tom_L: update?
05:40 PM Tom_L: or just a different way for the same result?
05:41 PM Tom_L: if there's more than one it gives you the most recent
05:42 PM JT-Cave: yup
05:43 PM JT-Cave: setting the font size in the ini now works
05:43 PM Tom_L: in my case there won't be more than one
05:43 PM Tom_L: cool
05:44 PM Tom_L: i'll wait for a ver bump to send another deb
05:44 PM JT-Cave: https://www.gnipsel.com/linuxcnc/flexgui/plotter.html#dro
05:44 PM Tom_L: you might mention what it defaults to
05:44 PM JT-Cave: https://github.com/jethornton/flexgui/releases/tag/0.9.6
05:44 PM JT-Cave: ok
05:45 PM Tom_L: did you push the ver?
05:45 PM Tom_L: i don't see it
05:48 PM JT-Shop: https://github.com/jethornton/flexgui/releases/tag/0.9.6
05:48 PM Tom_L: i see that but it doesn't show on my repo that it changed
05:57 PM Tom_L: in plotter.rst, did you change the default to inch?
05:58 PM Tom_L: typo on the bottom line too
06:03 PM Tom_L: in the note
06:07 PM JT-Shop: default?
06:07 PM Tom_L: for the DRO display
06:07 PM Tom_L: it's inch now
06:08 PM JT-Shop: I don't think I did
06:08 PM -!- #linuxcnc mode set to +v by ChanServ
06:08 PM Tom_dev: self.metric_units = False
06:09 PM Tom_dev: then the checkbox is to turn on metric
06:09 PM JT-Shop: https://github.com/jethornton/flexgui/blob/0.9.5/flexgui/src/libflexgui/flexplot.py#L239
06:09 PM JT-Shop: seems I did
06:09 PM JT-Shop: yup
06:12 PM Tom_L: that's listed under Display
06:13 PM Tom_L: typo is at the bottom of the Menu section
06:15 PM JT-Shop: see it now
06:20 PM Tom_dev: self._font = 'monospace bold 12'
06:20 PM Tom_L: default
06:22 PM Tom_L: large is 22 but i didn't remember if you had an option for that
06:22 PM Tom_L: doesn't look like it
06:23 PM Tom_L: which is fine by me
06:24 PM JT-Cave: I think just setting the font size to what you want and not large or small makes more sense
06:25 PM Tom_L: yup
06:29 PM Tom_L: if you think you're done i'll get a 0.9.6 out
06:33 PM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/XtiRPgpnDGXTiBjlwOnSppqi/PXL_20240805_231813891.jpg
06:33 PM lcnc-relay: <skunkworks8841> wonder if I could take that branch off with the shot gun...
06:33 PM lcnc-relay: <skunkworks8841> 🙂
06:33 PM xxcoder: just attach chainsaw to tower ;)
06:34 PM lcnc-relay: <skunkworks8841> ooh.. that is actually a good idea...
06:34 PM lcnc-relay: <skunkworks8841> Hmm
06:34 PM xxcoder: lol honestly I have no idea, as it was joke suggestion
06:34 PM xxcoder: be safe
06:35 PM lcnc-relay: <skunkworks8841> well - cutting up with branches - that pinches - so it depends on how heavy the branches are
06:35 PM lcnc-relay: <skunkworks8841> (I would try an electric pole saw attached to the tower)
06:37 PM lcnc-relay: <skunkworks8841> I had actually thought about setting a ladder against the tower and climb up.. but that is a bit too crazy for me...
06:37 PM lcnc-relay: <skunkworks8841> (but really - it probably would be fine)
06:37 PM Tom_L: trim it with a 50 cal
06:37 PM lcnc-relay: <skunkworks8841> well - 12 gauge would do it...
06:38 PM lcnc-relay: <skunkworks8841> buck shot?
06:38 PM lcnc-relay: <skunkworks8841> choked?
06:38 PM lcnc-relay: <skunkworks8841> slug would be a bit scary - neighbors are not that close - but my luck...
06:39 PM xxcoder: well theres that old method of uing ropes with section of chainsaw-like chain in middle
06:39 PM Tom_L: shoot an arrow up with a string and rope it out of the way
06:39 PM lcnc-relay: <skunkworks8841> I tried that.. on some other branches. it sucks
06:40 PM xxcoder: think he can pull it enough to get it out of way?
06:40 PM Tom_L: he's got a tractor and a huge ass truck
06:40 PM lcnc-relay: <skunkworks8841> lol
06:41 PM lcnc-relay: <skunkworks8841> or - I could just cut the tree down...
06:41 PM lcnc-relay: <skunkworks8841> that is an option too
06:41 PM xxcoder: if its quick growing junk tree sure that is also
06:41 PM lcnc-relay: <skunkworks8841> it was a really small tree when the tower was put up there.
06:41 PM lcnc-relay: <skunkworks8841> it is an oak
06:41 PM lcnc-relay: <skunkworks8841> but around here - they are a dime a dozen
06:42 PM lcnc-relay: <skunkworks8841> and burn really good in the furnace
06:42 PM xxcoder: nice
06:43 PM Tom_L: too big to bend out of the way ehh?
06:44 PM lcnc-relay: <skunkworks8841> yah - it is probably around 12 inches or more
06:44 PM Tom_L: the branch
06:44 PM lcnc-relay: <skunkworks8841> maybe. I haven't decided
06:44 PM Tom_L: i suppose you want an antenna on the end when you're done too
06:44 PM lcnc-relay: <skunkworks8841> right
06:44 PM Tom_L: is that going up with the pull?
06:45 PM lcnc-relay: <skunkworks8841> ? the antennas and cameras will all be mounted before I tip it up
06:45 PM lcnc-relay: <skunkworks8841> 50ft + foot is way too tall for me to climb
06:45 PM Tom_L: yeah you don't wanna whip them around too much
06:45 PM lcnc-relay: <skunkworks8841> no
06:46 PM Tom_L: there was a time i would just climb it but that day has passed
06:46 PM lcnc-relay: <skunkworks8841> i woud put them down and away.. but I don't know if it would push the branch out of the way without bending somthing
06:46 PM lcnc-relay: <skunkworks8841> yah
06:46 PM Tom_L: i still have a cheap harness and climbing stuff
06:46 PM lcnc-relay: <skunkworks8841> dad used to climb broadcast towers.. No thank you
06:46 PM Tom_L: i'll draw the line there
06:47 PM Tom_L: i did step out on a ~8" branch once that was rotten to the core
06:47 PM Tom_L: i stepped back fairly quick too once it gave out
06:47 PM lcnc-relay: <skunkworks8841> yikes
06:50 PM lcnc-relay: <skunkworks8841> he also used to put up and take down rown towers...
06:50 PM lcnc-relay: <skunkworks8841> rohn
06:52 PM lcnc-relay: <skunkworks8841> antennas say they will be here tomorrw
06:52 PM lcnc-relay: <skunkworks8841> tomorrow
06:53 PM Tom_L: ok JT-Cave PR #62 0
06:53 PM Tom_L: 0.9.6
06:58 PM lcnc-relay: <skunkworks8841> I need another 100ft 1/2 cable..
06:58 PM lcnc-relay: <skunkworks8841> that would make tipping the tower up less scary
07:11 PM lcnc-relay: <skunkworks8841> well - ebay - 3/8 100ft with hook on one end and eye on the other..
07:11 PM lcnc-relay: <skunkworks8841> *amazon
07:11 PM lcnc-relay: <skunkworks8841> says 15000lbs if you believe it
07:12 PM lcnc-relay: <skunkworks8841> lol 12000lbs
07:12 PM lcnc-relay: <skunkworks8841> I think it is getting late
07:14 PM lcnc-relay: <skunkworks8841> probably shouldn't be ordering stuff
07:18 PM rdtsc_away is now known as rdtsc
07:23 PM * rdtsc sees the Prime delivery truck rushing to skunkwork's house, lugging a 6' tall spool of cable...
07:25 PM Tom_L: rdtsc, just posted 0.9.6
07:25 PM rdtsc: yahoo, firing up the Rpi
07:25 PM Tom_L: you got the note about checked in the ui?
07:26 PM rdtsc: yeppers, will have a look at all of it here in a min
07:29 PM rdtsc: should the examples be cleared and reloaded?
07:35 PM rdtsc: yes as folders have changed
07:36 PM rdtsc: interesting bug in tigerVNC... caps-lock sticks on
08:08 PM JT-Cave: arm64 deb in the release... time for bed
08:14 PM rdtsc: effing rabbit holes... anyone know what the linkable is for https://linux.die.net/man/3/xtestfakekeyevent ?
08:14 PM rdtsc: trying to get debian to programmatically flip the caps-lock... getting caps.c:(.text+0x40): undefined reference to `XTestFakeKeyEvent'
08:15 PM rdtsc: while all other calls are ok
08:22 PM rdtsc: cc -o caps caps.c -lX11 -lc -lpthread -lrt -lstdc++ -l:libX11.a -lXtst <--- sneaky
08:23 PM rdtsc: reminds me of a time back when I was into assembly programming and created a database tool to index the entire WinAPI headers and return header names for given functions.
08:26 PM rdtsc: HA! it worked! For some reason, a TigerVNC connection to X11VNCServer can sometimes get confused about caps lock and force it "on" at all times. Created a tool to flip it programmatically.
08:31 PM rdtsc: So anyways, back to Flex
08:33 PM bjorkintosh: rdtsc: are both machines *nix machines?
08:33 PM rdtsc: Yep, X11VNCServer on Rpi Debian Bookworm, to TigerVNC on Mabox/Manjaro/Arch
08:34 PM bjorkintosh: ssh -X? isn't it faster than vnc?
08:34 PM rdtsc: Dunno... had a hard time finding anything that would work on the Rpi though.
08:38 PM bjorkintosh: x forwarding works very nicely. I just tested it on my raspberry 3 pihole machine.
08:38 PM bjorkintosh: it might save you some headaches in future.
08:46 PM rdtsc: just giving it a try now
09:02 PM rdtsc: bjorkintosh that does seem to work, was able to "open" geany remotely, thanks!
09:09 PM rdtsc: wow, it was even able to run lcnc across the network, nice
09:15 PM rdtsc: Tom_L tried removing all of the checks from the plotter options, no change. there is a cnc@linuxcnc:~/.config/Flex/helios.conf file, but it only contains this:
09:15 PM rdtsc: [GUI]
09:15 PM rdtsc: window_position=@Point(590 167)
09:15 PM rdtsc: window_size=@Size(1309 823)
09:15 PM rdtsc: [recent_files]
09:15 PM rdtsc: 0=/home/cnc/linuxcnc/nc_files/3D_Chips.ngc
09:15 PM rdtsc: last modified time = 5 minutes ago
09:19 PM bjorkintosh: rdtsc: X is really old tech now, being replaced (slowly) by wayland, but in retrospect, they had a lot of really badass ideas
09:36 PM rdtsc: Tom_L interesting - if a tool_change_cb exists without a next_tool_sb, it throws a dialog message stating it is missing lol
09:41 PM rdtsc: Tom_L message is still there if a next_tool_sb is added
09:41 PM rdtsc: Tom_L tool 0 is always listed twice in the tool_change_cb
09:44 PM infornography: Anyone ever worked on a late 90's bridgeport cnc mill? Is it icky?
09:44 PM xxcoder: dunno, some of em is barely used for maintance only, and theres ones thats beaten like it owed money to everyone
09:47 PM rdtsc: bjorkintosh: agreed! :)
09:47 PM infornography: I see older machines for sale, I don't want to buy something that will be a pain. I'm sure it will be full of proprietary parts :/
10:00 PM Tom_L: rdtsc, i'm not sure next_tool_sb is still working it may have changed to tool_change_cb
10:01 PM Tom_L: https://www.gnipsel.com/linuxcnc/flexgui/tools.html
10:01 PM Tom_L: he hasn't edit QSpinBox from there yet but check which one you're using
10:03 PM Tom_L: pretty sure he's getting rid of the spin boxes
10:07 PM Tom_L: tool_change_pb & tool_change_cb work together so discard next_tool_sb
10:08 PM Tom_L: for a single tool with a button hardcoded you would use tool_change_pb_n
10:09 PM Tom_L: i have both examples in tom.ui on the touchoff page
10:10 PM Tom_L: he may have overlooked the next_tool_sb missing message
10:12 PM Tom_L: i just tested it there and get no warning
10:15 PM Tom_L: he was working on that today iirc
10:23 PM Tom_L: rdtsc, also i tested the plot options checkbox save this morning on a rpi and it works fine here
10:29 PM Tom_L: also as of today, the font size for the DRO can be set in the ini
11:27 PM rdtsc is now known as rdtsc_away