In Inkscape, is there a way to automatically calculate the space / area a shape occupies? I am representing data in complex shapes and I need a way to scale them accordingly.
To automatically obtain the area of a shape in pixel, cm and so on simply select the shape, go to
Extensions > Visualise Path > Measure Path ... and select the desired output. It does not work for objects though (for example rectangles drawn with the
Create rectangles and squares tool). Convert them to paths before (
Path > Object to Path).
Does not work for me:
Traceback (most recent call last): File "measure.py", line 341, in <module> e.affect() File "inkex.py", line 283, in affect self.effect() File "measure.py", line 219, in effect factor = self.unittouu(doc.get('width'))/float(vieww) File "inkex.py", line 387, in unittouu p = param.match(string) TypeError: expected string or buffer
I tried with Objects transformed to Paths, and with newly created Paths. Same result.