How to label a 2d shape in its center (visually what appears to be the center inside the shape)?

There are some great solutions from @laurent_delrieu on this thread Old Town Roofs

You might generate roofs by his scripts, explode them, extract Midpoint of highest edge and project it to XY plane.
In that manner you can somehow get closer to desired “centrish” position.