# MACRO cut_surface
# this is a macro to cut a 3d surface.
#
ASSIGN: Path= 1;
ASSIGN: Surfaceon
ASSIGN: Macro_name= StringSelect("lock_a","lock_b","lock_c",Locked_axis);
MACRO:  Macro_name
ROTARY_POS: A= Locked_a;
FIVEAXISDATA: active locked1
MACRO: cut_surf_path  Repeats= Cpath_count;
RAPID_Z: Z= Retract_Z; Codes= "M09";
