How to convert a polysurface mass to a surface?

this is my work I need to convert this mass to surface in order to attach it to a code, I have tried the merge 2 surfaces at a time didn’t work, tried converting edges to patch, didn’t look similar to my mass since it has waves. Is there a plug in that converts the polysurface to surface???

mass.3dm (1.2 MB)
voronoi 2.gh (8.0 KB)

one option could be duplicating edges and then use loft


but it will require a lot of hand work

and how to break the lines of the surface? manually?

nvm i figured it out and it worked thank you!