conformal_flatten.gh (60.8 KB)
Here’s a simple example (needs Kangaroo 2.5). The flattening probably works best if you remesh to a good triangulation first. For more complex shapes you probably need other ways of preventing foldovers (such as constraining the boundary and using zero length springs for the interior, then gradually applying the angle goal).
It’s a big topic and there are also lots of other ways of going about this.
Also, it’s not in Rhino*, but there’s a very nice standalone software for mesh flattening recently released:
(see also the referenced papers there for more reading on approaches conformal mapping of meshes)
*though in theory I think the libraries could be called from a plugin, which could be neat…