Help with Solid union

Hello guys,

So i wrote a grasshopper script with many intersecting breps, now at the end of the script i want all of them to solid union, so i get one big geometry, in some cases, this doesn’t work any idea on how to fix this.

I already tried, methods like the partition method or anemone, but still doesn’t work, i also don’t want to turn them into meshes, any help is greatly appreciated.

grasshopper internalized.gh (42.2 KB)

It was one closed brep when I opened your definition…

Rhino 9 WIP latest build

solid_union_mrtn.gh (24.7 KB)

What doesn’t work for you? What Rhino version are you using?

Or is there a mistake I don’t see?

This is very strange, I’m using rhino 7 educational version. This is how i receive it at my end:
I also attached a scenario with some tweaks, where it also gives me the same response. Here it also returns that the boolean union set is empty.

grasshopper internalized.gh (38.5 KB)

Also thank you very much for replying.

When you hover on the B output of the BoxRec component, what do you see?

I see a list of 75 box components.

Ok, so far so good. For the Union, you might have to use Rhino 8.

And just to understand, why do you need the union? What are the next steps?

I want to have a clean solid geometry export, after that it’s also used to

  • calculate the fraction between surface area of all floors and surface area of the plot (B/T)
  • calculate the fraction between surface area of the first floor and surface area of the plot (V/T)

This is done by generating multiple cutting breps, where i take the volume from then divide these volumes by the height of one level: so that i then can calculate the area of each floor and the first floor.

What seems strange to me is that when i opened your grasshopper it showcased me no errors, could it be that what happens after it and my rhino file itself are hard on processing the boolean union, would seem strange to me but not sure.

used for floor areas:

used for the fractions:

So with my Grasshopper file you got a successful union?

Yes but in my overall file:

I still get these empty results.

works on my side. Rhino 8.24

Try converting boxes to breps. Also you can try alternative solid unions, such as one from sasquatch

Thanks for your answer, already tried putting it in breps, but also didn’t work, i’ll try to download sasquatch right now.

Did it work?

I’m now just running some quick test, but i already see the problems that i had before have been fixed, i’ll run a couple more and then I’ll mark your response as the solution.

Thank you so much, have been searching so long for a solution.
Any idea how come this works and not the default solid union and should i change my solid intersection also with the one from sasquatch.

What is your Rhino file tolerance?

One thing which used to fail in the past was coincident or near coincident geometry. You could try to move each object randomly a little bit. Just for fun, to see if it helps.

My tolerance is set on 0.01, I’ll try to move some later and check if it could have been that, also read somewhere it could have been that, does the sasquatch one then not focus on these.

Sasquatch is a must have. It uses multithread computation for solid intersections, so my guess is it splits breps into groups/pairs. It is pretty reliable as well, I always use it in my work

Yeah will keep this in mind, thanks for your help.

Also thanks to your for helping me with this problem.

i still use R7, and in grasshopper, sometimes boolean operations on meshes can work better than boolean operations on breps, so you might try meshing each brep and unioning the meshes.