#linuxcnc Logs
Mar 03 2024
#linuxcnc Calendar
01:30 AM Deejay: moin
03:13 AM Centurion_Dan1 is now known as Centurion_Dan
04:43 AM JT-Cave: morning
05:36 AM Tom_L: morning
07:04 AM JT-Cave: more than one way to skin a cat
07:04 AM JT-Cave: if parent.findChild(QLabel, f'{item}'): # if the label is found
07:04 AM JT-Cave: p = getattr(parent, item).property('precision')
07:04 AM JT-Cave: p = p if p is not None else 3
07:04 AM JT-Cave: parent.status_dro[f'{item}'] = [i, p] # add the label, tuple position & precision
07:05 AM JT-Cave: for key, value in parent.status_dro.items(): # key is label value is status item
07:05 AM JT-Cave: getattr(parent, f'{key}').setText(f'{getattr(parent, "status").position[value[0]]:.{value[1]}f}')
07:37 AM JT-Cave: https://www.youtube.com/watch?v=gY-YeP0cdl8
07:41 AM JT-Cave: I need a logo for Flex...
08:51 AM lcnc-relay: <skunkworks8841> Lol - left the emco on over night.. Didn't blow up.
08:52 AM JT-Cave: that's a good sign
08:56 AM Tom_L: JT-Cave, not gonna get beat by pyqy ehh?
08:56 AM Tom_L: cool
08:56 AM Tom_L: how did you figure out the properties modifier?
09:14 AM Tom_L: is 'is not none' the same as empty() or closer to being NIL or undefined?
09:32 AM JT-Cave: some things return None which is a bit special so you have to test for that with is None or is not None
09:33 AM JT-Cave: there is no built in function empty()
09:34 AM JT-Cave: getattr(parent, item).property('precision') will return None if the property does not exist
09:34 AM Tom_L: we had empty() and !=NIL but if it was undefined that was an error
09:35 AM Tom_L: property := '' empty() returns true
09:36 AM Tom_L: but also creates property as a str value
09:49 AM JT-Cave: so what I did is if no precision dynamic property is found I just set it to 3
09:49 AM JT-Cave: https://docs.python.org/3/library/functions.html
09:49 AM JT-Cave: those are good to look through
09:49 AM Tom_L: is there a list of dynamic properties somewhere?
09:50 AM Tom_L: thanks
09:55 AM JT-Cave: you create dynamic properties either in code or in designer
09:55 AM JT-Cave: did you watch the video?
10:03 AM Tom_L: yup
10:08 AM -!- #linuxcnc mode set to +v by ChanServ
10:25 AM lcnc-relay: <satiowadahc#0> 12" of snow so far. Another 12 expected today... do I start digging to make it easier tommorow or just stay warm?
10:25 AM Tom_L: wait then make a tunnel
10:25 AM Tom_L: what country?
10:26 AM lcnc-relay: <satiowadahc#0> Middle of Canada
10:26 AM Tom_L: ahh
10:27 AM lcnc-relay: <satiowadahc#0> Banks already 3 feet in front of the garage. Might just need to knock it back
10:28 AM Tom_L: do they drive on the lakes in your neck of the woods?
10:30 AM lcnc-relay: <satiowadahc#0> Oh yeah. I think all the ice roads are open now.
10:30 AM Tom_L: i used to watch that show sometimes
10:31 AM lcnc-relay: <satiowadahc#0> Huh only two are open near here.
10:32 AM lcnc-relay: <satiowadahc#0> The one ferry near us in summer cuts any east travel down by 40 mins. Since that ice road isn't open it's a huge detour.
10:32 AM lcnc-relay: <satiowadahc#0> Not often needed but just a minor annoyance
10:33 AM Tom_L: i'd imagine some communities rely on them being open
10:34 AM Tom_L: do they go out and drill test holes to check it?
10:35 AM lcnc-relay: <satiowadahc#0> Yep.
10:35 AM Tom_L: i would not want to be first in line
10:36 AM lcnc-relay: <satiowadahc#0> I go by how many ice shacks have fallen through:P
10:36 AM lcnc-relay: <satiowadahc#0> Best fishing is real close to the car travel. Every November-December there's some dumb and brave fisherman.
11:19 AM roycroft: we all know the ice fishing part is just a ruse
11:19 AM roycroft: it's really just an excuse to drink beer in a tent in the winter
11:35 AM Roguish: well, off and on rain forecasted through Wednesday
11:36 AM lcnc-relay: <satiowadahc#0> Don't need to be near the thin ice to drink beer. Could go a half a km over and be fine.
11:38 AM roycroft: sure
11:38 AM roycroft: but if you start the beer drinking on your way to the ice you might forget to to go the thick ice
01:00 PM lcnc-relay: <satiowadahc#0> Welp first run of the sisyphean task complete. Several patches higher than my snowblower. And it's still coming.
01:01 PM waterppk1: 70* in Wisconsin. . .
01:01 PM XXCoder: I guess you have plenty of supplies to last
01:01 PM XXCoder: 41f here, and no snow predicted. yeah as I predicted, snow precdiction was removed
01:04 PM lcnc-relay: <JT (@jt-shop:matrix.org)> 67°F in St. Genevieve
01:07 PM Tom_L: 75°F in doo dah
01:07 PM Tom_L: 77
01:09 PM lcnc-relay: <JT (@jt-shop:matrix.org)> Wind blowing up to 30mph
01:09 PM Tom_L: we had that last night
01:17 PM XXCoder: JT-Woodshop: interesting video
01:18 PM lcnc-relay: <JT (@jt-shop:matrix.org)> Tom_L thinking of adding some examples of ui files. Wondering where to put them?
01:19 PM waterppk1: hoping to fire our fiber laser sometime before Tuesday, hope the capacitive height tracking works under real world conditions :-)
01:20 PM Tom_L: in the examples folder?
01:20 PM Tom_L: once you get a ways, i'll try to convert jet over
01:20 PM Tom_L: you need to get the file io stuff working though
01:22 PM Tom_L: or from the deb can you put them in /user/linuxcnc/flexui/examples?
01:22 PM Tom_L: flexgui
01:23 PM Tom_L: dunno how that works
01:26 PM lcnc-relay: <satiowadahc#0> which laser did you get?
01:28 PM lcnc-relay: <JT (@jt-shop:matrix.org)> Thinking it needs to be in configs/flex examples
01:28 PM Tom_L: somewhere close to that yes
01:29 PM lcnc-relay: <JT (@jt-shop:matrix.org)> Maybe put a Readme file in there
01:29 PM Tom_L: 'not for the faint of heart'
01:30 PM Tom_L: i doubt a noob is gonna want to try it
01:30 PM lcnc-relay: <JT (@jt-shop:matrix.org)> LOL
01:31 PM lcnc-relay: <JT (@jt-shop:matrix.org)> I'm hoping noobs do use it
01:31 PM Tom_L: once they struggle past the first config maybe
01:32 PM lcnc-relay: <JT (@jt-shop:matrix.org)> So how to make it dead nuts easy
01:33 PM lcnc-relay: <JT (@jt-shop:matrix.org)> Mesact will create the config files
01:33 PM Tom_L: i'd have a basic boilerplate example to start from
01:33 PM Tom_L: similar to jet but not as complex
01:34 PM lcnc-relay: <JT (@jt-shop:matrix.org)> Hmm mesact could copy the ui and qss file into the config dir
01:41 PM lcnc-relay: <JT (@jt-shop:matrix.org)> Maybe a simple XYZ, XZ
01:42 PM Tom_L: and xyyz
01:43 PM lcnc-relay: <JT (@jt-shop:matrix.org)> That would be XYZ UI
01:44 PM Tom_L: k
01:46 PM lcnc-relay: <JT (@jt-shop:matrix.org)> But that raises the question of what do you do with XYYZ before you home and you have 4 joints?
01:46 PM Tom_L: seems quite a few noob builds will be xyyz chinaco mills
01:54 PM lcnc-relay: <landlord101> is WCH CH382L supported?
01:54 PM lcnc-relay: <landlord101> is WCH CH382L paraller port pci card supported?
01:57 PM Tom_L: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?WCH
01:58 PM Tom_L: aparently no
02:05 PM lcnc-relay: <JT (@jt-shop:matrix.org)> Heading to the ranch
02:32 PM Tom_L: nap
02:33 PM XXCoder: just dont nap while heading to ranch
03:41 PM XXCoder: decent frank video as usual today
04:07 PM Centurion_Dan1 is now known as Centurion_Dan
05:06 PM Tom_L: JT-Cave, is your page (html) up to date with widget names?
05:06 PM JT-Shop: for status items?
05:06 PM Tom_L: well yes
05:06 PM Tom_L: i'm starting to go thru jet and see if any need changed
05:07 PM JT-Shop: should be correct
05:07 PM JT-Shop: ok
05:07 PM Tom_L: unless you already named them the same
05:07 PM Tom_L: i noticed like the dro were the same
05:07 PM JT-Shop: some may be different than jet
05:07 PM Tom_L: k
05:08 PM JT-Shop: if it made more sense to change some
05:08 PM Tom_L: yeah
05:08 PM Tom_L: the ones i did i'll have to add a separate label for the 'text' part
05:16 PM lcnc-relay: <jpmoniz> I’ve lost touch of where gui development is at. What’s the preferred UI these days? Looking through the sims there is some pretty nice looking stuff.
05:16 PM Tom_L: depends how simple or bloated you want
05:17 PM Tom_L: i use axis
05:17 PM Tom_L: jt is working on flexgui
05:17 PM Tom_L: a build your own
05:18 PM Tom_L: drop a widget and the supporting code is there
05:18 PM XXCoder: yep saw ponental in that. hopefully it ends up awesome
05:18 PM Tom_L: https://www.gnipsel.com/linuxcnc/flexgui/index.html
05:19 PM JT-Shop: yup give it a few weeks to mature and it will be awesome!
05:19 PM lcnc-relay: <jpmoniz> Yes I know there’s a preference factor. Was thinking more around support of gui libraries and any issues around depreciation
05:19 PM JT-Shop: that's why I'm using PyQt 6...
05:24 PM Tom_L: does actionOpen work yet?
05:24 PM JT-Shop: should work now
05:25 PM Tom_L: just name the widget actionOpen?
05:25 PM Tom_L: err the menu item
05:25 PM JT-Shop: create a menu item called Open and actionOpen magically appears
05:34 PM Tom_L: you didn't make one for feed?
05:34 PM JT-Shop: feed?
05:34 PM Tom_L: i found it
05:35 PM roycroft: the 12l14 is machining very nicely, as expected
05:35 PM XXCoder: nice
05:36 PM Tom_L: it can also cut undersize just like the other too
05:36 PM Tom_L: :)
05:36 PM XXCoder: its for that inside thread creator right? proper one not protoype
05:36 PM roycroft: i should have a new cutterhead made this afternoon, with the grub screw adjuster
05:36 PM roycroft: yes
05:37 PM roycroft: i should probably dig out a fine thread grub screw for it
05:37 PM Tom_L: JT-Shop, does spindle_speed_n_lb start with 1 or 0?
05:38 PM JT-Shop: 0
05:43 PM JT-Shop: spindles and joints all start with 0
05:57 PM Tom_L: i don't see a manual widget
05:58 PM JT-Shop: manual mode?
05:58 PM Tom_L: yeah unless i missed it
05:58 PM JT-Shop: it's a mode button
05:59 PM Tom_L: i don't see a _pb for it
05:59 PM JT-Shop: I'll have to look in the am
05:59 PM JT-Shop: about to call it a day here
05:59 PM Tom_L: i pulled the list from the html
05:59 PM Tom_L: so it may not be up to date
06:00 PM JT-Shop: there is one for sure
06:00 PM Tom_L: what file would that be in?
06:00 PM JT-Shop: startup.py
06:00 PM Tom_L: ok
06:01 PM Tom_L: yup it's there
06:01 PM Tom_L: unless i skipped it, it's not in the html
06:02 PM JT-Shop: do a pr on the docs
06:03 PM * JT-Shop calls it a night
06:10 PM Tom_L: it's in the .rst file right?
06:10 PM * Tom_L hopes
06:24 PM firephoto__ is now known as firephoto_
07:18 PM solarwind: CaptHindsight https://www.youtube.com/watch?v=L_53XQrlxOo
07:18 PM solarwind: A full 3D printer with linear motors for $1,400 USD
07:18 PM lcnc-relay: <gtkplusplus> Ah, slanderer and messing up hardware in reviews
07:18 PM lcnc-relay: <gtkplusplus> Name a more iconic duo
07:18 PM lcnc-relay: <gtkplusplus> 2k now. Still very cheap
07:18 PM solarwind: I'm more interested in the linear motors and the pricing on that
07:19 PM lcnc-relay: <gtkplusplus> They have a custom step dir driver which is going to be nice. But I'm not sure if peopoly is going to sell the components to make your own.
07:19 PM solarwind: gtkplusplus is there controversy around him?
07:19 PM solarwind: I want to know more about the linear motors. Are they linear "steppers" or 3 phase?
07:20 PM solarwind: Based on the spacing of the magnets, I'd lean towards 3 phase
07:20 PM lcnc-relay: <zincboy_ca_on> Looks to be too coarse a pole pitch to be linear steppers.
07:20 PM solarwind: yeah
07:20 PM solarwind: I wonder where they got them
07:22 PM solarwind: gtkplusplus the driver isn't anything interesting, it looks like a standard servo drive
07:22 PM XXCoder: gtk isnt that LTT and not thomas
07:22 PM solarwind: yeah, everyone knows Linus Sebastian is a piece of shit
07:23 PM lcnc-relay: <zincboy_ca_on> Looks like they just glued a bunch of magnets in a channel. Nothing you couldn't do yourself. The interesting bit would be how they wound the coils.
07:23 PM XXCoder: yeah I wonder how consient it is
07:24 PM lcnc-relay: <zincboy_ca_on> I didn't see if they use a linear scale for feedback but if so the magnet spacing consistency doesn't really matter.
07:24 PM XXCoder: I mean, its going to be not consient on magnet spacing if you glue it in
07:25 PM solarwind: zincboy, there is a position encoder
07:25 PM XXCoder: yeah I bet it would be needed to know position
07:25 PM XXCoder: oh wheres it?
07:25 PM solarwind: looks like a magnetic strip type encoder
07:25 PM XXCoder: interesting
07:26 PM lcnc-relay: <zincboy_ca_on> Ah, then yes, the magnet spacing will be fine within a few %. You would just need to detune the PID a bit to allow for the gain variation.
07:27 PM XXCoder: I suppose could use something to set spacing when gluing
07:27 PM solarwind: Have a CNC machine pick and place the magnets for precise assembly
07:28 PM XXCoder: that would work
07:28 PM Tom_L: why are the magnets skewed in line?
07:28 PM XXCoder: magnet field gradient maybe?
07:28 PM lcnc-relay: <zincboy_ca_on> Doesn't need precision. You could be +/-1mm and be fine.
07:28 PM lcnc-relay: <zincboy_ca_on> They are skewed to minimize cogging.
07:29 PM solarwind: Yeah but the better the tolerance, the lower the settling time
07:29 PM XXCoder: I wonder how it calibrates
07:29 PM solarwind: it's no different than a regular servo
07:29 PM lcnc-relay: <zincboy_ca_on> The scale determines the accuracy. The magnets have nothing to do with it.
07:29 PM solarwind: it's just like a servo motor but the stator is unwound and endless, just like a how a rack is like an unwound gear
07:30 PM solarwind: unrolled* is probably a better word
07:31 PM XXCoder: it uses magnets to move correct? and strip to know where
07:31 PM solarwind: yes
07:31 PM XXCoder: but wouldnt position vary cause motion to vary also?
07:31 PM solarwind: it's exactly like a regular brushless servo
07:31 PM solarwind: like _exactly_ like a regular servo but the stator is unrolled
07:32 PM Tom_L: similar to a F&P motor but flat
07:32 PM solarwind: XXCoder yes but the encoder gets the final say about position
07:32 PM solarwind: and the PID algorithm does whatever it needs to do to settle to final position
07:33 PM solarwind: the worse the magnet spacing tolerance is, the "looser" you have to tune your PID so it doesn't oscillate
07:33 PM XXCoder: interesting. I guess if error is way below tol then it wouldnt be something to worry about as encoder would correct it
07:33 PM solarwind: and that increases settling time
07:33 PM solarwind: which is why I say, sure +/- 1mm will work, but if you want the best settling time, you can definitely (and should) strive for proper assembly of magnets
07:34 PM solarwind: why aim for +/- 1mm these days lol
07:34 PM solarwind: we have CNC machines that have sub µm positioning
07:34 PM lcnc-relay: <zincboy_ca_on> 100% agreed. But just saying that a simple fixture will get you more than close enough.
07:35 PM lcnc-relay: <zincboy_ca_on> You would just spend pointless amounts of money using CNC placement. These aren't IC die we are pick and placing here.
07:36 PM XXCoder: if I was building one on budget I would just use something to set magnet spacing
07:36 PM XXCoder: it wont be in uM but it wont be 1mm varancy
07:37 PM Tom_L: but even so, are the magnet fields per magnet that accurate?
07:38 PM solarwind: they're surprisingly consistent, yes
07:38 PM solarwind: it's more about consistency, not accuracy
07:38 PM solarwind: they're sintered neodymium so they're all made from the same batch
07:38 PM Tom_L: mini rail guns
07:39 PM solarwind: well rail gun doesn't use magnets
07:39 PM solarwind: it's just two rails and hope you don't spot weld your projectile
07:42 PM lcnc-relay: <zincboy_ca_on> I think this might have come up before but is there a way to have dynamic soft limits or at least switchable ones? I want to limit my A axis rotation when the C axis is installed. Ideally this would
07:42 PM lcnc-relay: <zincboy_ca_on> not require loading different configs.
07:45 PM Tom_L: i just run 2 configs
07:45 PM Tom_L: i don't think you can since the ini is read once on startup but i've been wrong at least once before
07:58 PM lcnc-relay: <zincboy_ca_on> That is what I figured.
08:15 PM lcnc-relay: <big_kevin420> that printer is just usiong an octopus board
08:17 PM lcnc-relay: <big_kevin420> those linear motors are fresh, i wonder how good it is
08:17 PM lcnc-relay: <big_kevin420> why dont 3dprinters ever use bearing blocks on the z axis?
08:18 PM lcnc-relay: <zincboy_ca_on> I have one that does.
08:18 PM lcnc-relay: <big_kevin420> im not buying banding or some shit as an issue
08:20 PM lcnc-relay: <zincboy_ca_on> Formbot Troodon. I don't see any issues on that system.
09:15 PM roycroft: well i got the cutter head completely finished, blew the chips out, cleaned it up, and it looked great
09:15 PM roycroft: i inserted the cutter and the set screw that holds it in place
09:15 PM roycroft: then i inserted the adjuster screw that i bought today
09:15 PM roycroft: it went partway in and stopped advancing
09:15 PM XXCoder: uhoh
09:15 PM roycroft: when i tried backing it out the hex head stripped out
09:16 PM roycroft: it must have been made of pot stainless steel
09:16 PM roycroft: i'm pretty frustrated, and just put it aside
09:16 PM roycroft: i don't know if i can salvage it or not
09:18 PM roycroft: the part is beautiful - i got a great finish on everything, and i held 0.001"-0.002" tolerances on all ops, which is pretty impressive for me, generally, and for that lathe i have especially
09:18 PM roycroft: and way tighter than is needed for the part
09:19 PM XXCoder: cant get bolt out?
09:20 PM XXCoder: I wonder if can weld bar to it then use it to get it out
09:20 PM roycroft: it's a #10 screw, and it's about 1/4" below the surface
09:20 PM roycroft: i don't think i'm gonna weld on that
09:21 PM roycroft: edm would work, but i don't have an edm machine
09:21 PM XXCoder: makes sense. I recal theres few ways to do around it
09:21 PM XXCoder: size makes it hard though
09:21 PM XXCoder: is it a though thread?
09:22 PM roycroft: the bore goes all the way through
09:22 PM roycroft: the threaded part goes halfway through
09:22 PM roycroft: the rest of the bore is larger - 1/2"
09:23 PM XXCoder: hm dunno then. was wondering if you could push it out by going other way with good boklt
09:23 PM roycroft: i don't think so
09:23 PM roycroft: i'll worry about it in a couple days
09:23 PM roycroft: i have meetings tomorrow and tuesday from right after work until late evening
09:23 PM XXCoder: yeah. maybe leaving it in back of mind would cook out a solution later
09:24 PM roycroft: yeah, i've found that walking away for a while often help
09:24 PM roycroft: at the very least it stops me from doing something rash that i'll regret
09:24 PM XXCoder: yeah
09:25 PM XXCoder: hopefully it will be recoverable
09:25 PM roycroft: at least i'm getting good at making these things
09:25 PM roycroft: i paid $1.28 for that stupid screw
09:25 PM roycroft: i should have just ordered some real ones from mcmaster
09:25 PM XXCoder: butteralloy screws :(
09:25 PM roycroft: maybe i'll do that tonight - they'll arrive on wednesday or thursday (assuming the storm is over)
09:26 PM roycroft: which is the soonest i'll be ready to try again anyway
09:27 PM XXCoder: makes sense
09:48 PM Tom_L: drill and easy out
09:49 PM Tom_L: maybe too small on a #10
09:53 PM XXCoder: yeah
09:54 PM Tom_L: i've got some pretty small easy outs but dunno if they'd fit that
09:55 PM Tom_L: you can always drill it out and use the next size screw
10:17 PM roycroft: yes
10:17 PM roycroft: i used that size because it's 32tpi
10:17 PM roycroft: but i can go to 1/4"-28tpi
10:17 PM roycroft: that's still fairly fine
10:20 PM roycroft: 32tpi is a nicer number for indexing
10:21 PM roycroft: 1/8 of a turn is about 0.004"
10:48 PM roycroft: i guess i need a #3 left hand drill for this