cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Eliminate Extra Rotation In NCL

ScottJohnson
14-Alexandrite

Eliminate Extra Rotation In NCL

In nc sequences that start with a new tool at the same rotation, Creo Parametric does not output a ROTATE command. We add a cl statement at the start of the new tool nc sequence to force out a ROTATE in case of a restart at the sequence by an operator. When we do this, at the end of the ncl file it dumps all of the ROTATE commands again. It is hard to write it into the post because there is no word to look for. Any ideas?

$$-> END /
ROTATE / BAXIS,  ATANGL,  270.000000
$$-> TRANS / 6.0000000000, 14.4462803075, 12.5740000000
$$-> TRANS / -6.0000000000, -14.4462803075, -12.5740000000
ROTATE / BAXIS,  ATANGL,  90.000000
$$-> TRANS / 6.0000000000, 14.4462803075, 12.5940000000
$$-> TRANS / -6.0000000000, -14.4462803075, -12.5940000000
ROTATE / BAXIS,  ATANGL,  -90.000000
$$-> TRANS / 6.0000000000, 14.4462803075, 12.5740000000
$$-> TRANS / -6.0000000000, -14.4462803075, -12.5740000000
ROTATE / BAXIS,  ATANGL,  -270.000000
$$-> TRANS / 6.0000000000, 14.4462803075, 12.5940000000
$$-> TRANS / -6.0000000000, -14.4462803075, -12.5940000000
ROTATE / BAXIS,  ATANGL,  -450.000000
$$-> TRANS / 6.0000000000, 14.4462803075, 12.5740000000
$$-> TRANS / -6.0000000000, -14.4462803075, -12.5740000000
ROTATE / BAXIS,  ATANGL,  -630.000000
$$-> TRANS / 6.0000000000, 14.4462803075, 12.5940000000
$$-> TRANS / -6.0000000000, -14.4462803075, -12.5940000000
ROTATE / BAXIS,  ATANGL,  -720.000000
FINI

 

0 REPLIES 0
Announcements


Top Tags