# MACRO rough_macro
# this is a macro to turn a path.
# It will position to the XZ point defined by Xstart,Zstart
# Turns the path
# rapid to the postion after cut
#
ASSIGN: Xleadin= .1*SIN(Uncut_angle/2-45);
ASSIGN: Zleadin= .1*COS(Uncut_angle/2-45);
ASSIGN: Tnose_shift= Tnose_rad;
ASSIGN: Shift_off= 1-Startpt; 
RAPID:  X= Xstart; Z= Zstart;
ROUGH:
ASSIGN: Shift_off= 1-Endpt; 
RAPID:  X= Xend; Z= Zend;
ASSIGN: Tnose_shift= 0;
ASSIGN: Setcoordinates
ASSIGN: Startpt= 0; Endpt= 0;
