mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-27 15:20:33 +05:00
Mantis issue 0021772: EDF 2336 GEOM: Non valid face created from two circles
This commit is contained in:
parent
e7430c090d
commit
08a90cb03f
@ -594,6 +594,10 @@ Standard_Integer GEOMImpl_ShapeDriver::Execute(TFunction_Logbook& log) const
|
|||||||
BRepCheck_Analyzer ana (aShape, false);
|
BRepCheck_Analyzer ana (aShape, false);
|
||||||
if (!ana.IsValid()) {
|
if (!ana.IsValid()) {
|
||||||
//Standard_ConstructionError::Raise("Algorithm have produced an invalid shape result");
|
//Standard_ConstructionError::Raise("Algorithm have produced an invalid shape result");
|
||||||
|
// For Mantis issue 0021772: EDF 2336 GEOM: Non valid face created from two circles
|
||||||
|
Handle(ShapeFix_Shape) aSfs = new ShapeFix_Shape (aShape);
|
||||||
|
aSfs->Perform();
|
||||||
|
aShape = aSfs->Shape();
|
||||||
}
|
}
|
||||||
|
|
||||||
aFunction->SetValue(aShape);
|
aFunction->SetValue(aShape);
|
||||||
|
Loading…
Reference in New Issue
Block a user