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