I don't think so, CartoGeo, just actions. I don't use Inkscape but I'd love to be able to get the software I use to make something like this. Great work Hai....I may just have to download Inscape just for this script. The fear of yet another learning curve of yet another bit of software scares me though
Gimp has a python interpreter and I use perl-magick which has a lot of commands all scriptable too.
The Ruby script is external to Inkscape and doesn't use the Inkscape plugin interface. You have to save the file, edit the script to indicate the ids of the objects to manipulate, and then run the script on the file.
Of course, this isn't all that different from what they Python plugins that come with Inkscape do, they just follow a particular interface that lets Inkscape figure out their command line parameters so it can make a nice dialogue box. Inkscape then serializes the document to SVG just as it would when saving, runs it through the script, and loads the output. It's not particularly efficient, but it's easy and you can use the plugins without Inkscape.
I could probably make my script work as an Inkscape plugin with a bit of work.
I did it with python without knowing anything about python. It wasn't too bad as a good example is provided. Basically, the XML is exposed as a DOM tree, and you can work with it at that level.
Originally Posted by Hai-Etlik
Now working on a repeating pattern. Here's what I have so far.
Last edited by Hai-Etlik; 09-20-2009 at 01:37 AM.
Tags for this Thread