For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

BUG in MapShapesAndAncestors

Anonymous's picture
Forums: 

Hello,

I was using the following function to explore all the edges of a B-Rep and get the faces that share that edge.

TopExp::MapShapesAndAncestors(....);

In a valid closed B-Rep Evrey edge is shared by two Faces. Unfortunately, on some BRep that I downloaded for Opencascade.com there are examples where I find Edges that are attached to ONLY ONE face...... Is there a means to correct this error. The File brep that was tested and found with errors is Pump_Body.brep. Can we correct such errors our selves ? and if yes How ?

Best Regards Omar Msaaf.