Skip to content

soukupak/inkscape-unicorn-for-marlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Marlin G-Code Output for Inkscape

Notice

Now works with Inkscape 1.0! There is also version for older Inkscape, check releases.

I tested it with version Inkscape 0.92 with document units set to mm and it seems to work, no other configuration is tested

Please feel free to fork and improve this extension for your own needs!

This is an Inkscape extension that allows you to save your Inkscape drawings as G-Code files suitable for plotting with any Marlin based plotter.

Users who use this extension to generate G-Code for a their machine do so at their own risk.

Original Author: Marty McGuire

Website: http://github.com/martymcguire/inkscape-unicorn

Credits

  • Ondrej Soukup made modification to the script to make it work with Marlin firmware
  • 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.

Install

Copy the contents of src/ 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

Usage

  • Size and locate your image appropriately:
    • Setting units to mm in Inkscape makes it easy to size your drawing.
  • Convert all text to paths:
    • Select all text objects.
    • Choose Path | Object to Path.
  • Save as G-Code:
    • File | Save a Copy.
    • Select Marlin G-Code (*.gcode).
    • Save your file.
  • Preview
  • Print!