BooleanOperationsUtils.ExecuteBooleanOperation Error

BooleanOperationsUtils.ExecuteBooleanOperation Error

qoreodlf37
Enthusiast Enthusiast
594 Views
1 Reply
Message 1 of 2

BooleanOperationsUtils.ExecuteBooleanOperation Error

qoreodlf37
Enthusiast
Enthusiast

Hi, I use BooleanOperationsUtils.ExecuteBooleanOperation method to get solid that intersected between two solid.

But somtimes this method throw error that say this.

 

"Failed to perform the Boolean operation for the two solids. This may be due to geometric inaccuracies in the solids, such as slightly misaligned faces or edges. If so, eliminating the inaccuracies by making sure the solids are accurately aligned may solve the problem. This also may be due to one or both solids having complexities such as more than two faces geometrically meeting along a single edge, or two coincident edges, etc. Eliminating such conditions, or performing a sequence of Boolean operations in an order that avoids such conditions, may solve the problem."

 

I don't know why this error occured.

 

So I want to know how replace BooleanOperationsUtils.ExecuteBooleanOperation method.

0 Likes
595 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni

The error message explains why the error occurred. You can either simplify and clean up your solids to remove the error condition, or switch to a different modeller. Here is one example of using OpenCascade for Boolean operations:

    

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes