occt: master 9b9aac4a

Author Committer Branch Timestamp Parent
atereshi afokin master 2022-04-08 14:16:01 master 86d6c284
Affected Issues  0032922: Data Exchange, STEP - The torus is stored incorrectly in STEP format
Changeset 0032922: Data Exchange, STEP - The torus is stored incorrectly in STEP format

Problem: the complete surface of the torus is not stored correctly in STEP format due to the fact that the edges are not properly ordered.
Change: added a mode for reordering edges in the wire with simultaneous use of 2d and 3d information (ShapeAnalysis_WireOrder). The new mode is used for torus-like surfaces before saving to STEP format.
 Result: Torus correctly stored.
mod - src/ShapeAnalysis/ShapeAnalysis_Wire.cxx Diff File
mod - src/ShapeAnalysis/ShapeAnalysis_Wire.hxx Diff File
mod - src/ShapeAnalysis/ShapeAnalysis_WireOrder.cxx Diff File
mod - src/ShapeAnalysis/ShapeAnalysis_WireOrder.hxx Diff File
mod - src/ShapeFix/ShapeFix_Wire.cxx Diff File
mod - src/ShapeFix/ShapeFix_Wire.hxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeStepWire.cxx Diff File
mod - tests/bugs/step/bug28256 Diff File
add - tests/bugs/step/bug32922 Diff File