#flex-dev Logs
Feb 11 2025
#flex-dev Calendar
04:33 AM Tom_L: morning
05:05 AM JT-Cave: morning
05:06 AM JT-Cave: https://radar.weather.gov/station/kpah/standard
05:06 AM JT-Cave: colorful
09:03 AM JT-Cave: getting close to fixing the manual tool change for touch screen
04:15 PM JT-Woodshop is now known as C3-Shop
04:27 PM C3-Shop: pitman arm 3 JT 1
04:46 PM Tom_L: yay
04:51 PM JT-Shop: something is screwy with my bolt circle code it rapids to the bottom of hole one then drills all the holes with feed
04:52 PM Tom_L: no it shouldn't do that
04:56 PM JT-Shop: I know, so I must have introduced that when I wrote mine
04:56 PM JT-Shop: drilling air is as safe as you can get :)
04:56 PM Tom_L: yup
04:56 PM Tom_L: z clear needs to be the highest point
04:57 PM Tom_L: i'd have to look again...
04:57 PM JT-Shop: hmm
04:57 PM Tom_L: do i have a z start on that one?
04:58 PM Tom_L: if so z clear needs to be higher than that
04:58 PM JT-Shop: https://paste.debian.net/1349546/
04:59 PM Tom_L: you could try commenting out 39
05:00 PM Tom_L: or check to make sure #1017 is what it's supposed to be
05:01 PM JT-Shop: yup that makes sense
05:01 PM Tom_L: that's where the issue is most likely
05:02 PM JT-Shop: 2017 is Z start
05:02 PM Tom_L: not acording to that paste
05:03 PM JT-Shop: I mean 1017
05:03 PM Tom_L: ok
05:03 PM Tom_L: that should move either from G53 z0 or z clear to the start of the hole and start feeding there
05:04 PM Tom_L: 1018 is z clear
05:04 PM JT-Shop: just changed it to 1016
05:05 PM Tom_L: 1016 is the start angle
05:05 PM JT-Shop: jsut changed it to 1018
05:05 PM Tom_L: ok
05:06 PM JT-Shop: I do get a bit of dyslexia
05:06 PM Tom_L: i'm pulling it from a faded memory
05:07 PM Tom_L: if you really wanted to you could get it to start on the first hole but i didn't figure the extra code was all that worth it
05:07 PM JT-Shop: prob look better in a video lol
05:07 PM Tom_L: but you'd have to check which drill cycle to call
05:08 PM Tom_L: and leave out the angle increment on the first hole
05:08 PM Tom_L: but if you had an angle offset that wouldn't work either
05:10 PM Tom_L: looking closer it might work ok
05:10 PM Tom_L: since you move to the first angle with 1016 on line 38
05:10 PM Tom_L: just leave out the angle increment on that first hole
05:11 PM Tom_L: and subtract 1 from the pattern
05:11 PM JT-Shop: I'll give that a try
05:11 PM Tom_L: i'm sure it would work
05:11 PM Tom_L: add logic for which drill cycle to use
05:12 PM JT-Shop: peck or normal?
05:12 PM Tom_L: yes
05:12 PM Tom_L: look at sub 101
05:12 PM Tom_L: ln 40
05:12 PM Tom_L: just repeat that above it without the angle increment
05:13 PM JT-Shop: ok
05:13 PM Tom_L: and subtract 1 from the pattern count
05:13 PM Tom_L: 1015 i think
05:14 PM Tom_L: i'd have to look a little closer to be sure
05:15 PM Tom_L: does what you pasted get called from another sub above it?
05:15 PM Tom_L: that may be where the pattern count is
05:16 PM Tom_L: i don't see it there unless i'm missing it
05:17 PM JT-Shop: no the run button calls it
05:18 PM Tom_L: i don't see that it gets decremented there
05:19 PM Tom_L: somewhere there's a loop for it
05:32 PM Tom_L: bolt_hole_countersink_pattern.ngc has a loop but i'm not seeing it in bolt_hole_pattern.ngc
05:32 PM Tom_L: that's got me confused now
05:32 PM Tom_L: the ^ first one needs a loop for the countersink call
05:37 PM Tom_L: that's odd unless using angle it does a full 360 using the given angle increment
05:37 PM Tom_L: i've definitely slept since then...
05:37 PM JT-Shop: me too
05:39 PM Tom_L: given that you may not be able to start on hole 1 unless i'm just missing something
05:50 PM Tom_L: do you remember where the doc was about using angle on cycles?
05:51 PM JT-Shop: no
05:52 PM JT-Shop: http://linuxcnc.org/docs/stable/html/gcode/overview.html#gcode:polar-coordinates
05:52 PM Tom_L: i just found it
05:53 PM * JT-Shop is about to call it a day
05:53 PM Tom_L: me too