Marty McGuire

Posts Tagged software

Sat Feb 5

gml2unicorn - Graffiti Markup Language to Unicorn G-Code

2237 bytes. Updated
4189 bytes. Updated
29892 bytes. Updated

This work is licensed BSD License.


When I first heard of Graffiti Markup Language (GML)[1] I was like “An XML format for graffiti? Pfft!” Then yesterday I was like “Wait, I have a pen plotter.”

There are a ton of tags for you to play with at 000000book[2], so go get some files and start tagging … with post-it notes!


Watch for updates on GitHub:




To use this script, you’ll need to have Python and the PyGML library installed:


  • Edit the configuration section of to match your Unicorn plotting preferences.
  • Acquire a GML file. 000000book is great for this.
  • python my_graffiti.gml > my_graffiti.gcode
  • Load my_graffiti.gcode in ReplicatorG
  • Build!
Tue Feb 1

Unicorn G-Code Extension for Inkscape

10222 bytes. Updated
37763 bytes. Updated
30111 bytes. Updated

This work is licensed GNU - GPL.


One problem that has often plagued users of the MakerBot Unicorn[1] is the long and confusing chain of tools required to go from a nice vector drawing to a G-Code file that can be plotted from ReplicatorG.

mifga did an awesome tutorial[2] that made it possible to understand the steps needed to work all of these tools, but it was obvious that something better was needed.

So, I made a mashup of[3] and the Egg-Bot Driver for Inkscape[4] to bring you the inkscape-unicorn extension for Inkscape!

Once installed, this extension allows you to save files in “MakerBot Unicorn G-Code (*.gcode)” format!

Learn more, download, and contribute at the GitHub page for this project:

If you’re desperate, you can also download the zip file attached to this thing, but it is guaranteed to be out of date. Please get the latest version from GitHub. :)

Thanks to langfordw for the original Unicorn Logo[5] used as an example on this Thing.


I’m updating and adding features to this script as my first days for the February Thing-A-Day. Updates below:

[1] Unicorn -
[2] mifga’s Unicorn Tutorial -
[3] -
[4] Egg-Bot Driver for Inkscape -
[5] Unicorn Logo by langfordw


From the README:


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:
    • The CupCake CNC build platform size is 100mm x 100mm.
    • 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 MakerBot Unicorn G-Code (*.gcode).
    • Save your file.
  • Preview
    • For OS X, Pleasant3D is great for this.
    • For other operating systems… I don’t know!
  • Print!
    • Open your .gcode file in ReplicatorG
    • Set up your Unicorn and pen.
    • Center your build platform.
    • Click the Build button!