Curves planarization for gridshell

Hi everybody!
I’ve drawn this gridshell made of hexagons and triangles, and now i need to planarize it, to obtain the flat grid. The main issue is that for every hexagon, 2 sides can be extended, while 4 must keep their lenght (i’ve already grouped them in the “extensible” and “Inextensible” curve containers). Original angles should be kept as well. I tried assigning a low force to the deformable sides to make them stretch, but it doesn’t seem to work.
Any suggestion? Thank you!

Gridshell_Planarization.gh (64.4 KB)