I’ve been experimenting things with boolean differences and I’m generally experiencing good results.
But on the attached example there’s a condition I can’t really understand.
I’m doing it by code but doing it manually leads to the same result.
This is the line of code btw
Dim cuttedBrep As Brep() = Brep.CreateBooleanDifference(solid, bs, tolerance, True)
On the front view I indicated 3 conditions.
I always subtract the lower brep box from the upper brep which has surfaces etc.
On the left and right situations subtraction gives me the output I expect. But in the centre something strange happens.
The only difference of the 3 cases is the position of the lower box…
report.3dm (3.6 MB)