#linuxcnc Logs
Nov 14 2024
#linuxcnc Calendar
01:49 AM Deejay: moin
02:17 AM -!- #linuxcnc mode set to +v by ChanServ
11:40 AM rdtsc-wk: Tom, any chance of getting that log process to run in some type of loop, so that if it exits, it just restarts? :)
11:41 AM rdtsc-wk: maybe with a counter, so that it only tries X number of times per day
11:43 AM lcnc-relay: <travis_farmer@discord> mine does that with a startup script
11:43 AM lcnc-relay: <travis_farmer@discord> backup-log
11:43 AM backup-log: lcnc-relay: Today's Log https://www.tjfhome.net/irclog/%23linuxcnc/2024-11-14.html
11:45 AM Tom_L: it's supposed to
11:46 AM lcnc-relay: <travis_farmer@discord> here is my systemd config: https://paste.debian.net/1335532/
11:46 AM Tom_L: i run it with nohup python xxxx
11:47 AM Tom_L: rdtsc-wk, got the hole routine working good now
11:48 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/hole_pattern_quadrant_test.png
11:48 AM Tom_L: any quadrant
11:49 AM Tom_L: looks like he's got it in the repo now too
11:51 AM rdtsc-wk: nice! now if only I can get caught up :)
11:52 AM Tom_L: accepts angular offset too
11:52 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/hole_pattern_diameter.png
11:52 AM rdtsc-wk: thinking about groups of four holes, in a pentagon shape... easy :)
11:53 AM Tom_L: i'm wondering if i should add a speed parameter to it or rely on that being set
11:54 AM Tom_L: spindle speed
11:54 AM Tom_L: i still need to test it on hardware
11:54 AM Tom_L: i'll likely add S and M3 etc to it
11:55 AM JT-Cave: yup
11:55 AM JT-Cave: and M5
11:55 AM Tom_L: right
11:55 AM Tom_L: you get the idea
11:56 AM Tom_L: i was pondering coolant but?
11:56 AM JT-Cave: https://paste.debian.net/1335533/
11:56 AM Tom_L: if you're gonna run the sub you're likely gonna be there with a can-o-oil and a half eaten paint brush
11:56 AM JT-Cave: I used different parameters than you
11:57 AM Tom_L: i saw yours
11:57 AM Tom_L: i'm keeping mine in the same range as the touch probes are
11:58 AM JT-Cave: time for a power nap
11:58 AM Tom_L: i wihs
11:58 AM Tom_L: wish
11:58 AM rdtsc-wk: get a sheet of foam from the home improvement store - safe if anything goofs. (then use it for lost-foam casting.) :)
11:58 AM Tom_L: when i get back i'll add speed etc to them
11:58 AM Tom_L: and a place in the ui to set speed
11:59 AM Tom_L: rdtsc-wk, air is cheaper
11:59 AM rdtsc-wk: true, but air doesn't make any mess - what's the fun in that :)
12:00 PM rdtsc-wk: with foam, get to excercise the dust collector :)
12:02 PM rdtsc-wk: https://www.youtube.com/@kellycoffield533 this guy's made some awesome parts with lost-foam casting
12:03 PM rdtsc-wk: most foam cut on cnc
12:25 PM lcnc-relay: <xxcoder@discord> soganatsu@discord: hi 🙂
12:26 PM -!- #linuxcnc mode set to +v by ChanServ
12:29 PM * roycroft will be doing more work on his dust collector today
12:30 PM roycroft: temporary ducting will be completed today and the 240v power should be done
12:30 PM roycroft: maybe i'll get the 120v control circuit done as well, at which point it will be functional
12:30 PM * roycroft hopes the deluge slows down soon
12:31 PM xxcoder: its rainforest biome, when it dont rain, its summer
12:31 PM roycroft: yup
12:31 PM Tom_L: spindle speed works now
12:31 PM xxcoder: gonna have to do one thing outside today ugh. filling up water tank
12:31 PM roycroft: and it's not fun working in a shed without a door when it's raining so hard one can barely see 2m ahead
12:32 PM roycroft: i can't finish making the door until my dust collector is working though
12:32 PM roycroft: which is a big reason i'm pushing to get that done
12:32 PM roycroft: i need a door on the shed asap
12:33 PM roycroft: but right now i have a couple very hangry kittens
12:33 PM roycroft: i bought them some food last night, but it's in the car
12:33 PM roycroft: and it's really raining hard
12:33 PM roycroft: i may have to go out in the rain anyway, so that they don't try to chew my arm off
12:33 PM xxcoder: got any umbrella?
12:38 PM xxcoder: I know, I know, not usual thing for someone living at west owns but yeah
12:45 PM roycroft: yes, i have one, but that ties up an arm
12:45 PM roycroft: which makes hauling/moving things harder
12:46 PM roycroft: i just put on a hat and jacket and dashed out to get it
01:05 PM lcnc-relay: <skunkworks8841@discord> i forget - did I show this?
01:05 PM lcnc-relay: <skunkworks8841@discord> https://www.youtube.com/watch?v=vz5u3aBXLUg
01:05 PM lcnc-relay: <skunkworks8841@discord> https://www.youtube.com/watch?v=vz5u3aBXLUg
01:06 PM lcnc-relay: <skunkworks8841@discord> I have found atleast 3 of these so far. They all have 1 flaw.. They only do left/right setting - and all the the blades we have are left/right/center
01:07 PM lcnc-relay: <skunkworks8841@discord> even the blade I have in there is left/right/center.
01:07 PM lcnc-relay: <skunkworks8841@discord> I would be tempted to make a new cam for one and see if it works
01:25 PM * roycroft thinks he should make a little environment monitor for his shop with a rpi
01:26 PM roycroft: checking temperature/humidity/particulates would be all i really need, i think
01:27 PM roycroft: i did see that, skunkworks
01:27 PM roycroft: and if i had the room for one of those i would want one
01:27 PM roycroft: setting saw teeth by hand is very tedious
05:01 PM roycroft: so my dust collector will not work as installed
05:02 PM roycroft: i can't route the ducting between the suction motor and the cyclone chamber
05:02 PM roycroft: i'm going to have to do some more remodelling
05:02 PM xxcoder: doh
05:02 PM roycroft: i anticipated this might be the case, and in fact i almost went ahead and did that work up front
05:03 PM roycroft: i could probably rig something up, but i don't want to have to ever revisit this again, so i want to do it right the first time
05:57 PM * roycroft wonders if he can run the environmental monitor stuff on an old rpi model b+
06:27 PM -!- #linuxcnc mode set to +v by ChanServ
06:42 PM Unterhaus_ is now known as Unterhausen
06:52 PM rdtsc: could probably run an environment monitor on a Pi Zero
07:00 PM lcnc-relay: <big_kevin420@discord> how does the o102 o103 o104 work in the subs
07:00 PM lcnc-relay: <big_kevin420@discord> im kinda lost because of the lack of goto statements
07:00 PM lcnc-relay: <big_kevin420@discord> @Tom_L
07:02 PM lcnc-relay: <big_kevin420@discord> if i call a remap with several subs, does it just go through the list sequentially?
07:05 PM Tom_L: i would think so
07:05 PM Tom_L: you call them
07:05 PM Tom_L: o<sub1> call, o<sub1> call .....
07:06 PM Tom_L: you might be able call the next one from the one ahead of it... i dunno, i'm not super with subs
07:06 PM Tom_L: test it
07:07 PM lcnc-relay: <big_kevin420@discord> like for this one
07:07 PM lcnc-relay: <big_kevin420@discord> o102 if [#5400 EQ 99]
07:07 PM lcnc-relay: #<zworkoffset> = 0
07:07 PM lcnc-relay: o102 endif
07:07 PM lcnc-relay: o101 if [#5400 GT 0] ; Tool must be non zero to set
07:07 PM lcnc-relay: G10 L1 P#5400 Z#<zworkoffset> (set new tool offset)
07:07 PM lcnc-relay: (debug, Successful probe.)
07:07 PM lcnc-relay: o101 else
07:08 PM lcnc-relay: (debug,Tool must be non zero)
07:08 PM lcnc-relay: o101 endif
07:08 PM lcnc-relay: <big_kevin420@discord> does it like...just go from top to bottom?
07:08 PM Tom_L: paste.debian.net
07:08 PM lcnc-relay: <big_kevin420@discord> sorry, irc
07:08 PM lcnc-relay: <big_kevin420@discord> https://paste.debian.net/1335569/
07:09 PM Tom_L: you could wrap them in an overall sub and call it
07:09 PM lcnc-relay: <big_kevin420@discord> does it work like.... a regular computer program? ( aka not a fanuc style gcode program)
07:09 PM Tom_L: i'm not sure
07:10 PM lcnc-relay: <big_kevin420@discord> yeah if that was just remapped to m6
07:10 PM Tom_L: i put mine inside a main one
07:10 PM lcnc-relay: <big_kevin420@discord> yeah, if all the subs are in a main, do i need to call specific ones or does it just go through the list
07:11 PM -!- #linuxcnc mode set to +v by ChanServ
07:13 PM Tom_dev: http://paste.debian.net/1335571/
07:13 PM Tom_L: or
07:15 PM Tom_dev: http://paste.debian.net/1335572/
07:16 PM lcnc-relay: <big_kevin420@discord> yeah the second one
07:16 PM Tom_L: both those would work
07:16 PM Tom_L: the first calls a separate file
07:16 PM lcnc-relay: <big_kevin420@discord> so in the second one, it will just go from o100 to o101, etc?
07:16 PM Tom_L: and returns and executes the next line
07:16 PM Tom_L: yessir
07:17 PM Tom_L: unless one breaks out of it
07:17 PM lcnc-relay: <big_kevin420@discord> ok, so in this case, the o101 is like,.. a python def ?
07:17 PM Tom_L: with a return or whatever syntax it is
07:17 PM Tom_L: dunno, i don't do python
07:17 PM Tom_L: ;)
07:17 PM Tom_L: probably yes
07:18 PM lcnc-relay: <big_kevin420@discord> well neither do i
07:18 PM Tom_L: where you define a function
07:18 PM lcnc-relay: <big_kevin420@discord> yeah
07:18 PM lcnc-relay: <big_kevin420@discord> function thats it
07:18 PM lcnc-relay: <big_kevin420@discord> break ends the whole thing or just the fuction>?
07:19 PM Tom_L: you could have the o101 at the bottom and call it in a loop above it x times
07:19 PM Tom_L: o101
07:19 PM lcnc-relay: <big_kevin420@discord> so instead of using a goto command, i can just call function o105 inside of o102
07:19 PM Tom_L: drill this hole
07:19 PM Tom_L: x times moving y
07:20 PM lcnc-relay: <big_kevin420@discord> o101 is the function,. then have it loop after i defined the function
07:20 PM Tom_L: http://linuxcnc.org/docs/stable/html/gcode/o-code.html
07:25 PM lcnc-relay: <big_kevin420@discord> hmm thats getting tough, but like a regular computer it looks like
08:01 PM Tom_L: how do you exit out of a subroutine early if a condition wasn't met?
08:03 PM Tom_L: M30 seems to work
08:04 PM Unterhausen: I put a small thing of horseradish on the refrigerator door shelf and the whole thing shattered
08:05 PM Unterhausen: amazingly, nothing broke when it hit the floor
08:05 PM xxcoder: I read as ref shattered
08:19 PM Unterhausen: the shelf blew into pieces. I looked at the other one and it has a big crack in the same place, so $200 later we have some new shelves on the way
08:19 PM xxcoder: yeah thats what I guessed what happened
08:20 PM Unterhausen: the smallest thing on the shelf did it in
08:22 PM rdtsc: many years ago, had a corningware bowl fall off the sink and bounce on the hard linoleum floor... no damage... then another bowl fall off a couch arm onto the carpeted floor and shatter.
08:22 PM lcnc-relay: <skunkworks8841@discord> Amazon said a package was out for delivery... By 8pm. Now it just changed to 'expected by Nov 20th... Weird..
08:23 PM rdtsc: USPS?
08:57 PM roycroft: not weird
08:57 PM roycroft: it's the norm these days
08:58 PM roycroft: i'm still trying to convince amazon not to ship things to me via ups, and they are having trouble understanding why
08:59 PM -!- #linuxcnc mode set to +v by ChanServ
08:59 PM roycroft: the entire delivery chain is totally fubar'ed since the pandemic
08:59 PM roycroft: and it's only going to get worse under the incoming regime
09:29 PM -!- #linuxcnc mode set to +v by ChanServ
09:29 PM rdtsc is now known as rdtsc_away