1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0025923: Remove small wires on face read from STEP

The analysis of small area in the method ShapeAnalysis_Wire::CheckSmallArea is performed the following way:
- On the fisrt step algorithm produces a rough estimation of part of surface area.
- In a case if obtained estimation is less than tolerance then evaluate real area and comapre this value with tolerance.
- New flag has been added to XSTEPResource/IGES. In a case if flag is true the faces with small 3d area is removed from ShapeFix context.

Test-case for issue #25923 and update test-cases in de group according to the new behavior.
This commit is contained in:
azn
2015-05-21 14:46:00 +03:00
committed by bugmaster
parent 602d1eadf1
commit 56a9db93fe
33 changed files with 326 additions and 171 deletions

View File

@@ -63,6 +63,16 @@ inline Standard_Integer& ShapeFix_Face::FixSmallAreaWireMode()
return myFixSmallAreaWireMode;
}
//=======================================================================
//function : RemoveSmallAreaFaceMode
//purpose :
//=======================================================================
inline Standard_Integer& ShapeFix_Face::RemoveSmallAreaFaceMode()
{
return myRemoveSmallAreaFaceMode;
}
//=======================================================================
//function : FixIntersectingWiresMode
//purpose :