#
#	macro end_surf
#
#	this macro generates a retract at the end of a 3d cut.
#
SELECT: (Retract_z< Zstart)
CASE: 0
RAPID: X= Xlast; Y= Ylast; Z= Retract_z;
CASE: 1
RAPID: X= Xlast; Y= Ylast; Z= Zstart+ Tool_clearance;
END SELECT:
