#  
#   macro calc_xz_shift
#   calculates xz shift for tilted cutter
#
ASSIGN: D1= Pivot_to_center;
ASSIGN: D2= D1-Z111;
ASSIGN: Xorgshift= -D2*TAN(Cutter_tilt);
ASSIGN: Zorgshift= (D1-D2/COS(Cutter_tilt))-Z111;
ASSIGN: Xplotshift= -Xorgshift;
ASSIGN: Zplotshift= -Zorgshift;
ASSIGN: Plot_shift_on=1;

