Command line utility to 'clean' GCode

Version 0.8.8.0 is now on Github along with the release for Linux, OSX and Windows

This is a partial answer to all those “why does it pointlessly raise and lower z-axis?” type of issues that we all have.

  • First, all positive z-axis values are clamped to a single value. The default is 0.2"" or 5mm.
  • Second, there is a command line option to change this value to something else (within limits).
  • Finally, the existing deduping algorithm will remove some of the now pointless duplicate z-axis movements.

I’d appreciate it if anyone can reply with GCode files that have the “uppy downy thing” happening (AKA “Raveling Nancy” for those who know their Blackadder).

3 Likes