Thu, 01/26/2012 - 23:09
Forums:
Hi
I have tried the Boolean Operation (BRepAlgoAPI_Fuse, BRepAlgoAPI_Cut, BRepAlgoAPI_Common) for the attached 2cylinder.brep file (which contains two cylinders).
When I use the following code to get the Faces of the result (Shape):
TopExp_Explorer Ex;
TopoDS_Face Face;
for (Ex.Init(Shape, TopAbs_FACE); EX.More(); Ex.Next())
Face = TopoDS::Face(Ex.Current());
For different versions, I get different Face order. Is this behavior normal?
Thanks.
Sean
Attachments:
Fri, 01/27/2012 - 11:31
If you mean the order you get the faces from the explorer ? if so, yes, this is normal, they can be returned in any order, the exact order is not defined.