Yeah, my original code, from post #9 in this thread is still running.
Including the code that apparently CAN'T be used like we use it...
It's made close to 100 more parts since I was told it wouldn't work...
I too use a safe height line in these programs.
In that one, it's G43 H14 Z.716
That gets me 1/2" above the .432" diameter part in the 4th axis.
Also a handy place to check with a gage pin if I feel the need.
On most programs, it's 1"
I use the same base program on close to 60 of these parts, so I have optimized it for our work flow.
1/2" is handy.