This is an Inkscape extension that allows you to save your Inkscape drawings as G-Code files suitable for needle cutting with the ERC TimSav.
I am not responsible for any damanage or harm that may have caused by this extension, do so at your own risk
- Modified by: Brian Ho
- Original Author: Marty McGuire
- Brian Ho modified this extension to generate compatible g-code for TimSav (Robotini GRBL)
- Marty McGuire pulled this all together into an Inkscape extension.
- 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 to your Inkscape extensions/ folder.
Typical locations include:
- OS X -
/Applications/Inkscape.app/Contents/Resources/extensions - Linux -
/usr/share/inkscape/extensions - Windows -
C:\Program Files\Inkscape\share\extensions
you should have 2 files directly under the extensions folder (unicorn.inx, unicorn.py) and the unicorn folder as well.
- Create a document with the size of your foam board (eg. 20x30 in) and **SAVE THE DOCUMENT **

- Create some objects and convert all to paths:
- Select all text objects.
- Choose Path | Object to Path.
- The path cutting orders are generated based on the svg document hierarchy, you can organize your paths with the XML editor.
- For score cuts make the path strike RED #ff0000 (mind the lower case ff)
- For marking cuts make the path strike BLUE #0000ff (mind the lower case ff)
- The id of the path can be set with the editor and will be retained in the gcode's comment (helps with gcode troubleshooting)
- Save as G-Code:
- Draw arrow for the direction of path for view
- Rename
*PolyLinestuff to*Pathto be less misleading. - Parameterize smoothness for curve approximation.
- Use native curve G-Codes instead of converting to paths?
