Finding the center of a polygon
To work with geometry in Blender using the Python API, it is often necessary to find the center point of a polygon. This may be necessary for organizing various bindings, aligning objects along a polygon, positioning, and in many other cases.