.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

General Modeling Failure on union of two regions

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
andy_pu
810 Views, 2 Replies

General Modeling Failure on union of two regions

Hi!

the drawing has a variety of regions. I need to union those that intersects.

region.BooleanOperation(BooleanOperationType.BoolUnite, subregion);

this code throw a message like that:

Logical operations failure on regions.
Error modeling operations:
      An error occurred during execution of the algorithm create the intersection face-face.

eGeneralModelingFailure

Can someone explain to me why there is an error? Regions intersects exactly.

Thanks!

2 REPLIES 2
Message 2 of 3
StephenPreston
in reply to: andy_pu

There could be several reasons, including but not necessarily limited to:

 

1. The regions could be 'just' touching - the edges skim each other but don't actually overlap/touch within the required tolerance even though it looks to you like they are touching.

2. The drawing could be corrupt.

3. This could be a bug.

 

Related to (1) there is an effect where if you move a solid body (including regions) a long way from the origin (e.g. of the order of 1e6) then modelling accuracy can be affected and an operation that worked near the origin no longer works. Once you've moved the solid body, moving it back to the origin does not restore the accuracy.

 

But its not possible to say which may be the problem without more information.

 

 

Cheers,

Stephen Preston
Autodesk Developer Network
Message 3 of 3
andy_pu
in reply to: andy_pu

StephenPreston, many thanks for explanation!!!!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost