When is diameter mode, the last G3 move takes the cutter to the extreme X5, while the X end is defined as 10. Sorry for being unable to explain it better. Hope you follow me. Just change between the modes and run the code. You will see where the DROs go. Also load the OD Arc3 wizard and see how the arc movements are affected by changing the mode. I didn't try to understand the math behind it, but for some reason, in diameter mode the 'I' word adds up. In radius mode it's zero.
Had a chance to cut some material today. The wizard doesn't work when in Diameter mode. The cutter plunged deep into the stock. Changed to Radius mode and changed the X values in the wizard accordingly and it worked fine.
I am in diameter. Are you saying that it will always do moves of half a circle? If so then the tool path was misleading - I saw it doing half circles and thought I will get the half circle in the part, but it appears to me now that part of the move will cut air. Will try to cut some material and see how it works.
Just tried to cut air. The tool would dive right into the stock, following the arc. Needs a few roughing passes based on the X start and final X. May be the rough passes should be G1 and only a few last passes would be G3.
The Z start and end are still swapped.
Also, the X start and X end don't seem to be defined correctly. X start should be the initial stock diameter. X end should be how deep you want the arc in the workpiece, i.e. not always would you want half a circle (this is what the current code keep doing).