Hi Brynn and all,
On Mon, 5 Jan 2015 04:36:16 -0700
"Brynn" <brynn@...3089...> wrote:
Hi Friends,
I think I asked this before, but it was mixed up with another
subject. And there seems to be a bit of a lull in the action, on the dev
mailing list. So I thought it would be a good time to try again, when this
is the only subject.
In forums, probably 3 to 5 times in a year, people post a message
asking either how to write an extension for Inkscape, or about some
technical aspect of writing an extension. Or another version is - how to
get an extension they wrote to be packed with Inkscape. Unfortunately, most
of us don't have a clue about any of it, and there is no place to refer
them.
Now I'm working on fleshing out the Contribute page of the website,
and it would be really nice to be able to provide a link to some kind of
guide, or instructions, or article on the subject. It doesn't necessarily
need to be a newbie's guide; so it wouldn't be teaching someone like me to
write an extension. It would be addressed towards people who already have
the needed skills and experience.
So if anyone is interested, it would really be a great benefit to
the Inkscape community, to have some information, in any kind of format, on
how to write an Inkscape extension. It could be placed on the Inkscape
wiki, or maybe even in your InkSpace (the gallery on the website) in
Tutorials category.
Thanks in advance, and thanks for listening. If anyone is
interested, just let me know where to find it, when finished, and a link
will be included on the Contribute page. :-)
I've originally wrote this Inkscape extension back in 2013 -
https://github.com/shlomif/Shlomi-Fish-Back-to-my-Homepage-Logo . Since then
my knowledge of writing extensions has become rusty.
Now what I know is:
1. The extension accepts arguments on the command line including --id=... and
finally, the input SVG.
2. It emits the final SVG file to the STDOUT.
3. There is some support code written for manipulating SVG files written in
Python that is shipped in the Inkscape distribution and used by the Inkscape
extensions.
4. My code demonstrates how to call one extensions from within another by piping
it through a python command.
----
Hope it helps.
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish
http://www.shlomifish.org/
Rethinking CPAN -
http://shlom.in/rethinking-cpan
<rindolf> She's a hot chick.
<rindolf> But she smokes.
<go|dfish> She can smoke as long as she's smokin'.
—
http://www.shlomifish.org/humour/fortunes/show.cgi?id=she-can-smoke
Please reply to list if it's a mailing list post -
http://shlom.in/reply .