Need to turn laser gcode into plotter gcode
-
I have modified may grbl laser to also be a plotter. I have a nano adjusted for plotting using Spindle speed. I just need to find “M3” and change it to M3S35 /G4P.2. and “M5” to change to M3S0 /G4P.2. This finds laser on and off and changes to Pen down and Pen up including delay allowance. Grbl has PWM disabled so M3/M5 appear without S values. Is it possible to make it automatic so that I give notepad the file name and it gives me back the amended file? Thanks for any help you can give…
-
@Ann-Other said in Need to turn laser gcode into plotter gcode:
Is it possible to make it automatic so that I give notepad the file name and it gives me back the amended file?
What you could do is record a macro with several replacement operations in it.
Then when you have loaded your file into N++, run the macro.