|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Python binding documentation for effectsHello,
afaics, python is the recommended language for writing one's own extensions and effects. http://wiki.inkscape.org/wiki/index.php/PythonEffectTutorial gives a nice little overview, and http://wiki.inkscape.org/wiki/index.php/PythonModules provides a little bit more information. My question is: Is there a more comprehensive documentation somewhere about the several modules, classes and their methods and attributes? Or at least a brief summary how to iterate over objects, layers, nodes, etc and how to modify them? Thanks, Daniel -- Psssst! Schon das coole Video vom GMX MultiMessenger gesehen? Der Eine für Alle: http://www.gmx.net/de/go/messenger03 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Inkscape-user mailing list Inkscape-user@... https://lists.sourceforge.net/lists/listinfo/inkscape-user |
|
|
Re: Python binding documentation for effectsThere is AFAIK no Python bindings or documentation available. Currently the best way to learn writing extensions is to study the code of extensions bundled with Inkscape. There are, however, a few helper modules available like simplepath.py simpletransfrom.py and simplesty.py and others. When writing an extension you basically work with the svg xml source. This means that you have to know how to manipulate the xml DOM tree and know your way around the W3 SVG specification. Inkscape comes bundled with the lxml library. I found it a bit confusing to learn, but once you understand the basics its not that difficult. The helper modules help you with tasks like path, transformation and style parsing, but it all boils down to manipulating xml. Regards, Kjell Magne Fauske |
|
|
Re: Python binding documentation for effectsOn Friday 29 August 2008, Kjell Magne Fauske wrote:
> When writing an extension you basically work with the svg xml source. This > means that you have to know how to manipulate the xml DOM tree and know > your way around the W3 SVG specification. Inkscape comes bundled with the > lxml library. I found it a bit confusing to learn, but once you understand > the basics its not that difficult. The helper modules help you with tasks > like path, transformation and style parsing, but it all boils down to > manipulating xml. Hello, thank you for your answer. I found out so much already and crawled through the available examples. Fortunately I got help by Aaron on the Inkscape-deve mailing list. Meanwhile I managed to update http://wiki.inkscape.org/wiki/index.php/PythonEffectTutorial into a working version, so the immediate problem is solved. Greetings, Daniel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Inkscape-user mailing list Inkscape-user@... https://lists.sourceforge.net/lists/listinfo/inkscape-user |
| Free Forum Powered by Nabble | Forum Help |