Coder Social home page Coder Social logo

inkscape-unicorn's Introduction

MakerBot Unicorn G-Code Output for Inkscape

Notice

This extension is no longer supported or maintained. The last tested version of Inkscape is 0.48.5.

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 the MakerBot Unicorn Pen Plotter.

Users who use this extension to generate G-Code for a machine other than a MakerBot CupCake CNC with a Unicorn Pen Plotter attachment do so at their own risk.

Author: Marty McGuire

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

Credits

  • 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:
    • 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!

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?

inkscape-unicorn's People

Contributors

jinschoi avatar martymcguire avatar thunderbug1 avatar tseglevskiy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.