Mesh Join Failing for Mesh Gen'd in GH, but not after bake and reload

Simplified.gh (391.7 KB)

So I generate a mesh with a hole in it and then cap the hole either with a component in Pufferfish, or a custom script element. This represents s dolid element of the sea (sea mesh).

The sea mesh will not successfully join with a simple ball mesh, but when I bake the sea mesh and then bring it back in to Grasshopper, the mesh join works OK.

Any thoughts on workaround? I’ve tried a bunch of different tricks on the sea mesh. It is closed and has a volume, and in meshrepair of the baked version it says it is fine.

Thx! - Mike

In this case you need to flatten the input for the boolean union to work.

Doh…thx!