Split (BREAK) planar surface to simple shapes

Hello guys,
could you advise how planar surfaces like these with grasshopper:

could be split into parts

Extracting the edges as closed curves, discontinuity points, finding nearest pairs would get you all possible “cutting lines” …
But it’s difficult to generalize an algorithm with just 2 cases. Can you attach a .3dm with more cases?

2 Likes