# MACRO mcut_cont
ASSIGN: M_lngth= S_lngth-Tool_dia;
ASSIGN: D1= 2*Depth_of_cut;
ASSIGN: Ncuts= INT((Finish_depth-0.00001)/D1)+1;
ASSIGN: Ncuts=2*Ncuts;
ASSIGN: Z_inc= Finish_depth/Ncuts;
POSITION_XY: x= Xstart;y= Ystart;
RAPID: Z= Rap_level+ Tool_clearance;
ASSIGN: Xend= Xstart+ (M_lngth*COS(S_angle));
ASSIGN: Yend= Ystart+ (M_lngth*SIN(S_angle));
ASSIGN: Finish_depth= 0;
MACRO: slot_cont   Repeats= Ncuts/2;
RAPID: Z= Rap_level+ Tool_clearance;


