Fusion360 G-code broke bit :(

I used Fusion360 to generate the G-code for my part and imported it into Easel. There were 4 tool paths. The first path drilled 4 holes and worked correctly. The second path was meant to carve out a face representing some text. This path did not start the spindle rotating so broke the drill bit before I could get to the cancel button. From my novice look at the g-code I’m guessing there’s a missing S command.

Does that mean I did something wrong generating my tool paths or is there a bug in the Carvey post processor plugin for Fusion360? In Fusion360 the spindle speed for the face tool path is showing as 10000rpm.

G90G94

G17
G21

(TOOL/MILL,1.587,0,4.762,1.571)
(STOCK/BLOCK,200,180,3,0, 0, 0)
M9
T1M6
S10000M3
G54
M8
G0X174.667Y132
Z15
Z5
G1Z-3F762
G0Z5
Y48
G1Z-3F762
G0Z5
X25.333
G1Z-3F762
G0Z5
Y132
G1Z-3F762
G0Z5
Z15
M5

(TOOL/MILL,1.587,0,4.762,0)
(STOCK/BLOCK,200,180,3,0, 0, 0)
M9
X130.849Y145.501
Z5
G1Z0.159F381
X130.828Z0.079

There is more g-code but I think this is roundabout where the bit broke.

Is there an option to stop Fusion 360 from adding the tool codes? I’ve been experiencing problems with the M6 command in Universal Gcode Sender.

you would have to make a custom post processor to eliminate M6

you have to designate a tool in the gcode for most machines

you could always edit the gcode manually

There is a editor in fusion or you can use notepad++ to remove the T1M6 is a unsupported tool change operation and can be removed.

Thanks, didn’t know if I had some options enabled that I shouldn’t have. I’ve been testing bCNC and so far it doesn’t complain about the T4M6 command. But I’m not sure I like the interface over UGS.

Why didn’t I think of that?

@RobertHoward

You can try this to see if it fixes the problem.

NOTE: I don’t have Fustion 360 and this is totally untested.

carvey_no_tool_change.cps (18.7 KB)
xcarve_no_tool_change.cps (18.7 KB)

1 Like

Thank you. It looks like the xcarve_no_tool_change.cps will work. I didn’t open the file in UGS, but a diff of the gcode generated by this file and the inventables post processor are nearly identical except the missing tool change line as expected. I don’t know if I’ll use it, I’m still figuring out my workflow from Fusion 360 and VCarve Pro.

Try CNCjs