occt: master d088c9c2

Author Committer Branch Timestamp Parent
akz bugmaster master 2015-02-13 13:34:08 master 2c7b466c
Affected Issues  0025699: Crash while importing STeP file
Changeset 0025699: Crash while importing STeP file

1) Try-catch block was added on a StepToTopoDS_TranslateEdgeLoop::Init() to
catch Standard_ConstructionError during the Curve conversion.

2) Checks of BSpline curve degree added to prevent construction error when converting edges to BSpline_Curve.
3) Warning message was added in case of incorrect curve definition.

Correct of the test cases according to the new error message added with fix

Conflicts:
    tests/de/step_1/R9

Modified test cases according to new reference data
mod - src/StepToGeom/StepToGeom_MakeBoundedCurve.cxx Diff File
mod - src/StepToTopoDS/StepToTopoDS_TranslateEdgeLoop.cxx Diff File
mod - tests/de/iges_3/A4 Diff File
mod - tests/de/step_1/R7 Diff File
mod - tests/de/step_2/G5 Diff File
mod - tests/de/step_2/H1 Diff File