]> 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>
Sat, 27 Mar 2021 12:02:36 +0000 (15:02 +0300)
commitac8e3a5c308cc0d8fc47acb60b78150f53e8a183
tree3e7a735faaddd4065a52473a1398a3c9bbc631e8
parent90dfe2ccb0eacae3de8e47d178ae82efd30db996
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