#
# MACRO ramp_cont_XZ
# This macro ramps into a path
#
ASSIGN: Loop2= 1;
ASSIGN: Temp= Finish_depth - Depth_of_cut*(Loop1-1);
#
# IF UNEVEN RAMP DEPTHS OF CUT
#ASSIGN: Nramps= INT(Temp/Ramp_depth-.00001)+1;
#ASSIGN: Ramp_depth= Ramp_dist*Max_cut;
# IF EVEN RAMP DEPTHS OF CUT
ASSIGN: Nramps= INT(Temp/Max_rdepth-.00001)+1; 
ASSIGN: Ramp_depth= Temp/Nramps;
#
#
POSITION_XZ: X=Xrmp; Z=Zrmp;
RAPID: X= Xrmp; Z=Zrmp; Y= Rap_level+ Tool_clearance;
RAPID: Y= Rap_level- Depth_of_cut*(Loop1-1)+ Tool_clearance;
FEED: Y= Rap_level- Depth_of_cut*(Loop1-1); Feed= Zfeed;
MACRO: ramp_into2_XZ	Repeats= Nramps;
# Cut the path from here to end of macro
ASSIGN: Feed= Tfeed;
CUTPATH:
