Some comments on the posted code FWIW....
N10 G90 G95 G18
c- G95 is fine if your your using spindle control but if not then G94 may be more appropriate and G94 rate can be sellected in the tool setup in Fusion.
N12 G28 U0.
c- U0 is Fanuc and not Mach3 dialect of code. In Fusion all my code is based on X&Z=0, which is for a front tool post. The way I work is to set the master or any defined tool in Mach to the X=0 and Z = whatever ( BTW....via probing) and manualy define a home position and part location. No automation here, but also use a custom screen set to make things easy!
G28 can be tricky and get ya if your not carefull in it's use!
N15 M8
c- got rid of the coolant as i don't need the command
N17 G97 S300 M3
G97 is a Fanuc code for constant suface speed
C- since my spindle is not controlled, don't want the command but keep the S and M3
command so that I get rpm readout and what rpm defined in Fusion
N124 M9
N125 G28 U0. W0.
N126 M30
%
C- Got rid of the G28, similar problem as what is posted in the start of the
of the posted code and no need to turn the colant off here.In use. desire / want a
specifc G28 with defined intermeadiate point.
Remember that what gets posted is based on Fusion defaults and your definitions
as you progressed through the process ....drawing, setup, tool definition, etc and all
that should be in agreement with your Lathe setup / tools and the way you work. So depending on what you did you may see additional coding posted.
Frankly most of the stuff here is always one of a kind, just want the actualy gcode for
the machining, and add some minor code as needed to take care of how a tool change is done and also if the program will be run for multiple part cutting using differnt work offsets.
RICH