Region's middle curve connected to vertices

I’m trying to redo the logic that Archicad uses for automatic creation of roofs.
As I understand the final result is the region’s sort of central line connected to the vertices through bisectors.

Any idea on how to achieve this?


Have a look here:

1 Like

Thank you. This forum is awesome!