#linuxcnc Logs

Sep 28 2024

#linuxcnc Calendar

01:20 AM Deejay: moin
04:10 AM JT-Cave: morning
04:19 AM Tom_L: morning
04:20 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/touch-probe2-angle.png
04:20 AM Tom_L: working on angles now
04:57 AM -!- #linuxcnc mode set to +v by ChanServ
05:07 AM Tom_L: angles working
05:31 AM JT-Cave: cool
05:33 AM Tom_L: you think of anything else flex needs?
05:34 AM Tom_L: i may get rid of the 1st probe example
05:34 AM Tom_L: and once i test these i'll push an update
05:35 AM JT-Cave: can't think of anything flex needs other than maybe some code cleanup and testing
05:36 AM JT-Cave: and clean up the examples
05:36 AM Tom_L: there are around 30 subroutines split between in & mm
05:41 AM JT-Cave: wow
05:41 AM JT-Cave: do we need a section in the docs to explain the examples?
06:15 AM JT-Cave: Tom_L, https://gnipsel.com/linuxcnc/flexgui/probe.html
06:34 AM JT-Cave: https://youtu.be/wKfbUItHkHE
07:14 AM JT-Cave: https://www.youtube.com/watch?v=-yLvB_hOsL0
07:43 AM JT-Cave: https://youtu.be/ON8nV8G5hfE
08:11 AM Tom_L: 2nd one: This video has been removed by the uploader
08:13 AM Tom_L: nice videos
08:14 AM JT-Cave: yep putube put it in shorts which sucks
08:15 AM Tom_L: huh
08:15 AM JT-Cave: so I learned the videos must be 60 seconds or longer to not be put in shorts
08:15 AM Tom_L: oh i wondered what the criteria was
08:15 AM JT-Cave: shorts displays it like your on a phone and has a bunch of crap
08:15 AM Tom_L: i know
08:15 AM JT-Cave: https://www.youtube.com/shorts/hPhcCh8aBx4
08:16 AM JT-Cave: anyway I think I'll delete the xyx probe example
08:16 AM JT-Cave: I don't see a need for it now
08:17 AM Tom_L: for somebody just getting started it might come in handy
08:17 AM JT-Cave: xyz probe?
08:17 AM Tom_L: i'm probably getting rid of my first probe one
08:17 AM Tom_L: oh
08:18 AM Tom_L: i've seen so much stuff i can't remember
08:18 AM JT-Cave: either that or make it work as of now it does nothing
08:18 AM JT-Cave: time to start my chicken day
08:18 AM Tom_L: ok
08:18 AM Tom_L: i'll test these sometime today and push what i have
08:40 AM JT-Cave: I think I'll convert xyz probe to probe sim and have the subroutines just simulate probe moves
08:44 AM lcnc-relay: <Travis Farmer> there, just finished voting 🙂
09:13 AM rdtsc: hopefully for all lesser-of-two-evils. :)
09:15 AM lcnc-relay: <Travis Farmer> or my opinion thereof, as is usually the case 😉
09:24 AM lcnc-relay: <Travis Farmer> i see on Git, that JT has been busy 🙂 all while i have been drinking coffee and watching the news...
09:49 AM lcnc-relay_ is now known as lcnc-relay
10:36 AM rdtsc: Tom, you going to push recent changes to touch-probe2.ui? Was thinking maybe I could add tooltips.
10:36 AM Tom_L: you'll have to get jt to add tooltips widget somewhere
10:37 AM Tom_L: where do they display?
10:37 AM rdtsc: Each control has a toolTip value, was assuming could just add text to that, wanted to try it
10:37 AM Tom_L: and i plan to test sometime today then push
10:38 AM Tom_L: i think i may have tried that once but wasn't sure where they show up
10:38 AM rdtsc: should show up on mouse-over
10:38 AM Tom_L: ok
10:38 AM Tom_L: finished angle last night but need to test
10:38 AM rdtsc: well it's confusing because there is a toolTip property, and a statusTip property... will figure it out
10:39 AM Tom_L: lemme know what you find
10:39 AM Tom_L: are you testing the probe stuff?
10:39 AM rdtsc: then try to figure out how to do a PR from gitkraken heheheh no I can't test the probe stuff, well not on real hardware.
10:39 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/touch-probe2-angle.png
10:40 AM Tom_L: that was the last screen change i think
10:40 AM rdtsc: saw that, looks great :)
10:40 AM Tom_L: even better if it works
10:41 AM rdtsc: development is one part knowledge and one part bashing the code with a hammer until it works :)
10:41 AM rdtsc: "forge" ahead lol
10:46 AM JT-Woodshop is now known as JT-Autoshop
10:46 AM JT-Autoshop: tooltips are done in the ui
10:48 AM rdtsc: speaking of angle, tried to rotate a whole gcode file 90deg by starting it with a coordinate rotate command, but it didn't work. Tried a couple commands; likely just don't know how to do it or it's not supported by the processor (get no plot.)
10:52 AM Tom_L: plan better in the cad :)
10:52 AM * Tom_L needs to schedule a tuneup at JT-Autoshop
10:54 AM * rdtsc takes in my car too; hear JT's good with brakes
10:56 AM rdtsc: something in my fronts, whether it be bearings and/or discs, is at least 0.040 out
10:57 AM * rdtsc will probably end up taking the rotors to work and cobbling together some janky grinding apparatus
10:58 AM rdtsc: maybe a dremel duct-taped to the toolholder... heheh
10:59 AM rdtsc: could 3D print a holder for it, suppose
11:11 AM JT-Autoshop: RR TIR 0.004" I'm happy with that
11:11 AM JT-Autoshop: nap coming up shortly
11:22 AM Tom_L: added retract after last move... forgot about that at 4am
11:23 AM -!- #linuxcnc mode set to +v by ChanServ
11:30 AM Tom_L: i saw something interesting in one of the routines where they used G32.3 in Z and moved .00001 which triggered a position read for all the axis. this allowed them to have a starting X Y coordinate where otherwise those registers would have been 0
11:31 AM Tom_L: G36.3
11:33 AM Tom_L: G38.3... i'll get it eventually
12:15 PM lcnc-relay: <big_kevin420> gui is lookin giood tom
12:15 PM lcnc-relay: <big_kevin420> im trying to set up my toolsetter, looking for advice
12:17 PM lcnc-relay: <big_kevin420> if i remap M6 to do auto tool length,
12:17 PM lcnc-relay: <big_kevin420> how do i make it not do a tool length sub when i change tool to something like probe?
12:37 PM rmu: big_kevin420: special-case it in your remap code (check for tool no of probe)
12:59 PM lcnc-relay: <big_kevin420> ahh ok, inhibit/skip tool length if t99 or something
01:09 PM Unterhaus__ is now known as Unterhausen
01:10 PM Tom_L: big_k, i don't have a tool setter so i'm not entirely sure
01:10 PM Unterhausen: A giant storm hit the U.S. and totally skipped over us except for drizzle and clouds. Still don't know if I fixed my gutters
01:10 PM Tom_L: pretty sure i adapted that setter code from someone
01:11 PM Tom_L: the code does move to a selected X Y location and probes the tool
01:13 PM Tom_L: haven't gotten any testing done today but the yard is
01:14 PM lcnc-relay: <big_kevin420> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/SlbdOVIFMoOQWJCZXtgCsjFu/flex.png
01:14 PM Tom_L: i like that one
01:14 PM JT-Shop: that's cool
01:17 PM Tom_L: the setter code does update the length offset in the tool table iirc
01:20 PM xxcoder: that reminds me of that old web site. one of charactor is dragon with strong arm
01:20 PM xxcoder: think it was made by charactor named strongbad or something dunno
01:23 PM Tom_L: JT-Shop, you gettin any of that green radar?
01:23 PM Tom_L: dry as a popcorn fart here
01:26 PM JT-Shop: no, it's about 60 miles east of us
01:26 PM lcnc-relay: <big_kevin420> lol im glad you guys like it
01:27 PM lcnc-relay: <big_kevin420> hmmm yeah is it burniator or something like thaty? i never knew what it was for
01:43 PM lcnc-relay: <Travis Farmer> https://youtu.be/TOE97_Y7soU?si=IHJ4wL2rlR4n9QDe
01:43 PM lcnc-relay: i ran the same file, but with tighter resolution, but not happy with the photo v-carve results. can't even hardly make out that it is a picture. maybe paint in the grooves will make it pop, but when the wood chipped when i blew the dust out, i did not feel it was worth the effort to try. i need a better V-bit without the replaceable carbide that goes off-center, then i will try on hardwood, rather than plywood.
01:43 PM lcnc-relay: but... my machine and FlexGUI performed very well. no complaints there. 🙂
01:48 PM JT-Shop: awesome
01:52 PM * Tom_L feels a nap is in order before testing begins
02:16 PM rdtsc: https://pasteboard.co/NhVwBWlhHnGU.png
02:23 PM JT-Shop: I like that lower left one
02:23 PM JT-Shop: simple and clean
02:23 PM lcnc-relay: <Travis Farmer> i do too
02:23 PM rdtsc: Trying it with the probe mascot next
02:23 PM JT-Shop: cool
02:24 PM lcnc-relay: <Travis Farmer> Tom_L will like the probe mascot 😉
02:24 PM * JT-Shop tries to figure out where the spring goes that fell out when he removed the RR rotor
02:24 PM lcnc-relay: <Travis Farmer> oh no, lol
02:25 PM lcnc-relay: <Travis Farmer> pad return spring?
02:29 PM rdtsc: https://pasteboard.co/2QsNqDLDtBad.png
02:30 PM JT-Shop: looks like the upper spring
02:32 PM JT-Shop: rdtsc, looking good
02:35 PM lcnc-relay: <Travis Farmer> i like probe-chip flex better. sorts differentiates slightly from the LinuxCNC logo
02:41 PM lcnc-relay: <big_kevin420> spring...for rotors?
02:41 PM JT-Shop: parking brake
02:43 PM Tom_L: ver 2 looks good
02:46 PM JT-Shop: I guess I'm done working on the C3 for a few days, gotta get a spring kit
02:55 PM rdtsc: good thing you have a parts guy :)
03:00 PM JT-Shop: I'll replace it with SS springs, their cheap
03:13 PM lcnc-relay: <Travis Farmer> oh, i was able to make my MB2HAL modbus more reliable by setting "MAX_UPDATE_RATE=0.5" on every transaction. makes it slower to respond, but it ALWAYS responds. i really need to get my new shop done so i can sort out my grounds better, and get my computer away from the noisy VFD.
04:09 PM Tom_L: show n tell on the way
04:22 PM Tom_L: Distance: https://www.youtube.com/watch?v=37HmlA_cjYM
04:23 PM Tom_L: Angle: https://www.youtube.com/watch?v=mmK8WtmCzEA
04:36 PM JT-Shop: pretty sweet
04:36 PM rdtsc: Nice Tom! :)
04:38 PM Tom_L: once i test metric i'll push them
04:41 PM Tom_L: JT-Shop, for the users (and me) the ones i wrote, i commented nearly every line
04:42 PM JT-Shop: awesome
04:43 PM JT-Shop: https://forum.linuxcnc.org/41-guis/53913-flex-gui-version-1-0-0?start=10
04:43 PM Tom_L: i can't think of other useful routines off hand
04:43 PM Tom_L: as far as corners, you can get them with this it's just not quite as convenient
04:46 PM Tom_L: i'm not using or plan to use M19 in reply to the post
04:46 PM Tom_L: approach: kiss
04:47 PM JT-Shop: yes, but he asked if flex is flexible and yes it is :)
04:47 PM Tom_L: the subs will be there to modify :)
04:48 PM Tom_L: did you push to 1.0?
04:48 PM Tom_L: i haven't looked...
04:48 PM JT-Shop: waiting on you
04:48 PM Tom_L: ok, i'll finish up once i eat this bowl of mush
04:48 PM JT-Shop: ok, thanks
04:49 PM rdtsc: JT, are the post video links the same?
04:49 PM Tom_L: unless i find something horrific
04:49 PM JT-Shop: rdtsc, yes
04:49 PM Tom_L: i had a couple G90 where i should have had G91 etc nothing big
04:56 PM JT-Shop: rdtsc, I just caught on to what you said lol
04:56 PM rdtsc: yeah sorry wasn't worded very clearly :)
04:58 PM rdtsc: should I upload the flex .svg somewhere? maybe make a folder and keep all the submissions in there
04:58 PM JT-Shop: can't figure out a pr? maybe Tom_L can help
04:59 PM rdtsc: polly can, but don't want to goof it up lol
04:59 PM JT-Shop: I don't think you can foul it up
05:00 PM JT-Shop: I think Tom_L has a script to do a pr...
05:19 PM rdtsc: must have to fork the repo first, before a PR is possible I take it?
05:19 PM JT-Shop: I think so
05:23 PM rdtsc: Aaah I see... gitkraken, you sneaky little thing... it will let you clone a repo locally, without any kind of link back to it. So pushes and PR's fail - silently. Perhaps that is by design, but would have been handy if it said "are you trying to ... " lol
05:32 PM rdtsc: gotta run to dinner, bbl
05:37 PM Tom_L: ok, nearly ready to push
05:38 PM Tom_L: rdtsc, use git gui
05:39 PM Tom_L: never tried gitkraken
05:40 PM Tom_L: make sure you sync your fork before you push anything
05:50 PM Tom_L: JT-Shop, PR #96
05:51 PM Tom_L: i wish there was a way to update the QDoubleSpinbox values on the fly and store them
05:52 PM Tom_L: if you probe distance make sure there's enough headroom in XY Travel Dist
05:52 PM Tom_L: especially the ones over the top
05:54 PM Tom_L: and MAX Hole Rad, Max Bar Rad... they do the same thing only in both axis
05:55 PM Tom_L: other than the tip diameter the rest you don't need to worry so much about
05:57 PM JT-Shop: there's always a way...
05:59 PM Tom_L: you posted the distance 2x on the forum instead of the angle noe
05:59 PM Tom_L: one
05:59 PM JT-Shop: fixed that
06:00 PM JT-Shop: rdtsc, pointed that out
06:00 PM Tom_L: oh
06:00 PM Tom_L: at least it gives an idea what to expect
06:01 PM JT-Shop: we seem to be gaining momentum on the forum with flex
06:01 PM Tom_L: on the angle, the long side travel may need to be increased for small angles
06:01 PM Tom_L: iirc i set that to search for 2"
06:01 PM Tom_L: you get a small angle and it will take further than that to find the edge
06:03 PM JT-Shop: I would have thought you would find the edge, back off, move a fixed distance then find the edge
06:03 PM Tom_L: i did
06:03 PM Tom_L: but i need to know where the first edge starts to back off that set distance
06:03 PM JT-Shop: looked like you found the edge then went parallel until you found the edget
06:04 PM Tom_L: it's searching for the base side
06:04 PM Tom_L: not quite parallel but yeah
06:05 PM Tom_L: if you got a crappy edge it won't be so accurate
06:05 PM Tom_L: the angle ones were actually easier to write than i thought
06:06 PM * JT-Shop is about to call it a day
06:07 PM * Tom_L is too
06:07 PM Tom_L: maybe probe a sphere ball?
06:07 PM Tom_L: mostly 5 axis work uses those
06:08 PM Tom_L: i'm not gonna try that in the near future
06:08 PM JT-Shop: https://youtu.be/IrTWP-du9Mk?t=1901
06:08 PM Tom_L: i wish stewart would have left his stuff up
06:09 PM Tom_L: that would suck
06:10 PM Tom_L: be a mess getting the lead out of the pipe
06:11 PM Tom_L: aside from the big mess
06:25 PM Tom_L: i see what you meant on the edge now...
06:26 PM Tom_L: i'll think it over some
06:27 PM Tom_L: not sure one would be more accurate than the other... maybe so
06:28 PM Tom_L: a matter of making the side variable and the base fixed
06:28 PM Tom_L: instead of vise versa
06:29 PM Tom_L: a bit more complicated to write
06:48 PM Unterhaus_ is now known as Unterhausen
06:49 PM Unterhausen: I imagine Stewart will give you what you want from his site, he's been posting on the ML occasionally
06:53 PM Tom_L: it's all good
07:42 PM rdtsc: idea, set a block at a known angle (or mill a slot) and verify with probe :)
07:49 PM Tom_L: JT-Shop, i wrote one using your idea, i'll try and copy it to the other 3 quadrants
07:49 PM Tom_L: rdtsc, i did
07:50 PM Tom_L: i think either way is viable
08:37 PM Tom_L: ok i have a set that way now
08:38 PM roycroft: four trips to the wood recycling center today, and i think there is one trip left to go
08:38 PM roycroft: i haven't recycled any of the metal yet, and there will be several trips to the dump after that
08:38 PM roycroft: but things are coming along
08:38 PM * roycroft might finish moving this year :)
10:15 PM Tom_L: mmm, looked good on sim but not on metal. need more time to fix the new angle subs