1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0023746: IGES wheel model fails to load when OCCT unit is meters

Add check for too small distances during edges reordering
Fix writing TrimmedSurface (Type 144).
Fix checking for too small distances between loops of edges during edge's reordering.
Add checking for too small BSpline segments during reading and writing IGES.
Fix wire splitting by adding checking that vertexes same not only in 3d, but in 2d too.
use tolerance of vertexes recomputed through resolution surface, not 2d curves.
Adding test case for this fix
Modified test case bugs iges bug23746 and cases in group de according to new reference data
This commit is contained in:
ika
2013-07-25 12:39:12 +04:00
parent a9e4846fe4
commit fdabc2117e
74 changed files with 359 additions and 271 deletions

View File

@@ -1130,7 +1130,8 @@ Handle(Geom_Curve) IGESToBRep_BasicCurve::TransferBSplineCurve
(Last-Ufin)>-Precision::PConfusion()) && Udeb<=Ufin ) {
try {
OCC_CATCH_SIGNALS
BSplineRes->Segment(Udeb, Ufin);
if (Abs(Ufin-Udeb) > Precision::PConfusion())
BSplineRes->Segment(Udeb, Ufin);
res = BSplineRes;
}
catch (Standard_Failure) {