TimPaterson / Fusion360-Batch-Post

Fusion add-in to post all CAM setups at once, optionally dividing them into folders.
The Unlicense
132 stars 26 forks source link

Tool change G-code (Txx) not found - When checking "Use Individual Operations" #29

Closed Valthol closed 2 years ago

Valthol commented 3 years ago

I use OpenbuildsFusion360PostGrbl.cps post processor. I mainly wanted this plugin to test the rapid movement option.

Without "Use Individual Operations" everything posts great but it does not involve rapid movement.

When I check "Use Individual Operations" I get default "M9 G30" for tool change (which I don't intend to use right now) and "M5 M9 M30" for ending sequence and this gives me following error:

0 files were written. 1 Setups were skipped due to error: Failed on setup Setup2: Tool change G-code (Txx) not found; this post processor is not compatible with Post Process All.

What should I do and where to try this add in without errors? Really eager to test it out! :)

TimPaterson commented 3 years ago

Like the error message says, your post processor doesn't output a tool change G-code. This is normally the first thing in an operation so PostProcessAll uses it as the marker to tell how to stitch operations together. I glanced at the post processor and didn't see any provision to ever output a tool change; I can't figure out how this would have worked back when Fusion 360 still allowed tool changes.

The GBRL post processor that comes with Fusion 360 works, as does DIYCNC_Grbl11.cps on GitHub.

cirvladimir commented 2 years ago

I am using Autodesk/.../CAM/cache/posts/grbl.cps and am getting the same error. I do not need any tool change operations and only want rapid movement restored. Should I use a different cps file? Is there another way to just get rapid movement restored?

TimPaterson commented 2 years ago

The post processor you are using has a setting to enable tool number. You will find it in the Post properties pane when you run the post normally (not PostProcessAll) as Output tool number. The setting is remembered so you set it there and it works for PostProcessAll.

I tested it: PostProcessAll works when the box is checked, fails with the message you're getting if it isn't.

Schalonsus commented 1 year ago

I can confirm they accidentally break "post process all" function with post processor updates. Same here with the latest linuxcnc.cps.... the latest version from 2022 still works but the latest from 2023 does not

TimPaterson commented 1 year ago

I just tried the latest LinuxCNC (EMC2), version 44083 dated 8/14/2023, and it worked fine with PostProcessAll.

Jutilaje commented 3 months ago

Having this same issue on Mach3Mill Post. I see it says it's compatible, is there a trick to get Mach3Mill post processor to generate tool changes? Thanks!

Schalonsus commented 3 months ago

Just download an older version and select it in postprocessall https://cam.autodesk.com/hsmposts

TimPaterson commented 3 months ago

I just downloaded Mach3Mill version 44131 dated 6/14/2024 and it worked fine with PostProcessAll.

Jutilaje commented 3 months ago

I just downloaded Mach3Mill version 44131 dated 6/14/2024 and it worked fine with PostProcessAll.

That worked perfectly! Thank you!