The Emergent Properties of Meat
Blog
Software
Hardware
About me
Photography
 Logos
Bigger projects: emc2 & AXIS
Friends' pages:
Alex
Bill
Chris
Jon
Michael
Email me: jepler@unpy.net

« Recipe: Farmers' Market | Newest entries in software | The stupidest thing I saw today.... »

I've written a g-code output filter for the Python vector drawing program Skencil, formerly known as "Sketch".

Features:

  • Converts paths composed of lines and beziers into G1 cuts
  • Supports a different depth and feedrate for each image layer

To set the feedrate or cut depth of a layer, put it in the name. For example, the layer named "Face depth=-.1 feed=12" will be cut at Z-.1 F12. Layers are cut from the last to the first, and when a property is not specified for a given layer, it is taken from the specification of the previously cut layer (later on the list).

Simply place 'gcodesaver.py' in the proper 'Filters' directory (e.g., /usr/local/lib/skencil-0.6.17/Plugins/Filters) and then use the .ngc extension when saving.

The example is from 'Examples/face.sk', with different depths specified for the two layers, rescaled to be about 1.5 x 1.25 inches in size.

Files currently attached to this page:

face.ngc11.9kB
gcodesaver.py7.7kB



Powered by the Emergent Properties of Meat. Copyright © 2004-2007 Jeff Epler
[æ]