A G-Code parser and generator for Go.
Get the package using the go tool:
$ go get -u github.com/256dpi/gcode
The included command line application can be used to post-process g-code files:
gcode.
Usage:
gcode info <input>
gcode strip <input> <output>
gcode offset <input> <output> <x> <y> <z>
gcode svg <input> <output>
Options:
-h --help Show this screen.
The MIT License (MIT)
Copyright (c) 2016 Joël Gähwiler