Multiple holes in closed brep: slow computation and ending in open brep

Dear all,
I would like to dig multiple circular holes in a closed brep, but it ends up with open brep when I want a closed one (filled, to be 3d printed for example).

holes in closed brep ending in open brep.gh (383.8 KB)


Further, computation in Grasshopper is very slow (and so it is in rhino btw).

Any idea to solve this: ending up with closed brep in quick computation?

Try the Solid Difference component instead.

I tryed it, but the script is still running since this morning. I find it very slow for a geometry that is not that complicated

finaly worked out, but awfully long with my computer


holes in closed brep ending in open brep.gh (390.7 KB)
(You had overlapping cylinders…)

It computes in 2-3 minutes with a 5800X.

If you create 7k cylinders and then do a solid difference, indeed it is going to take time.
Better is to have a single solid as “cutter” and then do a solid operation between just 2 solids.
In this case, I’ve created another positive solid, so your target is achieved with solid intersection operation.

Note: most of grasshopper components can display something. Surfaces and Breps needs to be “meshed” to be displayed, same thing that happens in rhino:
2022-11-16 21_39_47-Window
If you create 7k cylinders, and leave the component with display ON, you are going to wait more because of the meshing part.
Disable all the components preview where you don’t need it.
Or, globally disable grasshopper meshing by setting it to wireframe mode
2022-11-16 21_42_33-Window

2 Likes

Thank you Riccardo for that complete and relevant answer