I had a need to add pauses between cuts to my g code files for a couple of reasons. I wanted to extend consumable life and also to allow my compressor to catch up after several cuts as it is a little undersized.
I wanted to add a short pause after each cut to keep the nozzle cool and also a longer pause every 5 cuts to allow the compressor to catch up.
I edited the files manually by adding a ‘G4 PXXX’ line after every ‘G0 Z1’ line where xxx is the pause time in seconds. This was ok to start but quickly became tedious so I built a program to do it. It creates a new gcode file based on the file the user selects, has options to add a pause after every cut, and also every n cuts. The n value and pause values can be adjusted by the user. The original gcode file is not altered: