div_srf_2019Jun16a.gh (19.3 KB)
Arbitrary perimeter shape:
Even curved edges! Wow.
P.S. Later… Re-posting the same code (below) only to add the two other internalized examples of perimeter curves, shown above, and to illustrate an interesting way of working with them “live”:
div_srf_2019Jun16b.gh (17.5 KB)
I baked Crv3 (the perimeter with curvey edges) and exploded it in Rhino to seven segment curves that are imported to GH via the Crvs Rhino param and Join, before their control points are turned on to make them drag-able. So dragging control points to reshape the seven perimeter curve segments is (not quite immediately) reflected in the GH model as a new internal division pattern.