
Maarten van der Velde wrote:
I'd like to write a Python script in Inkscape, but I cannot find something like a straightforward "API" or something. I have seriously Googled quite a bit on it, but everything looks horribly complicated. Is there a straightforward way for creating a line from A to B, for example? Or does everything I want to do in Python require some complicated XML handling?
A number of people have proposed building a drawing API on top of the current xml handling base, but no one has followed through. You might be able to save some effort if you merge with svg-utils:
http://www.programmer-art.org/projects/svg-utils
I'm still wishing for a model by which we have access to the living inkscape internals and access to draw with all of those tools in python.
Aaron Spike