Boolean union fails with identical solids

The boolean union component fails if given the same solid repeated in place.

240911_PROG_Union fails with identical solids.gh (4.8 KB)

It seems silly to do that but it can be a special case in a parametric model, and it is problematic that it fails in this trivial case.

I think the thing to do in this situation is to check if there are any duplicates and get rid of them before running the solid union.

A simple check could be to check the area centroids and the volumes. If there are two area centroids and the same or very similar volume, ignore one of the items. This could be extended…

Errr… No. This is a Rhino/GH problem, not a “me” problem.
So basically, I’m not looking for workarounds, but rather asking the devs to make the booleans more robust.

I understand.

I’m just not sure if a good model should contain duplicate and coincident geometries.

@osuire thanks for reporting, I added RH-83736 BooleanUnion Duplicates

It’s not a question of “good” or “Bad” model.
My solids are generated in GH through a bunch of steps that should generally not generate exact duplicates.
But when it accidentally happens, I see no reason why it should not still work.

2 Likes