On Mon, 2018-04-16 at 13:18 -0400, Lrn Lf wrote:
Is there away to access Inkscape other function through Python to
run
Inkscape basic operation of really any operation you can run by hand
through the gui. And do anyone know how to get the bounding box width
and height of a g svg element or any element that don't have that
information set as a attribute. The only solution I can fantom is
iterating through the group to find the biggest element of them all
but even that can be tricky.
Hi Lrn,
There's functions for finding the bounding box which does the right
thing in python.
Although I'm currently working on an updated API which should make it
easier to discover the functionality. Come talk to me over at
https://g
itlab.com/inkscape/extensions/
As for calling Inkscape from the python extension, some extensions
already do this, but I wouldn't recommend it.
Best Regards, Martin Owens