]> OCCT Git - occt-copy.git/commit
0030544: Data Exchange - IGES import fails on specific file
authorabv <abv@opencascade.com>
Mon, 11 Mar 2019 18:28:52 +0000 (21:28 +0300)
committerabv <abv@opencascade.com>
Tue, 12 Mar 2019 03:59:14 +0000 (06:59 +0300)
commitb252e22ede1e3c26b056629f69be8b7e2b311dcc
tree6c13b532115c10643ceafd416a6ac0b375d1c1af
parentd2c909178edea381a99889edd7d75b57f4cdf4d3
0030544: Data Exchange - IGES import fails on specific file

Method IGESToBRep_BRepEntity::TransferEdge() is fixed to record result even if it is wire rather than edge.
This allows translation of EdgeLoop entities referring to CompositeCurve items in EdgeList entities.
Curves that fail to translate are recorded in result as Null shapes (rather than skipping them) to keep indexation of curves in EdgeList valid for remaining ones.

Method IGESToBRep_BRepEntity::TransferLoop() is improved to skip failed edges thus avoiding exception and allowing translation to complete for transferable entities.

Warning messages are corrected to be more meaningful.

Added test bugs iges bug30544
src/IGESToBRep/IGESToBRep_BRepEntity.cxx
src/IGESToBRep/IGESToBRep_IGESBoundary.cxx
src/XSMessage/XSMessage_XSTEP_us.pxx
src/XSMessage/XSTEP.fr
src/XSMessage/XSTEP.us
tests/bugs/iges/bug30544 [new file with mode: 0644]