#linuxcnc Logs

Sep 21 2024

#linuxcnc Calendar

12:55 AM Deejay: moin
03:08 AM Tom_L: morning
03:36 AM lcnc-relay: <Travis Farmer> Morning
03:53 AM JT-Cave: morning
04:20 AM -!- #linuxcnc mode set to +v by ChanServ
04:31 AM NoSpark: morning
04:31 AM NoSpark: Is there a way to get better debug output while writing gcode remap functions?
04:31 AM NoSpark: "Unknown word starting with a" is not very informative
05:20 AM JT-Cave: another developer bites the dust... Phill Carter just asked to have his push rights removed from the linuxcnc repo
05:21 AM lcnc-relay: <Travis Farmer> sad, how many are left now?
05:22 AM JT-Cave: I have no clue
05:22 AM JT-Cave: one problem is he created some monster plasma gui's that no one will support now
05:24 AM lcnc-relay: <Travis Farmer> i would join up, but it would not improve the project any 😉
06:07 AM Tom_L: JT-Cave, how many probe routines do you think we lack?
06:08 AM JT-Cave: I don't even know how many we have...
06:08 AM JT-Cave: working on a popup keyboard atm
06:09 AM Tom_L: 4 edges inside and out, tool, material top, hole id od
06:09 AM Tom_L: gonnna test the od soon as the sun comes up
06:17 AM JT-Cave: hole od sounds fun, do you go up and over?
06:20 AM JT-Cave: Step Down was created by phillc54
06:20 AM JT-Cave: Could an administrator please remove me as a forum moderator.
06:20 AM Tom_L: yes
06:20 AM Tom_L: i probe the top first
06:20 AM Tom_L: to get a z clear
06:20 AM JT-Cave: what if it's a tube?
06:21 AM Tom_L: then you may be screwed
06:23 AM Tom_L: i could set a random z value to drop for probing but thought it could bottom out that way too
06:25 AM Tom_L: besides, i named it p-bar, not p-tube :)
06:25 AM Tom_L: it wouldn't be hard to hardcode a z probe distance
06:34 AM JT-Cave: https://gnipsel.com/linuxcnc/flexgui/mdi.html
06:34 AM JT-Cave: a little change in the MDI line edit naming
07:07 AM Tom_L: anything current that needs edit?
07:07 AM Tom_L: nice kbds
07:42 AM JT-Cave: only the mdi command line edit name in a touch screen
08:02 AM JT-Cave: oh well I'll try and finish up the mdi tomorrow
08:10 AM JT-Cave: https://youtu.be/Pim8ddHuOIY
08:11 AM JT-Cave: maybe I am finished with mdi now
08:21 AM lcnc-relay: <Travis Farmer> does that mean there is an opening for a forum moderator? i haven't a huge amount of Joomla experience, but i admin 2 forums for Vertical Scope, and moderate another for them, on XenForo software. i could learn the Joomla software...
08:38 AM JT-Cave: well he just moderated his sub forum about plasma
08:38 AM lcnc-relay: <Travis Farmer> oh...
09:08 AM rdtsc: https://www.youtube.com/watch?v=ybMKlwgkNO0 A.I. v2.0 is here...
09:43 AM rdtsc: Re: attributeerror, 'flexgui' object has no member 'statusbar' - think it was from when the statusbar was re-added, it was named statusBar, not statusbar... testing.
09:45 AM john__: yup if you delete the statusbar then add it again I "think" it gets names something like statusbar_1
09:46 AM john__ is now known as JT-Auto-Shop
09:47 AM rdtsc: yes it does, and doesn't want to be renamable... think I had to edit the .ui manually to fix it... moral of this story, do not remove the statusbar lol
09:48 AM JT-Auto-Shop: I've ran into that with sequential number items all of a sudden skipping a bunch of numbers
09:49 AM JT-Auto-Shop: seems like you've deleted the status bar before?
09:51 AM lcnc-relay: <skunkworks8841> lol - I think I need the bambu on a stiffer table..
09:51 AM rdtsc: yeah took Tom's mill3_touch and expanded most of the tabs into a 1920x1080 window to test full-screen. tried removing the menu and statusbar - that caused a lot of problems - ended up reverting to a prior version and still had to re-add the statusbar
09:52 AM JT-Auto-Shop: removing the menu should not be a problem
09:52 AM rdtsc: the X1C does shake pretty good SW - default speeds are quite fast and it has that resonance-calibration feature
09:53 AM rdtsc: well all bambu printers' defaults are fast anywats
09:55 AM lcnc-relay: <Travis Farmer> i can't afford a bambu... all i have is a Ender 3 (Euro model)
09:57 AM rdtsc: ditto but use one at work; nice but quite pricey
09:57 AM lcnc-relay: <skunkworks8841> I splurged and gave myself a birthday present..
09:58 AM lcnc-relay: <skunkworks8841> I thought printing was easy enough with the ender 3 and monoprice mini.. but the bambu is next level
09:58 AM lcnc-relay: <Travis Farmer> i can't even afford a filament dryer...
09:59 AM rdtsc: saw a vid where a guy was using several cans taped together and hot air to dry filament as it is fed into the printer... kinda genius really
09:59 AM lcnc-relay: <skunkworks8841> I have never had a dryer..
09:59 AM lcnc-relay: <Travis Farmer> i have PETG
10:00 AM rdtsc: just get a box with a gasketed lid, with plenty of dessicant packs, and store the spools in that
10:00 AM lcnc-relay: <skunkworks8841> I would like to try the new bambu petg.. reviews are pretty good
10:00 AM rdtsc: every year, bake the dessicant packs at 200F for 8hrs - rejuvinates them
10:00 AM JT-Cave: rdtsc, having a statusbar is now optional
10:01 AM rdtsc: nice JT! :)
10:01 AM JT-Cave: if you're using the rpi deb you need to wait for Tom_L to build
10:01 AM JT-Cave: the only way to find out about these things is getting feedback from users :) so thanks
10:02 AM lcnc-relay: <Travis Farmer> how do i keep flex up to date without a deb? where do i put files?
10:02 AM JT-Cave: how are you using flexgui?
10:04 AM lcnc-relay: <Travis Farmer> on my linuxcnc machine... i installed 0.9.9 deb, and then installed the .ui in my config folder
10:04 AM rdtsc: Oh cool, another person trying Flex :)
10:05 AM JT-Cave: ah then you just need to get a fresh copy of the deb and reinstall
10:06 AM lcnc-relay: <Travis Farmer> oh, you just update 0.9.9 to fresh?
10:06 AM JT-Cave: yup just download 0.9.9 again and use gdebi to reinstall
10:06 AM lcnc-relay: <Travis Farmer> ok, will do 🙂
10:07 AM rdtsc: Interesting... on a running .ngc I can adjust the feed rate from the MPG, and <100% is reflected in slowdown of the (Z stepper only currently), but >100% stays locked at 100% speed, even though the rate is shown as >100%
10:08 AM rdtsc: likely a config thing
10:11 AM lcnc-relay: <Travis Farmer> i love that my spindle slows down so much faster now... went from a 20 seconds to stop, to less than 6 seconds. but boy it makes some noise (now correct braking resistor) 🙂
10:12 AM rdtsc: nice. if the VFD supports "DC injection braking" that may also help to slow it down even faster - not all support it.
10:13 AM -!- #linuxcnc mode set to +v by ChanServ
10:13 AM lcnc-relay: <Travis Farmer> it does, but i don't have te money for that equipment 😉
10:17 AM lcnc-relay: <JT> https://jauriarts.org/_matrix/media/v3/download/matrix.org/WKsvkofmgICmTFkaiaGrGYNb/20240921_101001_5046474598378668552.jpg
10:17 AM JT-Shop: I guess images are still broken
10:17 AM lcnc-relay: <roguish> JT: your's ??? nice
10:17 AM JT-Shop: yes
10:18 AM JT-Shop: my 80's Samson lathe uses DC to brake the spindle and it's very effective when it works
10:18 AM lcnc-relay: <roguish> JT-Shop: how good is cut-n-paste working in qtdesinger and flex?
10:18 AM JT-Shop: pasting into designer is only possible if no layout is set in the container widget
10:19 AM lcnc-relay: <Travis Farmer> image says not found...
10:19 AM JT-Shop: yup it was like that the other day too
10:20 AM JT-Shop: I can see it on matrix
10:20 AM lcnc-relay: <Travis Farmer> i seem to remember something like that... i will open matrix
10:21 AM JT-Shop: hmm maybe I'm using element
10:22 AM lcnc-relay: <Travis Farmer> i have the wagon wheel of death on the image in matrix (element)
10:35 AM Tom_L: vid on the way
10:36 AM JT-Shop: roguish did that make sense?
10:41 AM Tom_L: wtf was that vid editor i just used.....
10:43 AM JT-Shop: flowblade?
10:43 AM Tom_L: i found i
10:43 AM Tom_L: t
10:44 AM lcnc-relay: <Travis Farmer> we all sit on the edge of our seats while tom finds his commands 😉
10:46 AM * Tom_L takes a nap while it's processing
10:52 AM Tom_L: https://www.youtube.com/watch?v=aFIyd-bjOCU
10:58 AM JT-Shop: nice
10:58 AM JT-Shop: do you have a debug message about the current location after the probing is done?
10:59 AM Tom_L: i did at one point
11:00 AM Tom_L: should show on the dro too
11:00 AM JT-Shop: do you set the dro to XY0?
11:00 AM Tom_L: i don't set anything. just push the go button
11:00 AM JT-Shop: if you had an info_pte it will show the messages
11:01 AM JT-Shop: are you using the probe enable checkbox?
11:01 AM Tom_L: i've been watching it in the error window
11:01 AM Tom_L: no to the checkbox yet
11:01 AM Tom_L: not that i remember anyway
11:01 AM JT-Shop: looking real good for wure
11:02 AM Tom_L: been making quite a few changes.. kinda hard to keep up
11:02 AM JT-Shop: understand that for sure
11:02 AM JT-Shop: did you see that I made the statusbar an optional thing?
11:02 AM rdtsc: lookin good!
11:02 AM Tom_L: you just gotta make sure for the radius you select that you're somewhat near centeer
11:02 AM Tom_L: i heard rdtsc complaining about it :)
11:03 AM JT-Shop: I heard the complaint twice...
11:03 AM * JT-Shop hears a nap calling his name
11:03 AM * rdtsc never complains... just thinks out loud annoyingly :)
11:03 AM Tom_L: he should wait twice as long then
11:03 AM JT-Shop: lol
11:03 AM * Tom_L takes an early lunch
11:04 AM Tom_L: was up rather early, now i'm hungry
11:04 AM Tom_L: i would be curious how this behaves if a machine homes from another spot
11:04 AM Tom_L: i've seen some home from different places
11:05 AM Tom_L: mine is the RR corner
11:05 AM Tom_L: i've seen LF too
11:05 AM rdtsc: pretty brave, doing that with steel objects :)
11:05 AM Tom_L: i did my homework
11:53 AM * JT-Cave waits for the pr
11:59 AM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/UxCdVNAphuEywhMCzJLxPoyj/PXL_20240921_164545250.jpg
11:59 AM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/JKeCYFERETYThXLVbpdTVToX/PXL_20240921_164539963.jpg
12:00 PM lcnc-relay: <skunkworks8841> Dad got an er collet chuck for the emco.. worked really awesome to make the shaft
12:10 PM lcnc-relay: <skunkworks8841> Drew up in freecad.. took 3 iterations.. 25 min to print
12:18 PM -!- #linuxcnc mode set to +v by ChanServ
12:19 PM Tom_dev: JT-Shop, this doesn't seem to be reading the flexgui value: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/probetip1.png
12:19 PM Tom_dev: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/probetip2.png
12:20 PM Tom_dev: if i uncomment the top line it works
12:20 PM Tom_dev: i'm not seeing what i'm doing wrong]
12:21 PM Tom_dev: i even changed the ui default to 2mm
12:23 PM lcnc-relay: <Travis Farmer> maybe i am wrong, but if you are setting a pin, would it be HAL_IN?
12:23 PM lcnc-relay: probably wrong...
12:23 PM Tom_dev: it reads the others
12:23 PM lcnc-relay: <Travis Farmer> Hmm
12:23 PM Tom_dev: that value is out
12:25 PM lcnc-relay: <Travis Farmer> should that read from the INI, or from HAL in the Gcode
12:26 PM lcnc-relay: <Travis Farmer> guessing, as i don't see the backend python...
12:26 PM Tom_dev: i may see what's going on
12:33 PM lcnc-relay: <Travis Farmer> i think i see it now too... in the Gcode, i am guessing probe_tip_diam needs to be in all caps like in the INI
12:44 PM lcnc-relay: <Travis Farmer> well, i gotta head out to my shop and move my tool setter to a more reasonable location....
01:05 PM rdtsc: Re: feed rate not physically faster than 100%: ended up being the .ngc had a feed setting of 1000 which was far outside physical limits
01:12 PM Tom_L: on some machines
01:21 PM lcnc-relay: <big_kevin420> lol i got installed some of those encoders yesterday on some steppers
01:23 PM lcnc-relay: <big_kevin420> "Phill Carter just asked to have his push rights removed from the linuxcnc repo" fuuuuuuuucccckk phil was my only axis gui homie
01:31 PM lcnc-relay: <skunkworks8841> big_kevin420 they are ok.. a bit noisy for position control
01:31 PM lcnc-relay: <skunkworks8841> This is for spindle motor feedback
01:31 PM lcnc-relay: <big_kevin420> shit seriously?
01:31 PM lcnc-relay: <big_kevin420> it said they might be depending on the motor
01:32 PM lcnc-relay: <big_kevin420> i havent used capactive encoders before
01:33 PM lcnc-relay: <skunkworks8841> I wouldn't use them for closed loop
01:35 PM Tom_L: skunkworks, you see the probe yt?
01:35 PM rdtsc: could be noise getting into the encoder wiring; try shielded cable perhaps
01:35 PM lcnc-relay: <skunkworks8841> https://youtu.be/8RWqHW2AtrA?si=WXR8cMroMm03FZX_
01:36 PM Tom_L: it didn't even smile
01:37 PM lcnc-relay: <skunkworks8841> Tom_L: new probe!
01:38 PM Tom_L: pretty cheap but it's doing what i wanted
01:38 PM lcnc-relay: <skunkworks8841> I have tried the cui in multiple control loops.. I won't use them for that
01:40 PM lcnc-relay: <big_kevin420> thats not what i wanted to hear
01:40 PM lcnc-relay: <big_kevin420> fuck the optical ones are 2x the price dammit
01:41 PM lcnc-relay: <big_kevin420> now i have to order those too dammit.
01:41 PM lcnc-relay: <skunkworks8841> I mean.. test it.. maybe you will have different luck
01:41 PM lcnc-relay: <big_kevin420> in the meantime im gonna try and prove you wrong.....
01:41 PM lcnc-relay: <big_kevin420> because they are already installed
01:41 PM lcnc-relay: <skunkworks8841> 🙂
01:41 PM lcnc-relay: <big_kevin420> not because i enjopyu it,
01:41 PM lcnc-relay: <big_kevin420> but im not gonna ask them for a refund
01:42 PM lcnc-relay: <big_kevin420> man, these capatcive ones are so convienent
01:42 PM lcnc-relay: <skunkworks8841> Tom_L: I think I have a couple of those probes
01:43 PM lcnc-relay: <skunkworks8841> You are going to love having a probe
01:44 PM lcnc-relay: <skunkworks8841> I have used the cui probes for a long time . There is one on the K&T spindle motor
01:44 PM lcnc-relay: <skunkworks8841> Lol.. encoders
01:45 PM lcnc-relay: <skunkworks8841> They just seem to dither and cause very noisy control loops
01:46 PM lcnc-relay: <big_kevin420> my machine is already so noisy...
01:46 PM lcnc-relay: <big_kevin420> i blew on it yesterday to clear some chips from the control board
01:46 PM lcnc-relay: <big_kevin420> it made my comms crash to the board
01:47 PM lcnc-relay: <big_kevin420> had to hard reset the board
01:47 PM lcnc-relay: <skunkworks8841> Lol
01:48 PM rdtsc: note that when I installed 2.9.3 anew and used the config from https://github.com/LinuxCNC/linuxcnc/tree/master/configs/by_interface/mesa/hm2-stepper that doesn't use PID at all... unsure how its possible and if that even applies for encoder feedback, but something to be aware of I guess
01:49 PM lcnc-relay: <big_kevin420> but i had to instakll my probe before that, because i cant go back to non probing
01:49 PM lcnc-relay: <big_kevin420> i dont erven know how to get a datum without a probe anymore
01:49 PM lcnc-relay: <big_kevin420> https://github.com/cakeslob/upload_things/raw/refs/heads/main/20240910_202042.mp4
01:51 PM lcnc-relay: <big_kevin420> doesnt every stepgen in linuxcnc use a pid?
01:52 PM rdtsc: that's what I thought... but I have none and it seems to run steppers fine on the bench
01:52 PM lcnc-relay: <skunkworks8841> I can't live without a probe
01:52 PM lcnc-relay: <big_kevin420> i think that its not broken out
01:52 PM lcnc-relay: <JT> Tom_L we are in Cape Girardeau
01:53 PM lcnc-relay: <big_kevin420> but yeah i run my other machine with a mesa, and it is mostly fine, ve never needed to adjust the parameters
01:53 PM lcnc-relay: <skunkworks8841> You can use stepgens without PID.. just not recommended
01:54 PM rdtsc: all handled internally I guess... and where acceleration wasn't being handled by pid in my 2.9.2 config, acceleration actually works great _without_ PID in 2.9.3. It's been a long road for sure
01:56 PM lcnc-relay: <JT> Tom_L we will be back in a couple of hours
01:56 PM rdtsc: Have fun JT
01:57 PM rdtsc: need to unbolt gantry from pusher bar so it can be slid around; gauging length of cable chain needed
01:58 PM lcnc-relay: <JT> For once we are in Cape without going to a doctor
02:00 PM lcnc-relay: <Travis Farmer> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/ibuWbKeYyosIxQqbCPHtzaaO/Screenshot_from_2024-09-21_14-24-07.png
02:00 PM lcnc-relay: <Travis Farmer> Flex is Flexing on my machine 🙂
02:01 PM lcnc-relay: <JT> Nice
02:02 PM lcnc-relay: <Travis Farmer> tried the stylesheet for dark blue... could not read the top buttons, so that may need tweaking a bit
02:04 PM lcnc-relay: <Travis Farmer> is there any way to make the E-Stop and Power buttons change color when each is active?
02:17 PM rdtsc: take a look at https://www.gnipsel.com/linuxcnc/flexgui/style.html
02:20 PM lcnc-relay: <JT> Only a checkable button can have a checked state in the stylesheet
02:21 PM lcnc-relay: <Travis Farmer> i mean the toolbar buttons
02:22 PM lcnc-relay: <JT> That would have to be in code I think
02:22 PM lcnc-relay: <Travis Farmer> i thought maybe. i was only curious
02:23 PM lcnc-relay: <JT> JT heads home
02:26 PM lcnc-relay: <Travis Farmer> oh, sorry, i didn't realize i was interrupting something.... 🙂
03:07 PM * Tom_L didn't miss JT cause he was testing/debugging probe routines
03:08 PM Tom_L: i've verified all the ones i have working on my mill
03:10 PM lcnc-relay: <JT> Cool
03:11 PM Tom_L: travis, i've tried to change the estop/power colors when on but haven't succeeded yet
03:11 PM Tom_L: checked the offsets with a mic
03:11 PM lcnc-relay: <JT> That would have to be done in code
03:12 PM Tom_L: i mean i verified when they backed off .2 that it was .2
03:12 PM lcnc-relay: <JT> 1/2 way home
03:12 PM Tom_L: 1/2 way to a nap
03:18 PM lcnc-relay: <Travis Farmer> thanks for trying Tom_L 🙂 even if it doesn't work
03:19 PM rdtsc is now known as rdtsc_away
03:28 PM Tom_L: JT-Cave, PR #89 for probe stuff
03:29 PM Tom_L: once you pull that i'll build a rpi deb
03:49 PM Unterhaus_ is now known as Unterhausen
03:49 PM Unterhausen: we had a giant rainstorm headed our way and it totally skipped us. Little dog would be very happy if she knew
03:50 PM Unterhausen: but it means I have to go mow the lawn
03:51 PM Tom_L: i could help you make excuses if you want
03:54 PM xxcoder: just turn lawn into gardens
03:54 PM xxcoder: no more mowing
03:54 PM xxcoder: uses much less water too
04:00 PM Tom_L: get a goat
04:01 PM lcnc-relay: <big_kevin420> pfft just dont mow the lawn
04:03 PM lcnc-relay: <big_kevin420> mom " you arent drinking while using the machines...."
04:03 PM lcnc-relay: me " dammit mom that was the only reason i bought a mill for home. you sound just like my work...."
04:17 PM Unterhausen: I gave up on drinking and machining after I squashed my finger. I also don't do any machining after 11pm
04:18 PM Unterhausen: This is so someone will be awake to take me to the ER
04:20 PM lcnc-relay: <big_kevin420> right i forgot that can happen with machines
04:21 PM lcnc-relay: <big_kevin420> my tiny mill, tbh the main risk is either to my eyes, because everything is so small i have to look close, or i get electrocuted because i suck at electric
04:21 PM lcnc-relay: <big_kevin420> do they make any....quiet vaccume pumps/generators?
04:23 PM Tom_L: no just loud and louder
04:23 PM xxcoder: make vacuum enclosure for it
04:24 PM lcnc-relay: <big_kevin420> i think maybe i will make a reverse bicycle pump with stepper motor and linear stage then
04:24 PM lcnc-relay: <big_kevin420> like, a reverse syringe pump
04:24 PM lcnc-relay: <zincboy_ca_on> A scroll vacuum pump is quiet. A little spendy though.
04:24 PM lcnc-relay: <big_kevin420> because yeah i only have loud, louder, and venturi aka loud
04:24 PM lcnc-relay: <big_kevin420> i thought as much, but they are pricy
04:24 PM Tom_L: HiScroll pumps are extremely quiet at <47 dB[A] (<42 dB[A] in stand-by mode)
04:24 PM lcnc-relay: <skunkworks8841> trying to storm here
04:25 PM Tom_L: skunkworks, do you do any material block probing or distance between?
04:26 PM Tom_L: trying to decide how far to go with this
04:27 PM lcnc-relay: <big_kevin420> second vacumme question, anyone ever use a vacumme plate to machine on?
04:27 PM Tom_L: we did at my bud's shop
04:28 PM lcnc-relay: <zincboy_ca_on> Yes, all the time.
04:28 PM lcnc-relay: <skunkworks8841> ? I don't think I have needed any other probing routines then Cradeks..
04:28 PM lcnc-relay: <zincboy_ca_on> Mostly for re-work of PCBs.
04:28 PM lcnc-relay: <skunkworks8841> I think there are some cool ones on the tormach machines - but I haven't looked at them
04:28 PM Tom_L: long thin flat aircraft parts etc
04:28 PM lcnc-relay: <big_kevin420> well, pcbs yeah, but aluminium or plastic?
04:28 PM Tom_L: skunkworks, me either
04:28 PM lcnc-relay: <big_kevin420> ok
04:29 PM Tom_L: big_k yes
04:29 PM lcnc-relay: <big_kevin420> ive been using those probe routines in that new easy probe pyvcp thing, i use bore probes a lot
04:29 PM Tom_L: who makes that?
04:29 PM lcnc-relay: <skunkworks8841> I use outside square a lot - and also the bore probe
04:30 PM Tom_L: is that an axis addon?
04:30 PM lcnc-relay: <big_kevin420> yeah, well pyvcp
04:30 PM lcnc-relay: <big_kevin420> but almost all in hal/macro
04:30 PM lcnc-relay: <zincboy_ca_on> Not much difference between FR4 and aluminum when it comes to machining. I use a 50k rpm spindle when milling on the vacuum to minimize forces.
04:30 PM Tom_L: i think fr4 is harder on bits
04:30 PM lcnc-relay: <big_kevin420> https://github.com/hausen8/EasyProbe
04:31 PM lcnc-relay: <big_kevin420> yeah garolite is the worst
04:31 PM lcnc-relay: <big_kevin420> i actually made my renishaw probe mount out of garolite
04:31 PM lcnc-relay: <big_kevin420> despite it being the worst for my lungs, it looks so damn good
04:32 PM Tom_L: skunkworks, on outside square, do you center the probe near the point?
04:32 PM lcnc-relay: <skunkworks8841> I just eye the center.. and just make sure that the limits are a bit bigger than the block
04:33 PM lcnc-relay: <big_kevin420> exactly that
04:33 PM Tom_L: i suppose those that use them know to do that
04:33 PM lcnc-relay: <zincboy_ca_on> I usually use a corner as the zero to make lining it up easier.
04:34 PM Tom_L: > .
04:34 PM Tom_L: kinda put it near the corner?
04:34 PM lcnc-relay: <skunkworks8841> the rpi4 is running a peak of about .5ms after 24 hours.. (running a ethernet mesa card)
04:35 PM lcnc-relay: <skunkworks8841> (servo thread)
04:35 PM Tom_L: do you have a 5 too?
04:35 PM lcnc-relay: <skunkworks8841> yes - it has better latency..
04:35 PM lcnc-relay: <big_kevin420> better everything,.
04:35 PM lcnc-relay: <big_kevin420> exce[pt spi support
04:36 PM lcnc-relay: <skunkworks8841> but I have a 4 running the green machine with a mesa card. never had an issue once I got it running
04:36 PM Tom_L: that or ethernet is what you get for interface on them isn't it?
04:36 PM Tom_L: spi/ethernet
04:36 PM lcnc-relay: <big_kevin420> for rpi5, right now yeah only eth
04:36 PM lcnc-relay: <skunkworks8841> I have never tried the spi
04:36 PM lcnc-relay: <big_kevin420> you can very easily 😉
04:37 PM lcnc-relay: <big_kevin420> i just like using spi because i dont like uasing wifi
04:38 PM lcnc-relay: <big_kevin420> alright, i guess ill go prepare for disapointment and test out my encoders and maybe vac plate
04:38 PM lcnc-relay: <skunkworks8841> good luck
04:38 PM lcnc-relay: <big_kevin420> thanks a lot sam, i would have rather been su[prised at my poor purchase
04:38 PM lcnc-relay: <big_kevin420> now it just feels like uive already been defeated
04:39 PM lcnc-relay: <skunkworks8841> lol - I told a x-brother in law that the diesel in his truck was know to crack the block.. It happened the next day..
04:39 PM Tom_L: wow
04:39 PM lcnc-relay: <skunkworks8841> he was pissed
04:39 PM Tom_L: you did tell him..
04:39 PM lcnc-relay: <big_kevin420> worst prophet give me good predictions
04:39 PM lcnc-relay: <skunkworks8841> lol
04:40 PM lcnc-relay: <skunkworks8841> I should go cook supper for the kids
04:40 PM lcnc-relay: <skunkworks8841> chicken strips, corn on the cob and french fries it is!
04:41 PM Tom_L: i'll be over
04:42 PM JT-Shop: yo
04:47 PM lcnc-relay: <skunkworks8841> I'll have extra
04:47 PM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/bAxbtdDZBubaoJveULYuIptJ/PXL_20240918_222231353.MP.jpg
04:48 PM lcnc-relay: <skunkworks8841> Grandma's wedding dress. She is 12
04:53 PM CloudEvil: How is grandma 12?
04:53 PM CloudEvil: Oh.
04:53 PM lcnc-relay: <skunkworks8841> Lol
04:53 PM lcnc-relay: <skunkworks8841> English is my first and only language
05:05 PM lcnc-relay: <captainhindsight_.> skunkworks8841 she really has your features
05:05 PM lcnc-relay: <skunkworks8841> She is a sololik
05:08 PM Tom_L: JT-Shop, PR #89
05:08 PM JT-Shop: ok thanks
05:09 PM Tom_L: i'll build a deb soon as you update
05:09 PM JT-Shop: ok
05:16 PM JT-Cave: done
05:20 PM JT-Shop: Amish potato chips you can taste the potato and there's no salt
05:21 PM Tom_L: #90 for deb
05:21 PM JT-Shop: ok
05:23 PM Tom_L: i echoed the center point on that last sub
05:23 PM Tom_L: (debug)
05:23 PM JT-Shop: cool
05:25 PM Tom_L: i haven't tested all the metric parts yet
05:26 PM Tom_L: it would be nice if you could have a QComboBox work as io for a hal_pin
05:27 PM Tom_L: then you could have a descriptor for the value
05:27 PM Tom_L: ie: inch/metric instead of 1/0
05:27 PM JT-Shop: hmm
05:29 PM Tom_L: i dunno how you fill the content of one. you have the tool selector reading from the tool table
05:29 PM Tom_L: can that be done in the qss?
05:31 PM JT-Shop: not sure exactly what you're asking...
05:32 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/Screens/Dark/Tool_dropdown.png
05:32 PM Tom_L: where you have the tool list, can that be populated via the qss file for the items
05:33 PM JT-Shop: no, the qss can only set the stylesheet
05:33 PM Tom_L: in this case it would be 1-inch 0-metric
05:33 PM Tom_L: or such
05:34 PM JT-Shop: the qss stylesheet can only change how a widget looks
05:34 PM Tom_L: we found we can't read units from the ini.. it returns ####
05:34 PM Tom_L: otherwise i'd do that
05:37 PM JT-Shop: what do you need units for?
05:44 PM Tom_L: the probe routines have both inch and metric sections
05:44 PM JT-Shop: does it make any difference if the machine units are metric or inch?
05:45 PM Tom_L: not to me
05:45 PM Tom_L: i can set metric on the probe screen and all the subs behave in metric
05:45 PM JT-Shop: are you converting from inch to metric?
05:46 PM Tom_L: take a look at em
05:46 PM Tom_L: there's only a couple things that matters on i think
05:46 PM Tom_L: the numbers are numbers and behave acording to G20 G21
05:47 PM Tom_L: the probe tip i programmed in metric but i think i'm gonna change that to whatever units are active
05:47 PM Tom_L: so you'd have to calculate inch for a 3mm tip if you were using inch units
05:48 PM Tom_L: so if you were in inch, you'd enter .11811 for the tip diameter
05:51 PM JT-Shop: I'm not seeing anything change when I change linear units
05:52 PM JT-Shop: I'd think that if you have a metric config your defaults should be metric dimensions and if you have an inch config your defaults should be in inches so if you have inch the probe tip if 2mm would be .0787
05:53 PM Tom_L: it looks for LINEAR_UNITS or something in each sub file
05:53 PM -!- #linuxcnc mode set to +v by ChanServ
05:54 PM Tom_dev: o100 if [#<_hal[flexhal.probe_LINEAR_UNITS]> EQ 1]
05:55 PM JT-Shop: not sure why you need to set G20 or G21 unless a malformed g code file like one that uses %% left it in the wrong units
05:57 PM Tom_dev: i was asked if i supported both units
05:57 PM Tom_dev: my gut response would have been hell no
05:57 PM JT-Shop: seems there might be a simpler way... gotta ponder this
05:57 PM Tom_dev: i've allowed for both units in the subs ( i think i got them all )
05:57 PM JT-Shop: I would say make metric and inch subroutines
05:58 PM JT-Shop: and the user can choose what they use
05:58 PM Tom_dev: in some they divide things like the probe tip by 25.4 and if you didn't differentiate it would be wrong
05:58 PM JT-Shop: switching back and forth just seems like a way to introduce errors
05:59 PM JT-Shop: yeah I'd ditch all that math for the probe tip
05:59 PM Tom_dev: just make them enter .11811 for a 3mm tip then?
05:59 PM JT-Shop: yup
06:00 PM Tom_dev: so for example then, p-back.nc would be p-back-m.ngc
06:00 PM Tom_dev: for metric
06:01 PM JT-Shop: yeah and the only difference is the G20/G21?
06:01 PM Tom_dev: and calculating for the probe tip
06:01 PM Tom_dev: i think that's all
06:01 PM Tom_dev: unless there's some oddball thing somewhere
06:02 PM Tom_dev: #1020 = [[#<_hal[flexhal.probe_TIP_DIAM]>/25.4]/2]
06:02 PM Tom_dev: for the tip radius
06:02 PM JT-Shop: do you just need radius?
06:02 PM JT-Shop: if so then just have that as a spin box
06:02 PM Tom_dev: i think i started that because cradek's used it
06:02 PM JT-Shop: or drop the 25.4 crap
06:03 PM JT-Shop: sometimes cradek can do funny things in programs like Axis which is full of that
06:03 PM JT-Shop: for no reason
06:03 PM Tom_dev: G90 G0 Y[#5062-0.2+[3.0/25.4]]
06:03 PM Tom_dev: from one of hjs
06:03 PM Tom_dev: his
06:03 PM Tom_dev: he hardcoded the tip
06:04 PM JT-Shop: yup that's dumb in my opinion, but I think different than most...
06:04 PM Tom_dev: it saves renaming all the mdi calls to subs if you want to switch units
06:06 PM Tom_dev: my thinking was the 'units' simplified that process
06:06 PM JT-Shop: imho if your config is inch setup probing for inch otherwise setup for metric
06:06 PM JT-Shop: nothing wrong with that
06:07 PM Tom_dev: i've tested all the inch and i can cut the code for metric and make another set of files
06:08 PM Tom_dev: it really doesn't matter to me either way
06:08 PM JT-Shop: what about having an ini key of PROBE_UNITS = 20 or 21
06:09 PM Tom_dev: that would work
06:09 PM Tom_dev: lemme know before i decide to edit all these :)
06:09 PM JT-Shop: but that might be more of a problem for the 99% that don't read the docs...
06:09 PM Tom_dev: fck em
06:09 PM JT-Shop: it's up to you :)
06:10 PM JT-Shop: if it's not found just don't probe
06:10 PM Tom_dev: not really, this is your party... i'm just a guest
06:10 PM JT-Shop: you're the probe master and I bow to your prowess
06:10 PM Tom_dev: i suppose you can test for not found in gcode
06:11 PM JT-Shop: yup
06:11 PM Tom_dev: i thought i saw that somewhere
06:11 PM JT-Shop: if [EXISTS[#<_ini[setup]xpos>]]
06:12 PM JT-Shop: and I think it's case insensitive
06:12 PM Tom_dev: i'll switch if [#<_hal[flexhal.probe_LINEAR_UNITS]> EQ 1] to look for the ini then
06:12 PM Tom_dev: in what section?
06:12 PM JT-Shop: hmm
06:13 PM Tom_dev: may as well stuff it in with the spindle stuff
06:13 PM JT-Shop: I'm adding a FLEX_COLORS section so a FLEX_PROBING could be appropriate
06:13 PM Tom_dev: ... i dunno
06:14 PM JT-Shop: and perhaps a FLEX_SETTINGS sections
06:14 PM Tom_dev: that little cheapass probe is kinda cool though
06:14 PM JT-Shop: I'm looking at one :)
06:15 PM Tom_dev: most were 76ish, i found that one for 60ish something
06:15 PM Tom_dev: same probes
06:15 PM JT-Shop: the link I have is $80 today, it was a bit cheaper yesterday
06:15 PM Tom_dev: i'll find it...
06:16 PM Tom_dev: gawd.. it is 80 now
06:16 PM JT-Shop: must be selling some lol
06:18 PM Tom_dev: https://www.amazon.com/YIDOFENG-Coordinate-Measuring-Compatible-Machine/dp/B0D4V9B8MX/ref=sr_1_20_sspa
06:18 PM JT-Shop: that's better
06:19 PM Tom_dev: had to make a 6mm collet for it
06:22 PM Tom_dev: usb c plug
06:25 PM Tom_L: i think if you do the 20 21 thing instead of using an else i'll make 2 if statements so it has to be one or the other
06:27 PM JT-Shop: or just use what it is and if it's not found don't probe
06:28 PM Tom_dev: using the ini setting i can leave them in the same files
06:29 PM Tom_dev: but yeah, either way if not found they wouldn't do anything
06:30 PM JT-Shop: maybe a msg that units is not found
06:31 PM Tom_dev: i need to add that spindle check for the probing still
06:31 PM JT-Shop: spindle check?
06:32 PM Tom_dev: spindle_block_cb
06:33 PM Tom_dev: does it work?
06:33 PM JT-Shop: it should work
06:34 PM JT-Shop: I see I need to update the docs...
06:36 PM * JT-Shop is tired and heads inside
06:40 PM lcnc-relay: <big_kevin420> skunkworks8841 hey have you hooked up your encoder yet?
06:40 PM -!- #linuxcnc mode set to +v by ChanServ
06:40 PM lcnc-relay: <big_kevin420> i was wondering if you can detect index on yours
06:50 PM lcnc-relay: <skunkworks8841> lol - yes
06:50 PM lcnc-relay: <skunkworks8841> I just tested it
06:53 PM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/RqcpahYfGWGCzUHGlCmdnpfm/PXL_20240921_234542303.jpg
06:54 PM lcnc-relay: <skunkworks8841> sorry
06:55 PM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/UjyyIhjNGJaxyQPcvZcoUHxd/PXL_20240921_234702017.mp4
06:55 PM lcnc-relay: <skunkworks8841> this is what I meant to send
06:56 PM Tom_dev: a lie detector... True False
06:57 PM lcnc-relay: <skunkworks8841> that is my bambu labs box workbench
06:58 PM lcnc-relay: <skunkworks8841> big_kevin420 ^^
07:04 PM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/ViFcjbIoTmNKihWsLrCdsjXB/PXL_20240921_235655828.jpg
07:06 PM lcnc-relay: <skunkworks8841> I thnk dad has about 10 of those wellers
07:39 PM lcnc-relay: <big_kevin420> damn ok so my index enable should be changing
07:39 PM lcnc-relay: <big_kevin420> hmm maybe i need a pull....somewhere
07:50 PM lcnc-relay: <skunkworks8841> you set the index-enable to true - then turn the encoder and when it passed the index it will switch to false
07:50 PM lcnc-relay: <skunkworks8841> setp whateverpin.00.encoder.index-enable true
07:50 PM lcnc-relay: <skunkworks8841> then turn the encoder
07:51 PM lcnc-relay: <skunkworks8841> then index enable will go from true to false when the index is detected
07:51 PM lcnc-relay: <skunkworks8841> (index enable is a bi-direction pin - you can set it true - then something else can set it to false..)
07:52 PM lcnc-relay: <skunkworks8841> (which is odd in linuxcnc)
07:53 PM lcnc-relay: <big_kevin420> yeah then reset sets it back to ttrue right>?
07:53 PM lcnc-relay: <big_kevin420> ok, then its for sure not detecting
07:54 PM lcnc-relay: <big_kevin420> dammit, because its counting a/b just fine
07:55 PM lcnc-relay: <big_kevin420> must be a pull somewhere
07:55 PM lcnc-relay: <big_kevin420> maybe it should be a pull left
07:55 PM lcnc-relay: <big_kevin420> i might be doing a pulldown, so ill check that
07:55 PM lcnc-relay: <big_kevin420> says index might be messy with steppers though
07:56 PM lcnc-relay: <big_kevin420> i will be pretty pissed if it cant detect index because of magnets
08:20 PM lcnc-relay: <big_kevin420> skunkworks8841 ok bench test with one on a stepper but not energized
08:20 PM lcnc-relay: <big_kevin420> now my index enable is going off too much
08:20 PM lcnc-relay: <big_kevin420> more than once per rev
08:22 PM -!- #linuxcnc mode set to +v by ChanServ
08:22 PM Tom_L: big_k is this an inductive sensor?
08:26 PM lcnc-relay: <big_kevin420> i think its capactive
08:27 PM lcnc-relay: <big_kevin420> its every 12 steps on this unpowered stepper motor, the index enable will chjange , i never see the actual index trigger the io though
08:28 PM lcnc-relay: <big_kevin420> so like, every 21degrees
08:30 PM Tom_L: interference?
08:31 PM lcnc-relay: <big_kevin420> well, yes, probably, my machine is very delicate electronically it seems
08:31 PM lcnc-relay: <big_kevin420> but its pretty repeatable going off every 12 steps
08:32 PM lcnc-relay: <big_kevin420> sam, did you get differential or the push/pull one?
08:33 PM lcnc-relay: <big_kevin420> yours is working properly it looked like
09:16 PM lcnc-relay: <skunkworks8841> mine is single ended
09:28 PM roycroft: i got my lean-to shed almost completely framed today
09:28 PM roycroft: i should be able to roof and side it tomorrow
09:29 PM roycroft: when that's done, all i have to do is move the air compressor and dust extractor into the shed, hook them up, and my shop will be functional
09:41 PM CloudEvil: :)
09:43 PM roycroft: it's only been six months since i bought this place
09:43 PM roycroft: i guess it's about time i make it functional
10:58 PM -!- #linuxcnc mode set to +v by ChanServ