Importing stl missing geometry

Hi all,

I was trying to import back the stl files generated by butterfly in the hope to detect some holes/openings in my model (joining the mesh and using dupborder to spot the holes, more on that later).

I noticed that my last assigned BF_Geo does not show up in the rhino. However, I can see all the geometry in paraview. I wonder if its just me and my system or someone else has had this issue as well. Attached two stl files where I reversed the order of assigning geometry.
Test_1.stl (14.2 KB)
Test_2.stl (14.2 KB)
Can someone try importing the stl files and duplicate the same issue?
simple gh below -
BF_Test.gh (17.1 KB)

As for the bigger picture, I wonder if someone has tried to look into some sort of check for the geometry being air tight (provided you have modeled air tight geometry in rhino). While exporting geometry in different layers esp. involving curved surfaces there are always gaps at junctions, primarily because the mesh edges don’t align very well sometimes. exaggerated sample below -


both the exploded polysrf meshes have multiple gaps between the roof and the wall. I also noticed that the mesh generated by butterfly looks quite different from the rhino mesh which means I cannot mesh my geometry in rhino manually and check for gaps. Safer approach is to import the stl bf generated and check for gaps but then I bumped into this strange issue mentioned above.

Thank you for any help and suggestions.

regards,
saket

Hi,@SaketSarupria
The polysurface and mesh is different by the nature of the geometry. As you said, the butterfly mesh is different for rhino mesh. I think it is due to the meshNURBS setteing.
image

Generally speaking, if you intend to make air tight model, you should create mesh from closed polysurface.

Yes I understand the polysrf to mesh can be manually controlled in detailed settings. Wanted to get some insight from @mostapha or @TheodorosGalanos on what approach/settings BF takes while meshing srf/polysrf to stl.

As for creating geometry from closed polysrf, it might not always be the case, eg: the roof and walls might be on different layers due to different Temperature BC’s. One workaround is to mesh the joined polysrf, convert back using MeshtoNurbs and then assign exploded surfaces in different layers, or assign exploded mesh.

@minggangyin have you tried importing the attached stl files in my post? Can you see all the geometry in both of them?

@SaketSarupria Yeah. I can see the Test_1 and Test_2 STL file in Rhino.

You can use custom mesh setting for BF_Geo.So you can see the geometry after butterfly process.

Maybe this can help you.