Skip to content
Inkscape extension for outputting G-Code for the MakerBot Unicorn Pen Plotter
Branch: master
Clone or download
Pull request Compare This branch is 4 commits ahead, 1 commit behind martymcguire:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Shapeoko3 Drawing/Laser G-Code Output for Inkscape

This is an Inkscape extension that allows you to save your Inkscape drawings as G-Code files suitable for plotting with the Shapeoko3

Author: Marty McGuire Inkscape-Unicorn Forked for Shapeoko By Emerica



  • Marty McGuire pulled this all together into an Inkscape extension.
  • Emerica to mod it for shapeoko
  • Inkscape is an awesome open source vector graphics app.
  • Scribbles is the original DXF-to-Unicorn Python script.
  • The Egg-Bot Driver for Inkscape provided inspiration and good examples for working with Inkscape's extensions API.


Copy the contents of src/ to your Inkscape extensions/ folder.

Typical locations include:

  • OS X - /Applications/
  • Linux - /usr/share/inkscape/extensions
  • Windows - C:\Program Files\Inkscape\share\extensions


  • Size and locate your image appropriately:
    • Setting units to mm in Inkscape makes it easy to size your drawing.
    • The extension will automatically attempt to center everything.
  • Convert all text to paths:
    • Select all text objects.
    • Choose Path | Object to Path.
  • Save as G-Code:
    • File | Save a Copy.
    • Select Shapeoko3 G-Code (*.gcode).
    • Save your file.
  • Preview
    • For OS X, Pleasant3D is great for this.
    • OpenScam!
  • Print!
    • Open your .gcode file in Carbide Motion
    • Center your work, set your pen, zero your machine.
    • Run

Marty - TODOs

  • Rename *PolyLine stuff to *Path to be less misleading.
  • Formalize "home" to be a reasonable place to change pages/pens.
  • Parameterize smoothness for curve approximation.
  • Use native curve G-Codes instead of converting to paths?
  • Include example templates?
You can’t perform that action at this time.