#
# MACRO ramp_contour_YZ
# This macro ramps into a path
#
ASSIGN:  Loop2= 1;
ASSIGN: Temp= Finish_depth - Depth_of_cut*(Loop1-1);
ASSIGN: Nramps= INT(Temp/Ramp_depth-.00001)+1; 
POSITION_YZ: Y= Yramp2 ;Z= Zramp2;
RAPID: X= Rap_level- Depth_of_cut*(Loop1-1)+ Tool_clearance;
FEED: X= Rap_level- Depth_of_cut*(Loop1-1); Feed= Zfeed;
MACRO: ramp_into	Repeats= Nramps;
FEED: Y= Ybc; Z= Zbc; Feed= Tfeed;
CUTPATH:
ASSIGN: Pathendpt
ASSIGN: Yend= Yend*(Loop1< Ncuts)+Yac*(Loop1> Ncuts-1);
ASSIGN: Zend= Zend*(Loop1< Ncuts)+Zac*(Loop1> Ncuts-1);
RAPID: X= Rap_level+ Tool_clearance; Codes= Coolant_off;
