#
# MACRO cut_contour
#
# this is a macro to cut a path.
# It will position over the XY point defined by Xstart,Ystart
# Rapid in Z to the Rap Level
# Feed in Z to the Finish depth
# Insert diameter comp in a move to the path start point
# Cuts the path
# Turns off comp in a move away from the contour
# retracts to the rap level.
#
ASSIGN: Pathstartpt
#POSITION_XY: X= Xstart; Y= Ystart;
MACRO: first_pos    Repeats= (Tl_ch=0);
FEED_Z: Z= Rap_level- Finish_depth; Feed= Zfeed;
ASSIGN: Feed= Tfeed;
CUTPATH: Dia_comp_mode=1;
ASSIGN: Pathendpt
RAPID_Z: Z= Initial_z;
ASSIGN: Tl_ch=0;
