mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 09:20:35 +05:00
PAL8395: Fix pb. with bug2extraEdges.py
This commit is contained in:
parent
b28777dc10
commit
15ffc0f2df
@ -60,8 +60,8 @@ static void FixResult(const TopoDS_Shape& result,
|
|||||||
TopLoc_Location L;
|
TopLoc_Location L;
|
||||||
Handle(Geom_Surface) Surf = BRep_Tool::Surface(aFace,L);
|
Handle(Geom_Surface) Surf = BRep_Tool::Surface(aFace,L);
|
||||||
|
|
||||||
if (Surf->IsKind(STANDARD_TYPE(Geom_SphericalSurface)) ||
|
if( Surf->IsKind(STANDARD_TYPE(Geom_SphericalSurface)) ||
|
||||||
Surf->IsKind(STANDARD_TYPE(Geom_CylindricalSurface))) {
|
Surf->IsKind(STANDARD_TYPE(Geom_CylindricalSurface)) ) {
|
||||||
|
|
||||||
Standard_Integer nbWires = 0;
|
Standard_Integer nbWires = 0;
|
||||||
for (TopExp_Explorer ex_w(aFace,TopAbs_WIRE); ex_w.More(); ex_w.Next()) {
|
for (TopExp_Explorer ex_w(aFace,TopAbs_WIRE); ex_w.More(); ex_w.Next()) {
|
||||||
@ -92,7 +92,7 @@ static void FixResult(const TopoDS_Shape& result,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
isDone |= sfw->FixLacking();
|
//isDone |= sfw->FixLacking(); // commented by skl 22.03.2005 (PAL8395)
|
||||||
|
|
||||||
// remove neighbour seam edges
|
// remove neighbour seam edges
|
||||||
if(isDone) {
|
if(isDone) {
|
||||||
|
Loading…
Reference in New Issue
Block a user