I have been programming Anca grinders on NX for about a year now, off and on, there's not a whole lot that needs to be done. Recently they want me to do some 4 axis 3D milling. I have made a couple posts that worked great but I had to do quite a bit of hand editing. On the grinders I don't have to do this but I'm using a configuration file from ANCA, and I can't use it for the mills. Could anyone point me in the right direction?
Here's what I have:

So the rapid between the 1st and 2nd pass goes up in Z, makes one A rotation, goes back down in Z. (Part is being milled left to right, the long nearly vertical blue line is what I'm talking about) The rapid between 2nd and 3rd is the blue Z up, red arc A rotation, blue Z down. The red arc is made up of approximately 50 or so A rotations of a couple degrees. I know its doing this because it thinks it will rapid through the part, but its at a safe Z. I deleted all these out to make the program much smaller, the fourth ran much smoother as well being it was reading 1 line instead of 50+ in rapid. I know there's a way to combine rapid moves but I can't seem to figure it out. The ANCA configuration does this without any user input, here's a similar part with that configuration. My clearance cylinder is much larger because of the size of the wheel, actual clearance is very close to the same.

As you can see the rapid moves appear to go through the part.
On a similar note, straight linear moves are way more code than needed. EX: y-.5 to y.5 at, say Z0. is as follows:
G0 X0 Y-.5 Z.2
Z0.
G1 Y-.499 F5.
Y-.498
Y-.495
Y-.493
.
.
.
.
Y.5
Instead of:
G0 X0 Y-.5 Z.2
Z0.
G1 Y.5 F5.
TIA!!
Here's what I have:

So the rapid between the 1st and 2nd pass goes up in Z, makes one A rotation, goes back down in Z. (Part is being milled left to right, the long nearly vertical blue line is what I'm talking about) The rapid between 2nd and 3rd is the blue Z up, red arc A rotation, blue Z down. The red arc is made up of approximately 50 or so A rotations of a couple degrees. I know its doing this because it thinks it will rapid through the part, but its at a safe Z. I deleted all these out to make the program much smaller, the fourth ran much smoother as well being it was reading 1 line instead of 50+ in rapid. I know there's a way to combine rapid moves but I can't seem to figure it out. The ANCA configuration does this without any user input, here's a similar part with that configuration. My clearance cylinder is much larger because of the size of the wheel, actual clearance is very close to the same.

As you can see the rapid moves appear to go through the part.
On a similar note, straight linear moves are way more code than needed. EX: y-.5 to y.5 at, say Z0. is as follows:
G0 X0 Y-.5 Z.2
Z0.
G1 Y-.499 F5.
Y-.498
Y-.495
Y-.493
.
.
.
.
Y.5
Instead of:
G0 X0 Y-.5 Z.2
Z0.
G1 Y.5 F5.
TIA!!