# MACRO turn_contour
# 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
#
SELECT: Contour_type
CASE: "ROUGH"
MACRO: machine_rough
CASE: "FINISH"
MACRO: machine_finish
CASE: "PROFILE"
MACRO: machine_profile
CASE ELSE:
ASSIGN: Tnose_shift= Tnose_rad;
ASSIGN: Shift_off= 1-Startpt;
ASSIGN: Pathstartpt
ASSIGN: Pathendpt
RAPID:  X= Xstart; Z= Zstart;
FORCEWORD: F
CUTPATH:
ASSIGN: Shift_off= 1-Endpt;
#RAPID:  X= Xend; Z= Zend;
ASSIGN: Tnose_shift= 0;
ASSIGN: Setcoordinates
ASSIGN: Startpt= 0; Endpt= 0;
END SELECT: 
ASSIGN: Contour_type= "";
