# MACRO cut_cont_element
# this is a macro to cut a path element.
# this is for processing a contour one element at a time.
#
ASSIGN: Path_start_ele=Path_element;
ASSIGN: Path_end_ele=Path_element;
#
ASSIGN: Pathendpt;
ASSIGN: X_value=Xend;
MACRO: get_screw_data
#
ASSIGN: Z111=Zend;
MACRO:  calc_xz_shift
ASSIGN: Pathstartpt;
#
OUTPUT: R43e{Dia_comp_angle}
OUTPUT: R44=R42*R43
OUTPUT: R49=R48-R44
ASSIGN: Feed= Tfeed;
CUTPATH:
ASSIGN: Path_element= Path_element+1;
#
#
#



