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:
@@ -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 :
|
||||
|
Reference in New Issue
Block a user