# 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.
#
FEED: Z= Rap_level- Finish_depth; Feed= Zfeed;
MAPWORD: letter= F map= F   modal decimal
ASSIGN: Feed= Tfeed;
MACRO: comp_left	Repeats= (Comp_dir<42)*(Comp_dir>40)*(Comp_check>0);
MACRO: comp_right	Repeats= (Comp_dir>41)*(Comp_check>0);
CUTPATH:
ASSIGN: Pathendpt
