For my new project I  ideally need to be able to create simple hipped, gabled, and pointed from any arbitrary shape given (by JSON). Pointed and dome roofs are easy enough since the shape just converges to one point upwards, but I can't figure out gabled and hipped roofs just yet.. See attachment for a visual. Does anyone have any idea how to do this? The input would be an array of (clockwise) Vector2's describing the outline of the building.     Here's a PG to play wit