Hello all,

I just wanted to share one of my recent late-night hacking outcomes. I 
recently started looking into G-code generation of various kinds, and I 
stumbled across Inkscape and Jeff Epler's gcode extension, and his work 
on biarcs. I started playing around and eventually got the extension to 
work in the latest version of Inkscape (0.46). I then made gcode produce 
arcs (from circular arcs in Inkscape), and later on got Jeff's biarc.py 
incorporated, so now the extension exports curves as biarcs (hard coded 
to 5 per curve segment atm)!

The code is by no means complete, and I'm fairly new to Python, so 
there's probably some retarded stuff in there. The Z-axis movement isn't 
always quite right (I might have broke that, but that's a detail that'll 
work itself out over time here), but I wanted to share the fact that 
generating G-code arc commands from biarcs, generated from curves in 
inkscape works!

The code is available to play with here:

   http://dp.jstenback.com/gcode/

I'd be interested to hear if anyone has thoughts or suggestions on this. 
And a huge thanks to Jeff for his initial extension, and biarc.py!

-- 
jst

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to