1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0026989: [Regression in 6.9.0] Export of a reversed face leads to wrong data in 6.9.0

Add range for degenerated edges to mirrored pcurves during exporting of reversed faces.
This commit is contained in:
ika 2016-01-12 18:08:26 +03:00 committed by bugmaster
parent bfa7a6857a
commit 52849da68c
2 changed files with 13 additions and 0 deletions

View File

@ -198,6 +198,10 @@ Handle(IGESData_IGESEntity) BRepToIGES_BRShell ::TransferFace(const TopoDS_Face&
else {
B.UpdateEdge(anEdge, aCurve1, myface, aTol);
}
// set range for degenerated edges
if (BRep_Tool::Degenerated(anEdge)) {
B.Range(anEdge, myface, f, l);
}
}
}
}

9
tests/bugs/iges/bug26989 Normal file
View File

@ -0,0 +1,9 @@
#########################################################################################
# OCC26989: [Regression in 6.9.0] Export of a reversed face leads to wrong data in 6.9.0
#########################################################################################
restore [locate_data_file bug26989.brep] a
newmodel
brepiges a ${imagedir}/bug26989.igs
igesbrep ${imagedir}/bug26989.igs result *
checkprops result -s 56.5487