Hi Alvin,

Thanks for the suggestions, but I'm after the center of rotation, not the centroid of the object. Although they often coincide, the former can be changed by the user, whereas the latter can't.

Best,
Pieter


On Fri, 26 Oct 2018 at 23:46, alvinpenner <penner@...1856...> wrote:
I am assuming that you would like to do this in Python, not C++. There are
some existing Python extensions in this general area. For example there is
an extension that will calculate and display the center of mass. See the
menu item Extensions->Visualize Path->Measure Path, and the file:
share\extensions\measure.py

hth,
Alvin



--
Sent from: http://inkscape.13.x6.nabble.com/Inkscape-Dev-f2781808.html


_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel