TopExp_Explorer

for(exw.Init(acurrentFace,TopAbs_WIRE);exw.More();exw.Next()) {
TopoDS_Wire acurrentWire = TopoDS::Wire(exw.Current());
^^^^^^^^^^^}
how to explorer the outerwire firstly,then others?

Patrik Mueller's picture

Hi,

take a look at "ShapeAnalysis::OuterWire" or "BRepTools::OuterWire". Then ignore the result for your exw loop...

Greets,

Patrik