Efficient scripting. From two surfaces to one brep

I am not working efficiently.
I want to make a brep from two surfaces. Therefore I need to close the gaps between them.
There has to be something done with shift list.

closing openings between surfaces.gh (22.6 KB)


two_surfaces_2018Feb11a.gh (17.8 KB)

1 Like

Thank you Oster,
I did not knew that.

And what you might still not know is that it doesn’t always work so well. Then you have to know why it fails… Don’t be so sure when you don’t know.

The reason this works is because GH “knows” that Loft wants curves so it extracts the perimeter curves from the surfaces (basically a curve Join of each surface’s edges).