I’ve been making some updates to a command line interface (CLI) program lately. I wrote it in the Go language and it’s useful for editing 3D printer gcode files.
A GCODE file is a set of toolpath instructions for both 3D printers and CNC machines.
The program is called GcodeEdit and it can so far do the following:
- Update the hotend’s temperature, useful for changing the filament material you’d like to use for the part
- Show a variety of information from the file, like number of layers and the slicer software which was used to create it, for example
- Remove all heat-, fan- and extrusion-related commands so that you can watch the printer go through a “dry run” without wasting any plastic
- Repeat the indicated layer but without extruding any plastic, suitable for “ironing” out the last layer and useful during the first couple of layers, for example
I intend to keep adding options to this program and I use it myself, for what it’s worth.