Skip to content
Snippets Groups Projects
Commit fbe5e2f5 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

tentative fix for embedded surfaces/edges, by forcing orientation of face when importing the wires

parent e8a848e1
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ void OCCFace::setup()
l_edges.clear();
l_dirs.clear();
TopExp_Explorer exp2, exp3;
for(exp2.Init(s, TopAbs_WIRE); exp2.More(); exp2.Next()){
for(exp2.Init(s.Oriented(TopAbs_FORWARD), TopAbs_WIRE); exp2.More(); exp2.Next()){
TopoDS_Wire wire = TopoDS::Wire(exp2.Current());
Msg::Debug("OCC Face %d - New Wire", tag());
std::list<GEdge*> l_wire;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment