Glimmer Labs wrote:
Here is the first draft of a Dbus based Inkscape scripting API:
<snip />
I will keep the posted link updated as I make changes based on peoples feedback.
-Soren
Soren,
This is really very exciting for me. I have always wanted language-neutral scripting access to live Inkscape internals. Your Dbus work is the best imaginable compliment to our current simple but powerful stdin/stdout based extension mechanism. I could only spare a few moments to look over your API this morning, but what I see appears to be the answer to a number of requests, including a recent request for a scripting API that simplifies drawing and doesn't require in-depth knowledge of XML and SVG. My only immediate question is how one deals with and manipulates existing objects in a document, but my lack of understanding is almost certainly because of the lack of time I've spent reviewing the API. Before I can comment more I will need to get my hands dirty and work with the API. I apologize if I've missed it, but where can I checkout your branch?
lib2geom offers a lot of power for advanced users, have you given any thought to how a script author might combine 2geom and your Dbus API? Whether it be by convenience routines that bring data from Inkscape to py2geom or by exposing 2geom in Inkscape through your API, any work you do to enable this and make it convenient will surely pay dividends.
I can't wait to test this!
Aaron Spike