]> OCCT Git - occt.git/commit
0032817: Data Exchange - Step export - writing untrimmed Curve
authoratychini <atychini@opencascade.com>
Mon, 7 Feb 2022 12:57:38 +0000 (15:57 +0300)
committersmoskvin <smoskvin@opencascade.com>
Thu, 17 Mar 2022 15:44:06 +0000 (18:44 +0300)
commit452ba192d5cd1ebcab77a397f310e60f6092d0fe
treed8a40ae60341c8c94ee7b882d7ca8f96ad3a29d4
parent9140163ba8726a0a2ff30c459668f9c9ff78ddd0
0032817: Data Exchange - Step export - writing untrimmed Curve

Incorrect curve handling.
If curve doesn't have trims and vertexes, we handle it such as trimmed curve, but it should be a simple curve.
Curves with only one vertex and one trim should handle by another way, such as a curve that has trims but doesn't have vertexes.
So I added conditions which handles these cases
src/TopoDSToStep/TopoDSToStep_WireframeBuilder.cxx
tests/bugs/step/bug32817_1 [new file with mode: 0644]
tests/bugs/step/bug32817_2 [new file with mode: 0644]
tests/bugs/step/bug32817_3 [new file with mode: 0644]