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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! 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