G33K wrote the following on 4/13/2009 12:47 PM:
Ok, got it to run :-) attached .jpg
Result was much larger than the page and also squashed horizontally, i.e. different aspect ratio than the envelope, but easily shrunk and stretched back into shape.
Can you maybe send me the original SVG file? Whenever I used the effect, it was a pretty close fit, so I attributed the small offsets to the incomplete calculation of the bounding box. But if the result was larger than the page, maybe some algorithm needs to be fixed too.
Also, I realized it's probably difficult to have people test the extension if it doesn't work out of the box. Thank you guys for trying it out nonetheless. I wrote a function to convert lines and quads to cubics, so now it should work with just any path, without raising "unsupported" errors. I also copied the rotate and scale constructors from simpletransform.py, so that bug isn't a problem any more either. If anyone else wanted to use the effect, but was scared by the complicated setup, you might wanna give it a try now. :)
Your improvements to this extension work much better. This will be quite useful for future things. :)
Thank-you,
heathenx