https://alexschreyer.net/sketchup/sketchup-plugin-centroid-and-area-properties/
SketchUp Plugin: Centroid and Area Properties