ASSIGN: Pathstartpt 
ASSIGN: Zfinish= Finish_depth;
ASSIGN: Ncuts= 1;
ASSIGN: Loop1=1;
#
ROTARY_POS: B= Bstart;
POSITION_XY: X= Xstart; Y= Ystart;
RAPID: Z= Rap_level+ Tool_clearance;
MACRO: calc_ncuts		 Repeats= (Finish_depth<>0);
ASSIGN: Codes= Coolant;
MACRO: scut_cont  		 Repeats= Ncuts;
RAPID: Z= Rap_level+ Tool_clearance; Codes= Coolant_off;
#
ASSIGN: Finish_depth= Zfinish;
