Hi all. I wanted to exclude some code from the NC file that Fusion360 spits out. I searched, I couldnt find anything, so I went and refreshed my brain on regular expressions. UGS Platform allows you to ask UGS to ignore lines in your NC file when it runs. If you dont ignore these codes and you use UGS and GRBL, you may find that UGS throws an error and you have to go into the NC file and delete the T, M and S codes before the NC file will Send to the GRBL controller. Long story short, you can put a regular expression to tell UGS to ignore them.. This does it [Mm]\d{1,5}|[Ts]\d{1,5}|[Ss]\d{1,5} Add that in to UGS Platform - Prefs - UGS - Controller Options. Click ADD, then click on the field that it throws up, paste that in. You could create 3 different options, [Mm]\d{1,5} add a new one [Ts]\d{1,5}, add a new one [Ss]\d{1,5} Hope it helps someone! Its working for me so far, but only a half day of testing. So use at your own risk! If anyone can simplify it a little more, would love to hear that. I'm no expert!
I use Fusion 360 gcode with no modifications in GRBL Panel. When I start the Gcode, it pauses due to the code you refer to. I just hit the play button again and it skips over that code continues on until the end of the job.
Hey Craig...Sounds good. I hadn't checked to see if I could click Play again each time it happens. But with my gcode having about 5 or 6 T, S or M codes in it, I'd soon get fed up with clicking play again Which GCode sender are you using? Universal Gcode Sender Platform?
I have historically used GRBL Panel, but recently I have been using Estlcam on a trial basis so I am saving Fusion projects as DXF and STL files and letting Estlcam generate the gcode.