#linuxcnc Logs

Feb 03 2024

#linuxcnc Calendar

12:17 AM fdarling: is there an API to access non-volatile variables from a realtime component?
01:46 AM Deejay: moin
02:03 AM Vq: g'dmorning
03:44 AM mrec: did anyone work on a pipe joint with a lathe before? I have made an adapter with 3 setscrews (the joint needs to be very accurate) but it seems like tightening and aligning with 3 setscrews is very difficult) on the other side I have a chinese probe which comes with 4 setscrews - it's much easier to align.
03:51 AM mrec: it's about an SMT nozzle holder, I see a few design and machining mistakes. I just wonder that 3 (triangle) vs 4 (square) are so different to handle (4 point is much easier)
04:15 AM pere: The french LinuxCNC documentation is slowly taking shape on <URL: https://linuxcnc.org/docs/devel/html/fr/ >, but still quite a long way to go on <URL: https://hosted.weblate.org/projects/linuxcnc/-/fr/ >. :)
04:19 AM pere: If you know french, perhaps it is time to chip in?
04:23 AM jpa-: mrec: any movement on 3 screw system needs adjusting all screws
04:23 AM jpa-: IIRC the chinese 3d probes have a rather nice flexure mechanism which also helps by providing a bit of spring force against the screws
04:25 AM mrec: on the chinese probes I had to turn 2 setscrews at the same time to adjust them properly it worked out well
04:25 AM mrec: there was no spring on my probe
04:26 AM mrec: https://s3.amazonaws.com/i.snag.gy/vG8EFX.jpg
04:48 AM JT-Cave: morning
04:57 AM Tom_L: morning
05:07 AM Tom_L: JT-Cave, http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/JET/Jet_toolchange3.png
05:08 AM Tom_L: i wanted to make the spinbox narrower but not sure how
05:08 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/JET/spinbox_settings.png
05:08 AM Tom_L: the settings for the spinbox
05:09 AM Tom_L: http://paste.debian.net/1306180
05:14 AM Tom_L: from what i see, max table entries is 56 but tool number can have 99999
05:15 AM JT-Cave: the group box layout is a grid so to make it narrower you would have to make a new column and stretch the other widgets over into that column
05:15 AM lcnc-relay: <pheanoukma> can i use a 4axis palletizer robot in linuxcnc? ( custom model )
05:16 AM Tom_L: the 2 tests should be added but i didn't get that far last night
05:16 AM lcnc-relay: <pheanoukma> if theres a way pls help
05:16 AM lcnc-relay: <pheanoukma> also im running it with ethercat too
05:18 AM Tom_L: JT-Cave, the idea was to make them the same width as the other buttons
05:19 AM JT-Cave: grab the left edge of the other buttons and drag them to the left
05:23 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/JET/touchoffbox.png
05:27 AM JT-Cave: there you go
05:28 AM Tom_L: i _wanted_ to go the other way with it to conserve realestate since those numbers won't get that high
05:28 AM Tom_L: maybe that's as narrow as the spinbox can be
06:00 AM Oksana: bjorkintosh: Thanks. At least, you tried. I have no idea yet where to find such forums, though.
06:02 AM JT-Cave: Tom_L, you going to do a PR?
06:03 AM Tom_L: i don't think i'm set up for that yet
06:03 AM Tom_L: feel free to add whatever you want
06:03 AM Tom_L: also,
06:03 AM -!- #linuxcnc mode set to +v by ChanServ
06:04 AM Tom_dev: is this a valid test for the widgets?
06:04 AM Tom_dev: if parent.sender().objectName() == 'tool_change_pb' and\
06:04 AM Tom_dev: parent.sender().objectName() == 'tool_number_dsb':
06:04 AM Tom_L: it needs both widgets to work properly
06:05 AM Tom_L: i'm looking up stuff for a valid tool in the tool table
06:08 AM Tom_L: i can fork this and push from my fork but i haven't yet
06:09 AM Tom_L: i honestly didn't think i'd get very far
06:14 AM JT-Cave: you're doing pretty good so far
06:14 AM JT-Cave: I think I just fixed the jog slider...
06:15 AM JT-Cave: I think the cats want back in I can hear them
06:15 AM Tom_L: in: http://linuxcnc.org/docs/stable/html/config/python-interface.html#_code_linuxcnc_command_code_attributes
06:15 AM Tom_L: tool_table, is 'id' the tool number?
06:16 AM Tom_L: rained here overnite
06:16 AM Tom_L: looks like a fair amount
06:18 AM JT-Cave: yes I'd think id is tool number, just do a print() to see
06:35 AM JT-Cave: jog slider fixed finally
06:43 AM NoSpark: Are there any open hardware wireless pendants available for linuxcnc?
07:04 AM JT-Cave: my guess is pick any one
07:07 AM NoSpark: wdym?
08:32 AM Tom_L: JT-Cave, making a pr.. hopefully
08:43 AM Tom_L: i'll do 3 commits so you can pick thru them (i hope)
08:46 AM JT-Cave: Tom_L, awesome!!!\
08:46 AM Tom_L: unless i screw it up
08:49 AM JT-Cave: one thing to remember is to be on the default tab when saving
08:49 AM Tom_L: maybe i better look at that again :)
08:49 AM JT-Cave: I've not tested it but it had no conflicts
08:49 AM JT-Cave: better pull first
08:49 AM Tom_L: i doubt i was
08:49 AM Tom_L: which tab is default?
08:53 AM JT-Cave: usually the far left most in this case g code tab
08:53 AM Tom_L: ok there's the code files
08:54 AM Tom_L: want me to send the ui again?
08:56 AM Tom_L: there.. you can keep or discard it :)
08:57 AM Tom_L: i didn't get very far with testing if both widgets were installed for the toolchange
08:59 AM Tom_L: aarg. i didn't save the adjusted widths for the touchoff
09:00 AM Tom_L: i'll let you decide which way to go there :)
09:07 AM JT-Shop: go ahead and make another pr
09:07 AM JT-Shop: I'll be back in a bit gotta ship some boards
09:14 AM Tom_L: ok #4 for the widths
09:18 AM JT-Shop: you forgot to select the g code tab before saving... waiting on another pr :)
09:18 AM Tom_L: dammit!!
09:19 AM JT-Shop: I'm off to the usps drop off place
09:20 AM Tom_L: pushed
09:23 AM JT-Cave: I think you're doing great! a few bumps along the way is expected
09:25 AM Tom_L: i doubt i remember that tab thing :)
09:45 AM jfsimon1981 is now known as jfsimon
10:21 AM Roguish: JT-Cave, wow, you wrote an email in to the Developers mail list......
10:22 AM JT-Shop: lol
10:22 AM Roguish: it's a rarity
10:23 AM Roguish: even though you are a developer, whether you like it or not.......lololololol
10:34 AM Roguish: well, overcast here. more rain coming in. forecast rain out through Wed....
10:36 AM Tom_L: the farmers should be smiling here
11:01 AM * JT-Shop just got a quick lesson on kwikset locksmithing
11:05 AM bjorkintosh: hit it with a hammer?
11:09 AM pere: like a true sledge mechanic?
11:14 AM * JT-Shop doesn't think a hammer would be the appropriate tool for that job
11:19 AM Tom_L: JT-Shop, i have the rekey kit and a lock puller
11:19 AM Tom_L: what are you trying to do?
11:20 AM Tom_L: and a cnc program to cut first off keys
11:23 AM JT-Cave: when I set the lock for the new key I screwed up then neither key worked
11:23 AM JT-Cave: I found a video showing how to reset it to a new key if you don't have the key that works
11:23 AM JT-Cave: pretty simple really
11:25 AM Tom_L: yeah
11:25 AM Tom_L: i used to have a couple of them mastered
11:25 AM Tom_L: where you have a master key and a 'worker' key
11:25 AM Tom_L: takes 3 sets of pins
11:26 AM Tom_L: https://www.ebay.com/itm/125910103795
11:26 AM Tom_L: i made a kwikset puller but you can't pull titan's
11:28 AM JT-Cave: with the kwikset rekeyable locks you don't need any pins
11:28 AM Tom_L: rekeying works if you have the right size pins
11:28 AM JT-Cave: you don't need any pins
11:28 AM JT-Cave: just the poker tool
11:29 AM Tom_L: a bud used to have a bunch of rental properties
11:29 AM JT-Cave: https://www.youtube.com/watch?v=aQjXl78DdUA
11:29 AM JT-Cave: all my locks are Kwikset Smart Key
11:29 AM Tom_L: mine are old
11:29 AM Tom_L: most of them are titan
11:30 AM Tom_L: 1 extra tumbler
11:30 AM JT-Cave: mine are too but I started with the Kwikset Smart Key locks
11:30 AM Tom_L: and a few extra security features
11:30 AM Roguish: I have Titan deadbolts for the exterior doors.
11:30 AM Tom_L: yeah
11:32 AM Tom_L: do those have the springs in the tumbler?
11:33 AM JT-Cave: I saw 3 springs while rekeying to my key
11:33 AM Tom_L: i'm sure they're probably different that the old style
11:34 AM JT-Cave: did you watch the video?
11:34 AM Tom_L: in progress
11:35 AM Tom_L: i don't do it enough so i have to glance at the book depending if it's a deadbolt or regular lock
11:36 AM Tom_L: a regular old kwickset lock you can pry out with a couple screwdrivers
11:37 AM JT-Cave: that doesn't sound very secure
11:37 AM Tom_L: what ppl don't know
11:37 AM JT-Cave: yup
11:37 AM Tom_L: just 2 spring clips holding those in
11:39 AM Tom_L: i doubt you can master those smart key ones
11:41 AM JT-Shop: master?
11:41 AM Tom_L: have a master key
11:41 AM JT-Shop: ah ok
11:42 AM Tom_L: landlord-master tennant-regular key
11:43 AM -!- #linuxcnc mode set to +v by ChanServ
11:43 AM JT-Shop: https://www.kwikset.com/products/detail/key-control-deadbolt-keyed-one-side-featuring-smartkey
11:43 AM Tom_L: hmm
11:44 AM JT-Shop: heading to Chaumette in a few
11:44 AM Tom_dev: i had a code question but i guess it can wait
11:45 AM Tom_dev: where you build the widget list of installed widgets in connections.py, can that list be used to interrogate if both those widgets are installed for the tool change code?
11:45 AM Tom_dev: iirc it's children
11:46 AM Tom_dev: then would you search for 'child'?
11:46 AM Tom_dev: i'm not entirely sure the check is needed since it won't work without both installed anyway
11:47 AM Tom_dev: the button and the spinbox
11:47 AM Tom_dev: btw, on that lock, the tool looks about like the tool you used to remove your sim cards :)
11:49 AM Tom_L: they use 2 cylinders on those
11:54 AM * Tom_L decides a nap is in order
12:06 PM lcnc-relay: <satiowadahc#0> In pyqt5 you could check for "widgetname" in parentwidget.findchildren(QtWidgets.Qpushbutton)
12:26 PM pere: btw, is sledge mechanic not a well known concept in english? I fail to find anything when searching for the term. While in Norwegian, 'sleggemekanikk' show up several times in a web search.
12:27 PM bjorkintosh: pere what does it mean?
12:27 PM bjorkintosh: (or imply, rather)
12:28 PM pere: it is a style of working. probably best defined by its first prinsiples: (1) if it does not fit, use a bigger hammer, and (2) If it do not work, hit it again. :)
12:29 PM bjorkintosh: ah.
12:29 PM pere: it can probably be seen as the other end of the scale as tool makers, on the mechanics scale. :)
12:31 PM bjorkintosh: it's a meme. https://www.someecards.com/usercards/viewcard/if-at-first-you-dont-succeed-try-a-bigger-hammer-fb3e6/
12:32 PM pere: so there are english speaking sledge mechanics, at least. :)
12:33 PM bjorkintosh: trust me.
12:33 PM bjorkintosh: we exist :-D
12:34 PM bjorkintosh: https://en.wikipedia.org/wiki/Shadetree_mechanic
12:44 PM Roguish: pere, . I like that 'sledge mechanic' term
12:47 PM bjorkintosh: sledge mechanics sound like Roguish mechanics!
12:47 PM Roguish: I represeent that.....
12:48 PM bjorkintosh: exactly the kind of mechanic one would need to hobble enemy forces.
12:54 PM pere: or friendly forces...
02:07 PM lcnc-relay: <skunkworks8841> https://www.youtube.com/shorts/1xbJ-e6XY3U
02:29 PM solarwind: EXCELLENT. The M12 "surge" hydraulic impact driver is _exactly_ what I needed
02:29 PM solarwind: It's the only impact driver that can do super low torque impacts with precision control
02:30 PM solarwind: Everything else has a minimum torque that can potentially overdrive fasteners. This one is perfect for more delicate wood and even machine screws
02:47 PM XXCoder: lol. blundy. gonna love autocaptions. try to guess what word its supposed to be
03:01 PM solarwind: What's the absolute _cheapest_ material for machining prototypes that only serve as a visual representation?
03:01 PM solarwind: That is, no meaningful strength required
03:01 PM XXCoder: milling foam
03:01 PM solarwind: Just needs to be easily machined and ideally dimensionally stable
03:02 PM solarwind: wow didn't know that was a thing. I thought it would be wood or something like that
03:06 PM bjorkintosh: wax?
03:06 PM XXCoder: yeah theres also machining wax
03:07 PM bjorkintosh: https://machinablewax.com/
03:07 PM XXCoder: you can actually create those using paffin oil and stuff forgot exact details
03:07 PM bjorkintosh: https://www.instructables.com/Machinable-Wax/
03:12 PM Tom_L: solarwind, machinable wax
03:13 PM Tom_L: somebody's quicker than me
03:13 PM Tom_L: i should work on that
03:13 PM XXCoder: its easy. just be neet like me lol
03:13 PM Tom_L: in fairness, i was afk
03:13 PM Tom_L: :)
03:15 PM XXCoder: foam isnt reusable, machining wax so so id go for latter I guess
03:15 PM XXCoder: since it can be reused
03:16 PM Loetmichel: XXCoder: machineable wax is also "DIY" if you have access to paraffin candles and PE shopping bags.
03:17 PM XXCoder: btw if you guys was wondering, blundy is supposed to be blondihack. usually its bloody hack but this time it went to this
03:17 PM XXCoder: Loetmichel: I said so earlier, and bjork linked :)
03:29 PM Loetmichel: i noticed... after typing :D
03:30 PM XXCoder: :)
03:36 PM solarwind: thanks guys, machining wax it is
03:37 PM Tom_L: make your own
03:37 PM Tom_L: wax and milk cartons
03:38 PM Tom_L: or buy the pretty blue blocks
03:38 PM solarwind: Yeah I'll probably buy some to start with and just reuse it
04:03 PM Tom_L: make sure you get the feeds/speeds right for it :)
04:50 PM Tom_L: JT-Shop, on startup, Start Line shows no value until the first line is hilited
04:51 PM Tom_L: if you cursor on it, it does
05:18 PM JT-Shop: start from line is only if you click on a line
05:19 PM Tom_L: i kinda wondered
05:19 PM JT-Shop: and it's a proven fact that my wife wakes up at 120 MPH no matter how much she has to drink
05:19 PM Tom_L: :)
05:19 PM Tom_L: a curvy road probably doesn't help
05:20 PM JT-Shop: tested twice tonight
05:20 PM JT-Shop: on 67 which is sorta straight
05:21 PM Tom_L: you wanna see straight, come to Ks
05:23 PM Tom_L: oh, on the Step button, why don't you reset it like you do on the jog buttons?
05:23 PM Tom_L: would that fix it?
05:23 PM JT-Shop: left my phone home so I could not reply
05:24 PM Tom_L: did i ask? i can't remember...
05:24 PM JT-Shop: program step?
05:24 PM Tom_L: yeah
05:24 PM JT-Shop: something about child
05:25 PM Tom_L: i can't remember where i saw that now
05:27 PM bjorkintosh: 120mph. oh my.
05:27 PM bjorkintosh: it's not much, but it's still a lot!
05:27 PM JT-Shop: just a bit of a test... 180mph is a lot
05:27 PM bjorkintosh: daaaamn!
05:27 PM JT-Shop: tops out at 195 mph
05:28 PM bjorkintosh: if I ever get a corvette, I'll be sure to go to the school.
05:28 PM JT-Shop: because of the Z51 spoiler
05:28 PM JT-Shop: z06 with 650hp is a bit faster
05:29 PM bjorkintosh: damned thing is so close to the ground I wonder if a pebble might not get wedged under it!
05:29 PM JT-Shop: but they are insane high priced
05:29 PM -!- #linuxcnc mode set to +v by ChanServ
05:29 PM JT-Shop: actually the C5 has the lowest ground clearance of the corvettes the C8 has a lot
05:29 PM bjorkintosh: 110k. wow.
05:30 PM Tom_dev: http://paste.debian.net/1306227/
05:30 PM Tom_dev: that wouldn't work there (step)
05:30 PM JT-Shop: 110k for a z51 try 150k for a zo6
05:30 PM Tom_dev: ?
05:30 PM Tom_L: something similar
05:31 PM JT-Shop: looks correct
05:31 PM Tom_L: for the step button?
05:31 PM Tom_L: those are for the jog buttons
05:31 PM JT-Shop: pressed and released for jog is ok... step is just do it then wait for complete
05:31 PM Tom_L: but it never does
05:32 PM JT-Shop: step should complete
05:32 PM JT-Shop: maybe it doesn't have wait complete
05:38 PM * JT-Shop calls it a day
05:40 PM Roguish: .
05:41 PM JT-Shop: -
05:45 PM solarwind: "no pilot hole required" - deck screw/construction screw box
05:45 PM solarwind: that's _always_ a lie
05:46 PM solarwind: Unless you're driving them into a tree trunk
05:47 PM solarwind: #10 screw spits a 2x4 most of the time unless its right in the middle of a wet board
05:49 PM roycroft: the high quality deck screws these days don't need pilot holes in most cases
05:50 PM roycroft: they have reduced diameter shanks where they go through the decking bord itself, and they have tiny nibs on the underside of the head that scrape out the countersink for you
05:50 PM roycroft: if you're installing them right at the end of a board, sure, it's best to drill a pilot hole
05:50 PM roycroft: but otherwise they do a remarkably good job without a pilot hole
05:50 PM solarwind: Those are the ones I have, but at #10 screw is still a #10 screw, and yes near the edges almost always splits
05:51 PM Tom_L: made for the 'git r dun' type
05:51 PM roycroft: must be that cheap canadian timber :)
05:51 PM roycroft: the screws are expensive, but they're made for contractors
05:51 PM roycroft: because as expensive as they are, they are still cheaper than time
05:51 PM solarwind: Box of 1000 is like $100, it's not bad
05:51 PM Tom_L: i used to go to the hardware store and weigh out my own
05:52 PM solarwind: I don't mind the price
05:52 PM roycroft: i still do that ate jerry's
05:52 PM roycroft: at
05:52 PM roycroft: if i go to home depot or lowe's i can't
05:52 PM roycroft: but i try not to go to the national chains
05:53 PM JT-Shop: night
05:53 PM Tom_L: later
06:34 PM fdarling: repeating my question from before: is there an API to access non-volatile variables from a realtime component's C code?
06:35 PM fdarling: this is for a non-homing ATC carousel that needs to remember where it is between LinuxCNC reboots
06:42 PM Tom_L: have you looked at the api calls?
06:42 PM Tom_L: i don't know a thing about those or how they work
06:50 PM Tom_L: you might also search for persistent storage
06:51 PM Tom_L: not finding much at all
06:53 PM Tom_L: there are a few articles on ATC persistent position
06:53 PM Tom_L: 'atc persistent position'
06:54 PM Tom_L: search that and see what you get
07:02 PM lcnc-relay: <big_kevin420> fdarling (@_discord_243964054270377985:jauriarts.org) fdarling (@_discord_243964054270377985:jauriarts.org)- sorry i cant do it properly from discord
07:03 PM lcnc-relay: <big_kevin420> fdarling
07:03 PM lcnc-relay: <big_kevin420> at fdarling
07:07 PM CAKESLOB: fdarling
07:09 PM CAKESLOB: http://linuxcnc.org/docs/stable/html/config/ini-config.html#sub:ini:variables
07:10 PM CAKESLOB: i think you want numbered parameters though
07:10 PM CAKESLOB: http://linuxcnc.org/docs/stable/html/gcode/overview.html#sec:overview-parameters
07:14 PM Tom_L: i think most of the 'user' numbered parameters are gonna be volatile though
07:17 PM lcnc-relay: <big_kevin420> 31 to 5000 should write to the vars file, no?
07:18 PM Tom_L: they are listed as volatile
07:19 PM Tom_L: the var file starts at 5161
07:19 PM Tom_L: to 5390
07:20 PM Tom_L: if you're not using say a coordinate system 9 you might cheat and get away with using one of those
07:20 PM Tom_L: a good part of those upper one probably go unused for most applications
07:20 PM lcnc-relay: <big_kevin420> typo?
07:20 PM Tom_L: huh?
07:20 PM lcnc-relay: <big_kevin420> user parameters shouldnt be volitile
07:21 PM Tom_L: he wants acces to non-volatile
07:21 PM lcnc-relay: <big_kevin420> thinkinking about it now, i have several on the fanuc that are not volotile
07:22 PM Tom_L: if i couldn't find something better i might be enclined to use those upper axis ones
07:22 PM Tom_L: unless it's a robot who's gonna realstically use beyond say 6 or 7 axis even on a 'fancy' cnc
07:22 PM Tom_L: something to consider at least
07:23 PM Tom_L: i'm sure some would frown on it
07:23 PM lcnc-relay: <big_kevin420> if its non-volotile, that makes it easier doesnt it
07:23 PM lcnc-relay: <big_kevin420> he can just use ini vars
07:23 PM Tom_L: those are persistent so yes
07:24 PM lcnc-relay: <big_kevin420> i was confusing volatile,
07:25 PM lcnc-relay: <big_kevin420> http://linuxcnc.org/docs/stable/html/gcode/overview.html#gcode:ini-hal-params
07:27 PM Tom_L: so you're saying set up a [carousel] section with a few named parameters
07:35 PM Unterhaus_ is now known as Unterhausen
07:35 PM Unterhausen: I think I would add a home switch, easier
07:36 PM Tom_L: that's why you get paid the big bux :)
08:59 PM -!- #linuxcnc mode set to +v by ChanServ
09:20 PM Tom_itx is now known as Tom_L
10:53 PM flyback: https://www.youtube.com/watch?v=F4C7MEVJ_IU <--- stress relief
11:00 PM fdarling: Tom_L, CAKESLOB, big_kevin420: I am asking how to access the parameters *from within a realtime component*, like is there a global variable? A function I can call to grab a value? I can't see anyone talking about this...
11:01 PM fdarling: for example, if I wanted to know the G54 X offset from within a realtime component for some reason, how would I even do it?
11:01 PM fdarling: There is a way to do it from the Python API, but I need the C API that is realtime friendly