]> 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, 16 Jul 2019 10:28:08 +0000 (13:28 +0300)
commit3ab4ed8fb54ec8876a3b32932a5603f9251801a3
treedd56a297d0c681ca0db915e5ef7af2319e5d4889
parent42da0d5115bff683c6b596e66cdeaff957f81e7d
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]