occt: master 7ef1f9b7

Author Committer Branch Timestamp Parent
gka bugmaster master 2020-02-27 12:26:42 master 877fd611
Changeset 0031301: Data Exchange - Export to STEP corrupts the shape

For small edges fully covered by tolerances of vertices BSpline periodic curves are converted to not periodic BSpline curves by cutting segment before writing.
In the class TopoDSToStep_MakeStepEdge permute of edge vertices for closed curves was added for the case when the range obtained from the vertex projection contradicts the edge range in order to avoid computation of the invalid edge range after reading.

Second test script for bug 0031301
mod - src/GeomToStep/GeomToStep_MakeCurve.cxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeStepEdge.cxx Diff File
add - tests/bugs/step/bug31301_2 Diff File
mod - tests/de/step_4/D9 Diff File
mod - tests/de/step_4/E1 Diff File
mod - tests/de/step_4/H1 Diff File
mod - tests/de/step_5/A1 Diff File