Solid Frame from 2 sets of edges

Gradient Beam Thickness - 3D Voronoi solid frame from wires.gh (32.6 KB)

Can anyone advise how I can transform two sets of edges into a solid closed frame?

I am attempting to create a Voronoi Frame and I am not sure how to “match” the edges so to speak to create a solid closed frame.

Thanks in advance,

Harrison