# 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
#
ASSIGN: Feed= Tfeed;
OUTPUT: G{Comp_dir}X{Xstart}Y{Ystart}D{Dia_comp}
OUTPUT: M07
CUTPATH:
ASSIGN: Pathendpt
OUTPUT: G01G{Comp_cancel}X{Xend}Y{Yend}
OUTPUT: M08
