#
# MACRO Round_cut
#
MACRO: rotate_ab    Repeats= (((Astart<>Alast)+(Bstart<>Blast))>0);
ASSIGN: Rap_level= Zstart; Finish_depth= Hole_depth;
ASSIGN: Cutter_offset= Tool_dia/2;
ASSIGN: Clearance= Diameter/2-Cutter_offset;
MACRO: pre_round_cut
ASSIGN: Zfinish= Finish_depth;
ASSIGN: Ncuts= INT(Finish_depth/Depth_of_cut-.00001)+1;
ASSIGN: Loop1=1;
ASSIGN: X_hole= Xstart; Y_hole= Ystart;
MACRO:  ../common/sround_cut   Repeats= Ncuts;
ASSIGN: Finish_depth= Zfinish;
RAPID: Z= Rap_level+ Tool_clearance; Codes= Coolant_off;
ASSIGN: No_coolant= 1;
