# 
# safe start block macro
#
#
#OUTPUT: G57h{Fixt}
#OUTPUT: M11
#OUTPUT: G00b{Pos_b}
#OUTPUT: M10
ASSIGN: Cut_compx= Xtangent*.1;
ASSIGN: Cut_compy= Ytangent*.1;
ASSIGN: Pre_posx= Xbc-Cut_compx;
ASSIGN: Pre_posy= Ybc-Cut_compy;
#OUTPUT: G{Fixture}G90X{Pre_posx}Y{Pre_posy}S{Speed} {Spindle}
MACRO: ret_home   Repeats= (B<> Bstart);
ASSIGN: X= 1000; Y= 1000;
ASSIGN: Setcoordinates
SAFE_START: X= Pre_posx; Y= Pre_posy;
ROTARY_POS: B= Bstart;
