Hey,
Im actually implementing all my custom probing scripts. One of them tries to calculate the orientation of a workpiece with two probing points in X and the corresponding Y values.
with tan(alpha)=deltax/deltay
first of all, mach3 has no arcsin or arccos function
so I'm using atn for the arctan function. atn(abs(deltax/deltay))
But it outputs crap and no correct angle.
Has anybody used atn before or could try a simple piece of code atn? converting this ratio, from lets say a=5 b=3, into an angle?
Thanks (:
Max