How to unroll curves into the XY plane

Hi!

I have a set of curves which form repetitive triangles and each floor has 42 of these. I need to unroll them onto the XY plane and for them to be planar. Does anyone know how to do this?

Thank youMODELO NO ESCALADO cande.3dm|attachment (5.0 MB) cande.gh (43.7 KB)

your rhino model attachment didn’t seem to upload correctly
in any case by looking at your screen shot I think you can make a planar surface for each triangle, get the plane it’s in and do a plane orient to the world XY. lastly get the edges