#
ASSIGN: Pathstartpt
MACRO: rotary_index     Repeats= ((Bstart<Rem_b)+(Bstart>Rem_b))*(Tool_change<.001);
MACRO: start_tool	Repeats= (Tool_change>0);
ASSIGN: Zfinish= Finish_depth;
ASSIGN: Ncuts= 1;
MACRO: calc_ncuts		 Repeats= (Finish_depth<>0);
ASSIGN: Loop1=1;
MACRO: scut_cont   Repeats= Ncuts;
ASSIGN: Finish_depth= Zfinish;
RAPID: Z= Safe_z;
MACRO: comp_end		Repeats= (Comp_dir>40);
