I have just finalized a geometry that I call HippedGeometry. If you provide an outline of a building, it will produce the hipped roof using a straight skeleton algorithm. It has one external dependency, but I am in the process of migrating it all to use threejs objects, like THREE.Vector2 instead of it using its own vector implementation.
That’s pretty cool! I’m adding a link to your demo:
As a suggestion to better appreciate the details of your work, I’d like to see an “Animation On/Off” toggle in the UI, and maybe a selection of canonical ortho views (Top, Front, Side).