mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-24 16:30:35 +05:00
PAL7815: now RemoveExtraEdges() does not break initial shape
This commit is contained in:
parent
0fd599bbed
commit
49a1a28bfa
@ -429,7 +429,7 @@ TopoDS_Shape BlockFix_UnionFaces::Perform(const TopoDS_Shape& Shape)
|
|||||||
myContext->Replace(aSolid,aResult);
|
myContext->Replace(aSolid,aResult);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
// else {
|
||||||
for( exp.Init(aSolid, TopAbs_FACE); exp.More(); exp.Next()) {
|
for( exp.Init(aSolid, TopAbs_FACE); exp.More(); exp.Next()) {
|
||||||
TopoDS_Face aFace = TopoDS::Face(exp.Current().Oriented(TopAbs_FORWARD));
|
TopoDS_Face aFace = TopoDS::Face(exp.Current().Oriented(TopAbs_FORWARD));
|
||||||
Handle(ShapeFix_Wire) sfw = new ShapeFix_Wire;
|
Handle(ShapeFix_Wire) sfw = new ShapeFix_Wire;
|
||||||
@ -445,7 +445,7 @@ TopoDS_Shape BlockFix_UnionFaces::Perform(const TopoDS_Shape& Shape)
|
|||||||
sfw->FixShifted();
|
sfw->FixShifted();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
// }
|
||||||
|
|
||||||
} // end processing each solid
|
} // end processing each solid
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user