thank you martin for this approach
yes, I use a probe and GetOEMDRO(802) is indeed the Z
you start by probing the Z and then do the final calculation
Angle = ATAN(Zdro/20)
you declare a variable: Angle = -89, what is this variable used for??
for my part, I do a first lateral probing on the X- and move 20mm towards the X+ after a withdrawal of 3mm
?
I started a macro, can I put it in this thread??