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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! 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