Mario. wrote:
> Does it work as as an export pluging for gcode, right?

Right now it still works as an "effect" (as Jeffs original extension 
did), i.e. you have to select what you want to generate G-code for and 
then run the gcode effect on that selection. But eventually I think it 
makes more sense to have it be an export plugin, yes.

Transforms n' stuff is still missing too, but there's code that does 
most of that already so adding that should be easy.

> Z-axis? so, it can use a real paintbrush or engrave illustrations with
> varying tool depth depending on line width?

As originally written, and this still holds true modulo bugs, the gcode 
it generates contains commands to lift the cutter or whatever (i.e. move 
along the Z-axis) when moving between disconnected paths, and when 
jogging to the start and away from the end of the cut. All of the above 
certainly seems doable if one was to add code to detect line widths and 
detection of distance between curves etc, and control the Z-axis based 
on that.

That's not what I'll be doing with this experiment though. My primary 
need (or initial need, I should say) here is to run a laser burner to 
"print" on wood with, so tracing along curves and lines, and turning the 
laser on/off is my primary goal right now, so z-axis contrl isn't all 
that important to me as of now.

>
>
> On Fri, Jan 30, 2009 at 10:09 PM, Johnny Stenback<[email protected]>  wrote:
>> 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!
>>
>> (this was sent to the emc-users list as well, but I figured maybe
>> there's people here who'd have thoughts too)
>>
>> --
>> jst
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> SourcForge Community
>> SourceForge wants to tell your story.
>> http://p.sf.net/sfu/sf-spreadtheword
>> _______________________________________________
>> Emc-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

-- 
jst

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

Reply via email to