On Nov 12, 2007 4:43 PM, bulia byak wrote:
On Nov 12, 2007 4:27 PM, Rob Antonishen wrote:
I have written script-fu extension for GIMP before, but think that Inkscape is much harder to add to that way...
I dunno about Gimp, but Inkscape extensions are pretty easy. This one however is a bit cumbersome because Inkscape does not pass to the extensions the bboxes of the selected objects. (I proposed to add this to the extensions API; Ted, is there any reason why you don't want to do this?) There's a workaround possible where you call another copy of Inkscape from the extension using the query command line params and parse what is returned - it's quite awkward but it works.
That is what I suspected.
Any pointers to a (I am assuming) python extension I could use as a framework to start from?
Programatically, it is trivial...just getting it to work within inkscape is the issue :)
-Rob A>