#
# MACRO machine_rough
#
ASSIGN: Pathstartpt
ASSIGN: Tape_on= 0;
ASSIGN: Xe= Xend;
ASSIGN: Xend= Xstart;  Zend= Zstart;
ASSIGN: Xstart= Xe;
ROUGH:
ASSIGN: Tape_on= 1;
#
ASSIGN: Plot_on= 0; Pathstartpt
MAPWORD: letter= "d"   map= "D" trailing full_field 
SELECT: Rough_cycle
CASE: "Radial"
OUTPUT: **G72p{Curr_seq+2*Seq_incr}q{Curr_seq+(Path_count+2)*Seq_incr}u{X_finish}w{Z_finish}d{Depth_of_cut}F{Feed}
CASE ELSE:
OUTPUT: **G71p{Curr_seq+2*Seq_incr}q{Curr_seq+(Path_count+2)*Seq_incr}u{X_finish}w{Z_finish}d{Depth_of_cut}F{Feed}
END SELECT:
MAPWORD: letter= "d"   map= "$" modal decimal 
ASSIGN: X= -999999;  Z= -999999;
ASSIGN; Setcoordinates
CUTPATH: 
ASSIGN: Plot_on= 1;
ASSIGN: Contour_type= "";
