#
#
#  Macro for changing rotary axis vectors for five axis
#
#	SET_ROTARY_ORIGIN Xcenter,Ycenter,Zcenter locate the pivot 
#			point for the rotary axis,
#	SET_ROTARY_AXIS Xvector,Yvector,Zvector are the coordinates for a 
#			vector pointing in the direction of the rotary axis.
#	SET_ROTARY_ORIENT Xvector,Yvector,Zvector are the coordinates for a 
#			vector pointing in the direction which rotary axis.
#			must turn to properly orient relative to the tool.
#
ASSIGN: FiveAxisOn
#	ROTARY A AXIS
ASSIGN: Rotary_axis= 1;
SET_ROTARY_ORIGIN: Xcenter= 0.0; Ycenter= 0.0; Zcenter= 0.0;
SET_ROTARY_AXIS:   Xvector= -1.0; Yvector= 0.0; Zvector= 0.0;
SET_ROTARY_ORIENT: Xvector= 0.0; Yvector= 0.0; Zvector= 1.0;
#	ROTARY B AXIS
ASSIGN: Rotary_axis= 2;
SET_ROTARY_ORIGIN: Xcenter= 0.0; Ycenter= 0.0; Zcenter= 0.0;
SET_ROTARY_AXIS:   Xvector= 0.0; Yvector= 1.0; Zvector= 0.0;
SET_ROTARY_ORIENT: Xvector= 0.0; Yvector= 0.0; Zvector= 1.0;
#	ROTARY C AXIS
ASSIGN: Rotary_axis= 3;
SET_ROTARY_ORIGIN: Xcenter= 0.0; Ycenter= 0.0; Zcenter= 0.0;
SET_ROTARY_AXIS:   Xvector= 0.0; Yvector= 0.0; Zvector= 1.0;
SET_ROTARY_ORIENT: Xvector= -1.0; Yvector= 0.0; Zvector= 0.0;
