#linuxcnc Logs
Apr 19 2024
#linuxcnc Calendar
04:41 AM Guts71: lcnc-relay Your link does not work
04:52 AM lcnc-relay: <turboss> hehe I'm turboss from the discord
04:52 AM lcnc-relay: <turboss> 😄
04:52 AM Guts71: ??
04:52 AM lcnc-relay: <turboss> another chat application
04:52 AM TurBoss: search in google for linuxcnc python-interface
04:52 AM Tom_L: morning
04:52 AM lcnc-relay: <turboss> https://linuxcnc.org/docs/devel/html/config/python-interface.html
04:52 AM lcnc-relay: <turboss> do this link work?
04:52 AM TurBoss: morning Tom_L
04:52 AM Tom_L: Guts71, have a look at this work in progress: https://github.com/jethornton/flexgui
04:59 AM TurBoss: does anyone know if the python owords have a 5 secconds timeout?
05:55 AM JT-Cave: the only thing I know of with a 5 second default timeout is the python command wait_complete()
05:57 AM TurBoss: checking Thanks!
06:09 AM JT-Cave: you can override the default like this c.wait_complete(10)
06:50 AM lcnc-relay: <travis_farmer> woke up again... case y'all missed it, i am sick with a stomach flu 😦 a bad one 😦
07:00 AM CaptHindsight: I thought we only reported weather, chicken stories and occasionally some CNC news :)
07:00 AM CaptHindsight: hope you feel better :p
07:00 AM lcnc-relay: <travis_farmer> thanks, stomach is talking big time...
07:02 AM CaptHindsight: could be worse, could be a terminal illness
07:02 AM lcnc-relay: <travis_farmer> that would feel better 😉
07:02 AM CaptHindsight: nah, it sucks
07:03 AM CaptHindsight: stick to clear liquids in small amounts
07:04 AM CaptHindsight: see a doc if it lasts more than a few day, fever stay high, any body part explodes, etc etc
07:05 AM lcnc-relay: <travis_farmer> so far fever was only 99.3 this morning, so i think it may go quick. but who knows
07:06 AM CaptHindsight: that is not too bad
07:06 AM lcnc-relay: <travis_farmer> nope. last night was bad chills though. could not get warm
07:07 AM CaptHindsight: I get hot flashes that last from 1 to several minutes from my meds. You get soaked and then you feel cold.
07:08 AM lcnc-relay: <travis_farmer> had that after surgery a while back, when i was on heavy oxy
07:39 AM Tom_L: JT-Cave, rapid_override_sl works in my ui but not in xyz
07:40 AM Tom_L: the _lb works now
07:41 AM Tom_L: names are the same
07:41 AM Tom_L: xyzh
07:41 AM JT-Cave: it works in xyz for me...
07:45 AM Tom_L: nope not here.. i just copied the examples over to the config folder too
07:45 AM Tom_L: after a pull
07:45 AM Tom_L: the _lb isn't showing anything now either
07:46 AM Tom_L: 'Textlabel'
07:47 AM JT-Cave: I'm stumped it works here
07:47 AM * JT-Cave starts his chicken day... gotta leave early
07:48 AM Tom_L: i'll putz with it later today
07:48 AM Tom_L: maybe the brain will function better then
07:55 AM Tom_L: nope, i copied the entire examples folder to linuxcnc/config/flex_examples
07:57 AM JT-Cave: which config are you running?
08:00 AM Tom_L: xyzh.ini & xyz.ui
08:00 AM JT-Cave: hmm when I install flex and run xyz.ini it's broken so I have something to work on
08:00 AM Tom_L: mine is tom.ini tom.ui
08:00 AM Tom_L: ok
08:00 AM Tom_L: phew!
08:00 AM JT-Cave: I've been running sim xyz the flex from the command line
08:01 AM Tom_L: i don't get it though, the widget names are the same
08:01 AM Tom_L: i think
08:01 AM Tom_L: i just deleted the configs folder and installed from the pull
08:02 AM Tom_L: the flex header shows 0.1.1 though
08:02 AM Tom_L: on mine and xyz
08:03 AM Tom_L: it should be 0.1.2
08:05 AM Tom_L: rapidrate_lb is still broke
08:07 AM JT-Shop: 0.1.3
08:07 AM Tom_L: do i need to copy the examples again too?
08:08 AM JT-Shop: I don't think so
08:08 AM Tom_L: update the header.. it still shows 0.1.1
08:10 AM Tom_L: rapid_override_sl is broke, rapidrate_lb shows 100% here
08:10 AM Tom_L: in xyz.ui
08:11 AM Tom_L: both work in mine
08:11 AM Tom_L: very odd
08:12 AM -!- #linuxcnc mode set to +v by ChanServ
08:22 AM Tom_dev: my objnames: rapid_override_sl, rapidrate_lb and xyz.ui: rapid_override_sl, rapidrate_lb
08:22 AM Tom_dev: copied right from both .ui files
08:26 AM JT-Cave: yup we have an early departure this morning to see the surgeon for post op checkup
08:26 AM Tom_L: ok, add: MAX_LINEAR_VELOCITY to the [DISPLAY] section
08:26 AM Tom_L: that fixed it
08:26 AM JT-Cave: ok
08:26 AM Tom_L: may as well add min too
08:26 AM JT-Cave: to display?
08:26 AM Tom_L: and 'default
08:26 AM Tom_L: yes
08:27 AM -!- #linuxcnc mode set to +v by ChanServ
08:27 AM Tom_dev: DEFAULT_LINEAR_VELOCITY = 0.10
08:27 AM Tom_dev: MIN_LINEAR_VELOCITY = 0
08:27 AM Tom_dev: MAX_LINEAR_VELOCITY = 1.50
08:27 AM Tom_L: from tom.ini
08:27 AM JT-Cave: if there is any spindle stuff in the display section it can be removed if you have that stuff in spindle_0 section
08:27 AM Tom_L: ok
08:28 AM Tom_L: i don't think i've done much with spindle yet
08:28 AM Tom_L: oh, i had min_forward_vel and max....
08:28 AM Tom_L: and increment
08:29 AM Tom_L: not using those in spindle_0 now?
08:29 AM Tom_L: i think i'd moved all that to the SPINDLE_0 section
08:29 AM JT-Cave: yup that's what I use spindle_0
08:30 AM Tom_dev: [SPINDLE_0]
08:30 AM Tom_dev: MIN_FORWARD_VELOCITY = 0
08:30 AM Tom_dev: MAX_FORWARD_VELOCITY = 5500
08:30 AM Tom_dev: INCREMENT = 10
08:30 AM JT-Cave: hmm a config runs without MAX_FEED_OVERRIDE so I need to program for that
08:31 AM Tom_dev: #MIN_SPINDLE_OVERRIDE = 0.5
08:31 AM Tom_dev: #MAX_SPINDLE_OVERRIDE = 1.2
08:31 AM Tom_dev: those were in my display section
08:31 AM Tom_dev: not used now?
08:33 AM Tom_L: you should set up some defaults for these that require ini settings
08:34 AM Tom_L: later...
08:54 AM JT-Cave: just fixed rapid override
08:55 AM JT-Cave: the preferred location for spindle is in spindle_0 not display
08:55 AM Tom_L: ok
08:55 AM Tom_L: maybe it's good to test with multiple configs
08:56 AM JT-Cave: https://github.com/jethornton/flexgui/blob/0.1.3/flexgui/src/libflexgui/startup.py#L750
08:56 AM JT-Cave: yup
09:09 AM JT-Shop: anyway I was trying to use the wrong ini entry for rapid override it's just 100% as there is no setting for it in the ini
09:37 AM Unterhaus_ is now known as Unterhausen
11:23 AM lcnc-relay: <JT> Yo
11:31 AM lcnc-relay: <turboss> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/lkbutjLpgQtdTExzWQNpMvgU/20240419_182400.mp4
11:32 AM lcnc-relay: <JT> a CNC sewing machine?
11:33 AM lcnc-relay: <turboss> yeah
11:33 AM lcnc-relay: <turboss> 😄
11:56 AM Rab: turboss, interesting...is that for fun, or what's the CNC function?
11:56 AM TurBoss: for fun mostly but also embroider club logos on tshirts
11:56 AM TurBoss: :D
11:58 AM Rab: A friend's mother has a huge computer-controlled quilting machine, it's as much a machine tool as anything else I've seen. Unfortunately I think it's largely driven by pre-digested designs, I don't know if the software lets you author original graphics.
11:59 AM TurBoss: i use a inkscape plugin called inkstictch
12:00 PM Rab: This kinda thing: https://i.pinimg.com/originals/90/16/e5/9016e5b5978aff4eb1bb40f8621f0075.jpg
12:01 PM Rab: Inkscape is great, I use SVG to gcodetools for all my 2.5D stuff.
12:01 PM lcnc-relay: <TurBoss (@TurBoss:jauriarts.org)> wow that serious thing
12:10 PM roycroft: my boss has a cnc embroidery machine
12:12 PM roycroft: he never uses it
12:12 PM roycroft: another of those half-baked business plans that was never followed-through
12:13 PM roycroft: his biggest problem is that he refuses to spend a penny on marketing for anything
12:13 PM roycroft: he spent tens of thousands of dollars on the machine and training, then put up a blurb on a website saying he can do cnc embroidery, and wondered why never got any sales
12:18 PM lcnc-relay: <travis_farmer> sounds like me....
12:19 PM roycroft: i'm not a marketing person - i hate doing it - but i understand the value and need for it
12:20 PM roycroft: and i understand that paying someone $30k/year who brings in $200k/year of business is not throwing away $30k/year
12:50 PM roycroft: the difference between that machine and an embroidery machine is that the latter can load a dozen or more different colored threads at a time, and auto-thread and change threads on demand
12:50 PM roycroft: other than that they basically work the same
12:51 PM roycroft: can that sewing machine move along the x axis as well as the y?
12:51 PM roycroft: if it's a zig-zag machine it probably can
12:51 PM TurBoss: it will move a small holder where the cloths go
12:52 PM roycroft: ok, that works
12:52 PM TurBoss: i just set it to single stitch, no zigzag
01:03 PM Tom_L: JT-Shop, is there a parameter for max_velocity in the lcnc python interface?
01:04 PM Tom_L: for the max_velocity_sl
01:05 PM -!- #linuxcnc mode set to +v by ChanServ
01:05 PM Tom_dev: max_velocity
01:05 PM Tom_dev: (returns float) - maximum velocity. Reflects the current maximum velocity. If not modified by halui.max-velocity or similar it should reflect [TRAJ]MAX_VELOCITY.
01:05 PM Tom_L: can the slider be hooked into that?
01:05 PM Tom_L: with a link to halui.max-velocity
01:07 PM Tom_dev: maxvel(float)
01:07 PM Tom_dev: set maximum velocity
01:09 PM Tom_L: it reads the max from the [DISPLAY] MAX_LINEAR_VELOCITY setting
01:09 PM Tom_L: but the slider doesn't do anything yet
01:09 PM Tom_L: it being the _lb for it
01:13 PM Tom_L: there is also a jog_speed_sl that goes nowhere currently
01:13 PM Tom_L: afik
01:21 PM Tom_L: i think jog_vel and jog_speed may be the same and can eliminate jog_speed _sl & _lb?
01:29 PM lcnc-relay: <JT> The rapid override is a percentage of maximum velocity
01:38 PM pcw---home: I feel wealthy, just made a new jar of pickled jalapenos
01:38 PM XXCoder: fancy
01:39 PM pcw---home: Hardly anything I won't add them to...
01:55 PM lcnc-relay: <JT> I put jalapeños in my pickled eggs
01:56 PM roycroft: jalapeǹos are good with almost anything, but they are rather mild
01:56 PM lcnc-relay: <JT> https://gnipsel.com/recipes/snacks/pickled-eggs.html
01:56 PM roycroft: i like serranos better
01:57 PM lcnc-relay: <JT> I've never seen serranos in the grocery store
01:59 PM roycroft: they're in every store around here
02:00 PM roycroft: but our hispanic population is approaching 20%
02:00 PM roycroft: so there's a prety wide variety of peppers in the stores
02:05 PM lcnc-relay: <JT> Walmart says they have them
02:07 PM roycroft: they're really good
02:07 PM roycroft: i like the flavor a lot
02:08 PM roycroft: they're longer and skinnier than jalapeños, and have a fair amount more heat
02:08 PM roycroft: i also really like the flavor of habaneros, but they're a bit too hot for me to use much of
02:14 PM lcnc-relay: <Lcvette> pcw---home: if your loacal grocery stores carry Mt Olive brand pickles see if they have Jalepeno pickle spears, I am addicted to them..lol and they go fantastic as a garnish in a bloody Mary
02:15 PM pcw---home: My wife is OK with jalapenos but serranos are over the limit...
02:19 PM pcw---home: But sometimes jalapenos have near 0 heat (older ones with white lines tend to be hotter)
02:33 PM roycroft: i can get at least a half dozen fresh varieties of peppers at almost any market in town, and there are several mexican markets that have dozens of fresh and even more dried peppers
03:40 PM solarwind: https://www.youtube.com/shorts/fvfvUzy64sw
03:40 PM solarwind: So helium is quite expensive
03:40 PM solarwind: and a limited resource
03:40 PM solarwind: Hydrogen should be ok, yeah?
03:40 PM solarwind: I mean, what's the worst that could happen in a small rubber balloon?
03:43 PM Loetmichel: its expensive because its not that plentiful and not easily extracted from the athmosphere.
03:44 PM solarwind: Yes, I know
03:44 PM Loetmichel: as for hydrogen: a pretty loud bang.
03:44 PM solarwind: If you mix with oxygen, yeah
03:44 PM Loetmichel: even if it only has the oxygen from the air.
03:44 PM solarwind: I think pure hydrogen in a balloon it takes a lot longer (relatively) to burn
03:45 PM Loetmichel: not QUITE as loud as full on HHO mix but still pretty impressive
03:45 PM solarwind: because it has to come in contact with the atmospheric oxyen
03:45 PM solarwind: HHO mix is INSANELY loud
03:45 PM Loetmichel: indeed
03:45 PM solarwind: that's on a different level entirely
03:45 PM Loetmichel: Its called "Knallgas" in german for a reason ;)
03:47 PM roycroft: funny you should say that, loetmichel, as pretty much 100% of the hydrogen in the universe was created within 20 minutes of the big bang
03:47 PM roycroft: and a tiny amount of the helium in the universe
03:48 PM Loetmichel: roycroft: point is that hydrogen has an insanely fast reaction speed. making its "burning" many times the speed of sound if there is enough oxygen
03:48 PM roycroft: although it took about 400,000 years for the hydrogen and helium nuclei to cool off enoug for electrons to orbit them
03:49 PM roycroft: so it was arguably ~400,000 years after the big bang when all the hydrogen in the universe was formed
03:49 PM roycroft: but the overall point is that all the hydrogen dates back to the beginning of the universe, while all other atoms were formed later, and are still forming
03:51 PM Loetmichel: Its not ALL of it. you can make protons, neutrons and electrons from "Nothing" near a black hole. At least in theory.
03:53 PM Loetmichel: or more like it forms everywhere and everytime with equivalent antiparticles just to anihilate again very small fractions of time later UNLESS you are near a black hole whose gravity can pull the antiparticles away. (If i remember my school physics lessons right)
04:02 PM roycroft: what i've learned is that if you run into a random hydrogen molecule on the street, you can guarantee that it's 14.5 billion years old
04:02 PM roycroft: transient molecules such as you describe you would never run into on the street
04:02 PM roycroft: which is not to say that doesn't happen
04:03 PM roycroft: i don't hang out near black holes, and so i've never had an opportunity to as a black hole hydrogen molecule how old it is
04:04 PM Loetmichel: yeah, i was countering the ALL IN THE UNIVERSE part.
04:04 PM Loetmichel: not saying that it can be encountered on earth
04:04 PM roycroft: i also misspoke then
04:05 PM roycroft: as i said originally "pretty much 100%"
04:05 PM roycroft: which means the overwhelming majority, but not necessarily all
04:05 PM roycroft: and i'll stand by that statement
04:05 PM Loetmichel: yah, its probably not much that emerges that way.
04:18 PM roycroft: all i know is that whenever i run into some random hydrogen, it makes me feel young again in comparison
05:51 PM ziper2: man all the time i'd see ads for these torno brand lathes and think what are these pieces of shit
05:51 PM ziper2: it took me so long to realize it is just spanish for lathe
05:52 PM XXCoder: lol IH metal wood box https://youtu.be/uQQH8XzlgVU
06:27 PM solarwind: https://www.youtube.com/shorts/-QbinGjPRdA
06:27 PM solarwind: This is really cool, but I can imagine a situation where someone who isn't from around there makes an emergency stop
06:27 PM solarwind: the same reason they can't put barriers in front of vehicles going 80+ km/h
07:18 PM bjorkintosh: they can. it's just not polite.
08:01 PM Guts71: Guys do I need to load firmware for my zynq ultrascale card to use the linuxcnc functions ?
08:39 PM lcnc-relay: <satiowadahc#0> Finally added kinematics to this machine. It's oddly satisfying.
08:39 PM lcnc-relay: https://photos.chadly.ca/share/M4rDL3GqkA8PV5vpeHI28csbhjwJGdWYwSzwhZVpPb1PUB1TGKs3LKd7iTgteA3Gh7g
08:46 PM XXCoder: very slow loading but interesting
08:48 PM lcnc-relay: <satiowadahc#0> Might be time for a bigger server.
08:48 PM lcnc-relay: <satiowadahc#0> Or faster internet
08:49 PM XXCoder: dunno, internet access have been bit slow here ever since main internet route was destroyed
09:08 PM Guts71: Guys do I need to load firmware for my zynq ultrascale card to use the linuxcnc functions ?
09:09 PM lcnc-relay: <big_kevin420> pretty sure you need an hm2 firmware + the os n stuff
09:10 PM lcnc-relay: <big_kevin420> idk if anyone do it on linuxcnc but machinekit do it