]> OCCT Git - occt-copy.git/commit
0031301: Data Exchange - Export to STEP corrupts the shape
authorgka <gka@opencascade.com>
Thu, 27 Feb 2020 12:26:42 +0000 (15:26 +0300)
committerazv <azv@opencascade.com>
Fri, 13 Mar 2020 05:51:38 +0000 (08:51 +0300)
commit0140cba7c500a7971b811992b8d3ed22ecae31a3
tree1ba3569c63fdd6f5c7a0b227935cf0c59ba66fca
parent1b6753c628f250155d73202b98a3a6d7a34dc5af
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.
src/GeomToStep/GeomToStep_MakeCurve.cxx
src/TopoDSToStep/TopoDSToStep_MakeStepEdge.cxx
tests/bugs/step/bug31301 [new file with mode: 0644]
tests/de/step_1/G1
tests/de/step_4/D9
tests/de/step_4/E1
tests/de/step_4/H1
tests/de/step_5/A1