Commit 2d8715cc by Christophe Geuzaine

SurfaceFilling duplicates the edges: it's annoying but we should not remove the…

SurfaceFilling duplicates the edges: it's annoying but we should not remove the old ones (as this leads to unexpected behaviour)

Workaround for now: apply BooleanFragments to get rid of duplicates
parent 07b6c89f
Showing with 2 additions and 2 deletions
......@@ -1221,8 +1221,8 @@ bool OCC_Internals::addSurfaceFilling(int &tag, int wireTag)
TopoDS_Edge edge = TopoDS::Edge(exp0.Current());
f.Add(edge, GeomAbs_C0);
// face filling will duplicate the edge
if(_edgeTag.IsBound(edge))
unbind(edge, _edgeTag.Find(edge), true);
//if(_edgeTag.IsBound(edge))
// unbind(edge, _edgeTag.Find(edge), true);
}
// TODO: add optional point constraints using f.Add(gp_Pnt(x, y, z);
f.Build();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment