Use a 3-axis machine as a pen plotter
Clone or download
Latest commit 501663d Jul 3, 2018
Failed to load latest commit information.
gcodeplotutils include pyserial Dec 28, 2016
svgpath handle preserveAspectRatio Dec 30, 2017
LICENSE include pyserial Dec 28, 2016 support more of SVG Mar 2, 2017
TODO optimization Nov 22, 2016
cookiecutter.inx foo Dec 6, 2016
cutter foo Dec 21, 2016
gcodeplot.inx more directions Dec 31, 2016 fix Jan 21, 2018 allowed filled features Jul 3, 2018

Convert SVG (text is not supported; convert text to paths) and HPGL to gcode for a 3-axis GCode machine, where the Z-axis controls the pen height.

You can also convert the same SVG subset to HPGL.

Run with no arguments for some help.

Note on multiple pen usage:

The pen definition file is one-pen per line, in the format:

n (x,y) svgcolor comment

Here, n is the pen number (pen 1 is assumed to be loaded at the start), (x,y) is the offset from the default pen position (note: will correct the offset and will NOT check for clipping at drawing edges--it is your responsibility to make sure your tool doesn't crash into anything due to offset), svgcolor is a color specification in svg format, e.g., rgb(255,255,00), #FFFF00 or yellow, and the comment is a human-readable comment.