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:
parent
bfa7a6857a
commit
52849da68c
@ -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
9
tests/bugs/iges/bug26989
Normal 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
|
Loading…
x
Reference in New Issue
Block a user