I’m having a warning pop up under NC programs in the Manufacture space after post processing with the Redline post processor. Warning: (RealTimeCNC-RTSX_V2.cps:442) unreachable code after return statement
Anyone have any idea what this is referring to? Google had no idea.
I’ve used post processors for Buildbotics and Masso with Fusion 360 without problems.
I just updated to the V2 post processor, ran the post against that processor on an inlay design I have (most complicated file I have to date) and had no issues generating g-code.
If the file you’re working with is something you don’t mind sending out, upload it to the forum either here, or as a private message to me and I’d be happy to try running post on my equipment just to see if it’s consistent.
I’m going to throw stuff at the wall here and guess that error is happening on line 442 of the post processor file? If so I took a look at the code and don’t see anything special there, which broadly suggests to me that you may have a corrupt post processor file. One easy check would be to download the file from RealtimeCNC again and replace your current setup in Fusion’s Post Library. At the minimum, a quick and easy sanity check.
The warning comes from a change we made to ensure that canned cycles generated by Fusion are " unwrapped" into plain gcode. i.e. Each drilling cycle is generated as discrete movements using G1 commands instead of using G81.
You can safely ignore the warning.
For those interested in the gory details, we placed a “return” statement in that function of the post processor to short circuit the canned cycle generation. We will be adding back when we finish support for canned cycles.