Hi,
thanks Steve, yes that makes sense....our manual lathe has two tool posts on the one cross slide for that purpose.
When I was experimenting with the lathe cycles I found I could generate good tool paths
for a 'rear' tool by specifying the start position of Xi=-nnn. The gcode generated
has all its X cords as negative numbers but otherwise OK.
Do you suppose that is what OP was concerned about....the need to go through the generated code and
reverse (un-negate) all the X coordinates?
If that is the case it would be a simple matter to have a Lua script that automated that procedure.
I have a similar script on my mill where I wish a percentage correction applied to the Gcode and so I have a
script, m100, that reads the Gcode file line by line, decomposes the line, applies the correction to the x coord
then recomposes the line and adds it to a new 'corrected file'. It applies a percentage correction to the x coord
and does a complete Gcode file of 10,000 lines in a couple of seconds.
Craig