Pim Snel wrote:
I followed the advise and I seperated the earlier extension in two parts. One that resides in Effects and does the collection of all images to the documents current dir. The other resides in "save as" which save an zip archive incuding all images.
I haven't tried this extension yet, or even really read the code. But I don't see why there has to be all this complexity to avoid.
I only have one problem which seems to be a inkscape bug. After the effect is run the file is saved as a normal svg in stead of a ziparchive. You have to do "save as" again. I allready filed a bugreport at https://sourceforge.net/tracker/?group_id=93438&atid=604306
I'm gonna bet this is a problem with inkex.py or the use of it rather than inkscape. As designed inkex.py's output() spits the modified svg back to STDOUT. So what we need to do is either override output in your extension to do what inkscape expects for an output extension or modify inkex.py so that it has a method specific to output extensions. Sorry I didn't comment earlier. Let's get this sorted out. It is a much desired feature.
Aaron Spike