#linuxcnc Logs
Jul 29 2024
#linuxcnc Calendar
02:09 AM lcnc-relay: <turboss> morning
08:13 AM lcnc-relay: <skunkworks8841> supposed to have scattered thunder storms today..
09:05 AM rdtsc2 is now known as rdtsc-wk
10:31 AM lcnc-relay: <roguish> sunny and cool so far. forecast high 70's today. probably go to low 80's. lots better than 100's....
10:39 AM lcnc-relay: <roguish> Tom_L: hey Tom, in the deb buildbot, what is the 'scratch' branch? compared to master or the others???
10:47 AM Tom_L: i'm not sure
10:47 AM Tom_L: maybe somebody's test branch?
10:48 AM lcnc-relay: <roguish> buildbot2, the bookworm scratch branch actually completed a deb.
10:48 AM lcnc-relay: <roguish> master branch, still no
10:49 AM lcnc-relay: <roguish> think i'll download the scratch and try an install. see what it is.
10:49 AM Tom_L: i think the docs are breaking it possibly
10:49 AM Tom_L: http://buildbot2.highlab.com/debian/dists/bookworm/
10:49 AM Tom_L: here?
10:50 AM Tom_L: looks like a merge branch
10:50 AM Tom_L: no completed debs
10:51 AM lcnc-relay: <roguish> the docs are definitely the problems....
10:51 AM Tom_L: i'm guessing but they likely merge there and test then move to a 'good' branch
10:51 AM Tom_L: scratch pad
10:51 AM Tom_L: i've never paid much attention to it
10:53 AM Tom_L: 07/08 looks like the last 2.10 build
10:53 AM lcnc-relay: <roguish> i see hansu and pere are working at it...
10:53 AM lcnc-relay: <roguish> looking at github source changes
10:55 AM Tom_L: my last one from there was 2.9.3-5
10:56 AM Tom_L: there's a 2.9.3.17 up from 07/27
10:57 AM Tom_L: linuxcnc-uspace_2.9.3.17.gb680f17b50_amd64.deb
10:57 AM lcnc-relay: <roguish> cmorley is making changes in qtdragon, and pushes to master, that I need. I can't tell if the changes get pushed down to 2.9.3
10:58 AM Tom_L: ahh
10:58 AM Tom_L: you can if you install it :)
10:59 AM Tom_L: what pr was it do you know?
11:00 AM lcnc-relay: <roguish> db66171 I think. that's what shows in github
11:01 AM lcnc-relay: <roguish> i'm not very good at this shit, trying to get better....
11:03 AM Tom_L: i've never tried to follow individual PR
11:04 AM Tom_L: while you're waiting for a dragon patch you should be building a flex gui :)
11:04 AM Tom_L: i don't think i've ever loaded dragon tbh
11:05 AM Tom_L: gscreen and gmocapy but that's about it aside from axis
11:05 AM lcnc-relay: <roguish> yeah, I'm waiting on JT and you to get it all sorted.....
11:05 AM Tom_L: it's actually pretty solid aside from the plotter
11:06 AM Tom_L: he just has to figure out all the options
11:06 AM lcnc-relay: <roguish> the qtdragon stuff is for a spindle inhibit when a probe is installed. took a couple of changes but he finally got it going.
11:06 AM Tom_L: ahh
11:06 AM lcnc-relay: <roguish> i asked for it aftger i spun my probe..... doh.
11:07 AM Tom_L: should have asked a day earlier
11:07 AM lcnc-relay: <roguish> and Rodw liked the idea too
11:07 AM Tom_L: yeah that makes sense
11:09 AM Tom_L: does it disable the enable line or just set an M code?
11:09 AM Tom_L: you _could_ do that in your probe routine
11:11 AM lcnc-relay: <roguish> not sure of the actual function. dragon has a spindle inhibit. had to set a tood number for the probe, then link to the inhibit. don't think it was too difficult.
11:11 AM lcnc-relay: <roguish> it's not in a probe routine. it's if the probe tool is loaded.
11:13 AM JT-Shop: what a pia to have to do that
11:14 AM lcnc-relay: <roguish> dragon has a preference file for lots of its parameters. he added a line for the probe tool number. then somewhere, then when that tool is loaded it must set something, which is then tied to the spindle inhibit.
11:14 AM lcnc-relay: <roguish> OH, JT, not for you....... should be pretty straightforward
11:18 AM lcnc-relay: <roguish> JT-Shop: come on JT... at least think about it......
11:21 AM Tom_L: that could also be set up in the cam post for that tool
11:21 AM Tom_L: or the cam tool library
11:22 AM Tom_L: i have a dowel pin i did that with
11:22 AM Tom_L: to move down and locate material in a vise instead of a stop
11:30 AM lcnc-relay: <roguish> well. time for some errands. gotta go the the depot and get some gas pipe....and fittings....ugh
11:31 AM lcnc-relay: <roguish> bbl
11:47 AM Tom_L: JT-Shop, did you see where i got the dro in the plot window just messin around?
11:47 AM Tom_L: shows axis homed and all the dro stuff independent of widgets
11:59 AM JT-Shop: no didn't see that
12:05 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/rpi_plot_dro2.png
12:05 PM Tom_L: not homed there
12:08 PM Tom_L: set self.enable.dro = True and it just showed up
12:08 PM Tom_L: haven't found the 'origin' one yet
12:12 PM JT-Cave: holy crap batman that's a cool find
12:13 PM Tom_L: i saw you'd started some code for dro and figured you had that one
12:13 PM Tom_L: it's all there with no widgets !
12:14 PM JT-Cave: nice find
12:14 PM Tom_L: i had to change the font size for the rpi screen
12:14 PM Tom_L: that's on line 284 285
12:15 PM Tom_L: 248 is the enable
12:21 PM rdtsc-wk: Are these examples included in https://github.com/jethornton/flexgui/releases ?
12:22 PM Tom_L: a few
12:22 PM Tom_L: ^^ that link is one
12:22 PM Tom_L: in the examples folder
12:23 PM rdtsc-wk: think I dl'd 0.9.3 and regenerated the examples but it seemed quite bare. Had some issues with Rpi lately, could be me.
12:23 PM JT-Cave: damn it didn't work because of a typo...
12:23 PM JT-Cave: if 'show_dro_cb' in parent.children:
12:23 PM JT-Cave: parent.view_inches_cb.toggled.connect(partial(utilities.view_dro, parent))
12:23 PM Tom_L: i saw that code and wondered why it didn't
12:25 PM Tom_L: i did notice an odd behavior though, when inch was checked it showed inch but when i unchecked it with the dro cb defined, the dro showed up
12:25 PM Tom_L: probably due to the typo
12:25 PM Tom_L: inch was toggling the dro as well
12:26 PM JT-Cave: when I selected show dro I only got the X axis in metric then when I selected inch it disappeared
12:26 PM JT-Cave: anyway nap time here
12:26 PM Tom_L: yeah
12:26 PM Tom_L: yup. just finished yardwork for the niece, showered lunch now nap
12:29 PM Tom_L: ahh that should be view_dro...
12:29 PM Tom_L: i see it i think
12:33 PM Tom_L: i got the dro checkbox to work but it's backwards :)
12:34 PM Tom_L: unchecked it shows
12:36 PM Tom_L: reverse the logic in utilities.py too
12:36 PM Tom_L: 210 & 212
12:37 PM Tom_L: ok nap for sure now
12:39 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/rpi_plot_dro3.png
12:39 PM Tom_L: shown with the 'home' indicators on that one
12:56 PM Tom_L: i'll let you fix that rather than pushing from here
12:56 PM Tom_L: not as confident when it comes to code changes
02:00 PM -!- #linuxcnc mode set to +v by ChanServ
02:48 PM -!- #linuxcnc mode set to +v by ChanServ
02:50 PM SamPls: hey all.. got a question needing help with, i have a probe routine..
02:50 PM SamPls: G91
02:50 PM SamPls: G38.2 Y- #<y-limit> F 300
02:50 PM SamPls: gives .. probe move would exceed Y's negative limit
02:50 PM SamPls: so i think i need an if sub, something like
02:50 PM SamPls: o200 if [#<_abs_y> lt 100]
02:50 PM SamPls: #<y-limit>= [#<_abs_y> 0 + 6]
02:50 PM SamPls: o200 else
02:50 PM SamPls: #<y-limit> = 100
02:50 PM SamPls: o200 endif
02:50 PM SamPls: But im having a brain fart and cant figure it out
02:50 PM SamPls: any help?
02:55 PM Tom_L: have you seen chris's probe routines?
02:55 PM Tom_L: they might shed some light...
02:55 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/cradek/
02:59 PM lcnc-relay: <roguish> Tom_L: is your screen stretchable to get bigger ?
03:01 PM Tom_L: not the rpi one, i made it for a specific size
03:02 PM Tom_L: for the rpi touch screen... iirc it was 800 x 4xx something
03:02 PM Tom_L: some of jt's examples do
03:02 PM lcnc-relay: <roguish> don't need an rpi. need a 27" screen
03:02 PM Tom_L: guess i'm not following..
03:03 PM lcnc-relay: <roguish> I have a 27" screen on my mill. touch screen
03:03 PM Tom_L: ok
03:03 PM lcnc-relay: <roguish> and it doesn't run on a rpi
03:03 PM Tom_L: i don't own any touch screens
03:04 PM Tom_L: wish i had one to test with but i don't
03:07 PM lcnc-relay: <roguish> just finished some gas piping under the house.....first half of project done... try to do the 2nd half tomorrow.
03:08 PM Tom_L: fun
03:09 PM Tom_L: i redid all that stuff when i dug the basement years ago
03:09 PM lcnc-relay: <roguish> in and out of the access is the worst. barely fit.....only 14" wide, and about 20" tall
03:09 PM lcnc-relay: <roguish> the access, not me
03:10 PM lcnc-relay: <roguish> and crawling around in the dirt is no fun.
03:10 PM Tom_L: i have 2 crawl spaces where they poured the basement walls about the same
03:10 PM Tom_L: i'm not sure i'd fit in one of them now
03:12 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/temp/house/1.jpg
03:12 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/temp/house/11.jpg
03:12 PM Tom_L: copied from film if that tells how long ago...
03:15 PM lcnc-relay: <roguish> my house was built in '46, a post war house. thin, lightly reinforced perimeter foundation. lot is a slight grade. in the access corner i can sit up ok. in the opposite diagonal corner, ya gotta be between the floor joist to roll over.
03:15 PM Tom_L: :)
03:16 PM Tom_L: this was built in the 20-30's
03:16 PM Tom_L: not sure how accurate the records are
03:16 PM Tom_L: found a few square nails
03:33 PM lcnc-relay: <roguish> tomorrow i'm going to install a seismic shutoff safety valve at the meeter.
03:33 PM lcnc-relay: <roguish> required in Cal
03:43 PM Tom_L: iirc they put those on water heaters now too don't they?
03:44 PM lcnc-relay: <roguish> here, they go right at the meter. it's got a small ball sitting on stilts, when it gets shaken, the ball falls off and plugs a hole.. pressure is only like 4 psi
03:45 PM lcnc-relay: <roguish> there's some sort of lttle mechanism that you use to pick the ball up and place it back on the stilts.
03:46 PM Centurion_Dan1 is now known as Centurion_Dan
03:47 PM jfsimon1981_b is now known as jfsimon
03:47 PM Tom_L: they're quite proud of those
03:49 PM Tom_L: aparently you don't need one for a tornado...
03:49 PM Tom_L: it will clear the house so the gas won't acumulate
03:52 PM Tom_L: https://mcsmeters.com/products/earthquake-gas-shutoff-valve
03:52 PM Tom_L: hmm
03:52 PM lcnc-relay: <roguish> yup mine looks like that
03:53 PM lcnc-relay: <roguish> 3/4"
03:53 PM Tom_L: the chain must be the reset mechanism
03:53 PM lcnc-relay: <roguish> sounds right
03:53 PM xxcoder: interestibng
03:56 PM roycroft: oh jeez
03:56 PM roycroft: a bunch of new fires have started up since i last checked on saturday
03:57 PM roycroft: i had to drive down to the valley today and could not see any of the lakes that are right alongside the road
03:57 PM roycroft: the aqi is 235 right now - extremely unhealthy
03:58 PM lcnc-relay: <roguish> are you looking at purpleair ?
03:58 PM roycroft: the sun was dark red this morning
03:59 PM roycroft: the sky is yellow and completely obscured
03:59 PM lcnc-relay: <roguish> https://map.purpleair.com/1/mAQI/a10/p604800/cC0#8.97/43.9571/-122.4486
04:00 PM roycroft: i don't know much for purpleair, but it's the 40th anniversary of purple rain
04:00 PM xxcoder: next week looks to be very hot. ugh
04:00 PM roycroft: but yeah, that map says it
04:00 PM roycroft: i'm in oakridge
04:00 PM roycroft: the purplist part of the map
04:01 PM xxcoder: very green here
04:02 PM roycroft: i'm not sure how much i trust that map, though
04:02 PM roycroft: i was down in cottage grove this morning, and there was thick, heavy smoke the whole way
04:02 PM roycroft: thicker west of town than in town, even
04:02 PM lcnc-relay: <roguish> it's pretty good Roy
04:03 PM roycroft: i could not see dexter reservoir, although the sides of the reservoir are right next to the road, and that map shows the aqi there in the 40s - moderate
04:03 PM roycroft: the aqi has to be in the mid 200s there
04:04 PM roycroft: and cottage grove shows an aqi of 4, but the sky was yellowish there and the smoke smell pretty strong
04:04 PM lcnc-relay: <roguish> ok, nap time,,,,,
04:04 PM roycroft: cottage grove has to be at least at 150
04:04 PM roycroft: unless things have cleared up significantly in the last 2 hours
04:05 PM roycroft: i'd say it's pretty accurate where i am right now
04:10 PM Tom_L: 482 at an elementary scool there
04:11 PM roycroft: the elementary school :)
04:11 PM roycroft: it's a town of 3300 people
04:35 PM Tom_L: JT-Cave, show_vel_cb works too but the logic is reversed in utilities.py
04:35 PM Tom_L: ln 203 & 205
04:37 PM Centurion_Dan1 is now known as Centurion_Dan
05:03 PM Unterhaus_ is now known as unterhausen
05:06 PM JT-Cave: https://pasteboard.co/iFZTrsY1UA1Q.png
05:06 PM JT-Cave: seems the dro only works when not running next to a sim
05:07 PM Tom_L: hmm
05:07 PM Tom_L: i can push these if you want them
05:07 PM JT-Cave: and I changed some of the defaults but still need to load units at startup from the ini
05:07 PM Tom_L: the logic is backward on a couple and i added the dtg code
05:08 PM Tom_L: just practicing here really
05:08 PM JT-Cave: so now it makes me wonder if the refresh actually works now
05:09 PM Tom_L: above my paygrade :)
05:09 PM JT-Cave: and it does work... and that was driving me nukin fuks
05:10 PM Tom_L: i found some things don't work on it until you load a file
05:10 PM JT-Cave: so I added code that when you change offsets it reloads the plot
05:10 PM JT-Cave: with the dro
05:10 PM JT-Cave: ?
05:10 PM Tom_L: yeah
05:11 PM * JT-Cave heads to the big shop to to a little rubber bonding
05:11 PM Tom_L: units for one
05:11 PM Tom_L: or they behave differently with/without a file
05:12 PM Tom_L: some you have to move the view with the mouse to get a refresh
05:13 PM * roycroft heads to the shop to set up some timber storage so he can make room to unload the air compressor and dust collector from the pickup
05:13 PM Tom_L: with a file loaded, they all seem to respond without moving the view
05:13 PM roycroft: *if* can breathe out there
05:16 PM * JT-Woodshop waits 5 minutes for the glue to dry...
05:17 PM JT-Woodshop: I prob need to do an parent.plotter.update() after changing units
05:28 PM JT-Shop: what items don't change with the checkbox toggle?
05:29 PM Tom_L: that's just with no file loaded
05:29 PM JT-Shop: with no file loaded if you move the plot do they update
05:29 PM Tom_L: yes
05:30 PM Tom_L: except inch/metric don't display until you load a file
05:30 PM JT-Shop: interesting
05:31 PM JT-Shop: you mean the xyz dro does not show up without a file?
05:31 PM Tom_L: i haven't fully tested it, just got it working a bit ago
05:31 PM Tom_L: dro doesn't change until you move the display
05:31 PM JT-Shop: ok I can fix that
05:32 PM Tom_L: inch/mm doesn't display until you load a file
05:32 PM JT-Shop: I was testing a bunch of stuff trying to get something to work lol
05:32 PM Tom_L: DTG, velocity need mouse movement
05:32 PM JT-Shop: the dro does not display without a file?
05:32 PM Tom_L: same with limits
05:32 PM JT-Shop: or it does not change from inch to metric?
05:32 PM Tom_L: it displays without a file but doesn't update until you move the mouse
05:33 PM Tom_L: the only one that doesn't display without a file is in/mm
05:33 PM JT-Shop: so no xyz without a file?
05:33 PM Tom_L: i don't have all the offsets etc showing like you either
05:33 PM Tom_L: i get xyz without a file
05:34 PM Tom_L: the only one that doesn't display without a file is in/mm
05:34 PM JT-Shop: what is in/mm?
05:34 PM Tom_L: the bounds of the gcode
05:34 PM Tom_L: not the bounding box
05:34 PM JT-Shop: ah yes that will not display without a file loaded
05:34 PM Tom_L: the dimensions
05:34 PM JT-Shop: there's nothing to display without a file
05:34 PM Tom_L: makes sense
05:35 PM Tom_L: and i still can't find that origin marker
05:35 PM JT-Shop: I see it when I set an offset
05:35 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/rpi_origin.png
05:35 PM Tom_L: oh
05:35 PM Tom_L: i do have offsets set
05:36 PM JT-Shop: g54 offsets?
05:36 PM Tom_L: yes
05:36 PM Tom_L: one thing that might be nice would be a way to change the font size with a setting once you get everything working
05:37 PM Tom_L: there are 2 font sizes
05:37 PM Tom_L: normal and large
05:37 PM Tom_L: i changed them both for the rpi screen a bit
05:37 PM JT-Shop: that should not be a problem
05:37 PM JT-Shop: http://linuxcnc.org/docs/stable/html/gui/axis.html#_graphical_display_area
05:38 PM JT-Shop: that blue thing is the machine origin marker
05:38 PM JT-Shop: When the coordinates displayed are relative and an offset has been set, the display will include a cyan machine origin cyan machine origin marker.
05:38 PM Tom_L: i figured but didn't know if there was a switch for it
05:39 PM Tom_L: fonts are on LN 284 285
05:39 PM Tom_L: and a switch on 286
05:40 PM Tom_L: i haven't tested that switch
05:40 PM JT-Shop: I'm pretty stoked to get this working
05:40 PM Tom_L: i was looking at the origin date of February. look what's happened in 5 months
05:41 PM Tom_L: and i feel that it's pretty darn solid
05:42 PM Tom_L: i'm sure there will be other suggestions along the way
05:42 PM JT-Shop: only 778 commits to get this far
05:42 PM Tom_L: did you push the fixes for the checkboxes?
05:43 PM Tom_L: i saved a copy of mine but was gonna pull the changes
05:43 PM JT-Shop: https://github.com/jethornton/flexgui/commit/cd10a631a3569774744fdc6b3f0c135a77d15528
05:44 PM Tom_L: i'll test it
05:47 PM Tom_L: you didn't add dtg
05:47 PM JT-Shop: I just fixed the one
05:47 PM Tom_L: maybe that doesn't display with all the other stuff loaded
05:47 PM JT-Shop: I think it should
05:48 PM Tom_L: can you turn off G54 G92 TLO?
05:48 PM Tom_L: i don't have boxes for those yet
05:48 PM JT-Shop: https://pasteboard.co/iFZTrsY1UA1Q.png
05:48 PM JT-Shop: dtg would show above g92 IIRC
05:48 PM Tom_L: right, that's what i have
05:48 PM Tom_L: i'll add my dtg in and see
05:51 PM JT-Shop: so to recap I need checkable menu items for each setting, finish the checkboxes, read the ini to set some, save settings to the preference file and use that on startup
05:51 PM Tom_L: yeah
05:51 PM Tom_L: does it save those defaults from the menu on startup?
05:51 PM Tom_L: i made a 'view' menu already
05:52 PM JT-Shop: it will save them and restore them on startup
05:54 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/DTG.png
05:54 PM Tom_L: dtg is above G92
05:54 PM JT-Shop: yup
05:54 PM JT-Shop: looking good
05:54 PM Tom_L: it may move if some of the others are absent
05:55 PM JT-Shop: try it out
05:55 PM Tom_L: i don't have checkboxes for all of them yet
05:55 PM Tom_L: are they all separate?
05:55 PM JT-Shop: yup same as axis
05:55 PM Tom_L: got some names?
05:56 PM JT-Shop: ?
05:57 PM Tom_L: for the G54 G92 etc
05:57 PM JT-Shop: looks like show offsets shows all of them
05:58 PM JT-Shop: just run an axis sim and test the view menu out
05:59 PM Tom_L: yeah that kills them all but the x y z
05:59 PM Tom_L: and dtg
06:00 PM Tom_L: the dtg doesn't change in axis
06:01 PM Tom_L: with them all off it does
06:01 PM JT-Shop: changes for me when running a program
06:01 PM Tom_L: without all the G54 etc it works
06:02 PM JT-Shop: works for me with offsets on
06:02 PM Tom_L: doesn't change here, they're just on
06:03 PM Tom_L: DTG x y z
06:03 PM Tom_L: instead of just dtg
06:13 PM Tom_L: added show offsets
06:13 PM Tom_L: works
06:14 PM JT-Shop: cool
06:14 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/Offsets.png
06:15 PM Tom_L: DTG toggles there too
06:16 PM Tom_L: they all seem to need a refresh though
06:16 PM Tom_L: before the checkbox change takes effect
06:17 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/Offsets_off.png
06:17 PM Tom_L: offsets turned off
06:18 PM Tom_L: guess i had limits off too
06:19 PM JT-Shop: must be time to get some chow
06:19 PM Tom_L: as we speak
06:20 PM Tom_L: great progress...
06:22 PM Tom_L: 100°F
06:29 PM bjorkintosh: that's a win for the sun.
07:09 PM JT-Shop: yup my first commit for flex was Feb 7th
07:28 PM Tom_L: pretty quick imo
07:42 PM roycroft: i got the hangers installed for my lumber, and the wood moved, but it's really hard to breathe, and that makes things a lot more difficult
07:42 PM roycroft: i think i'll probably unload the pickup tomorrow - i'm quite out of breath already
07:52 PM roycroft: the aqi dropped to single digits since i came in the house
07:52 PM roycroft: i guess there must be a light breeze from the right direction
07:53 PM roycroft: i'm still done with outside work for the day
08:34 PM lcnc-relay: <ffffrf> do you guys suggest i try to find a post processor and modify it? For a live tooling lathe with no Y axis (meaning it can only do 2D milling operations)
08:38 PM DrKlinger_: Can I use a 7I90HD to control solenoids/stepper motor drivers/limit switches/VFD through LinuxCNC? I've got a weird setup the other cards don't particularly meet.
08:53 PM pcw-home: Possibly...
08:59 PM DrKlinger_: Reading through it, I think it's more FPGA config and less safety features on the board. I'll take it as worth a good try.