]> OCCT Git - occt.git/commit
0032922: Data Exchange, STEP - The torus is stored incorrectly in STEP format
authoratereshi <atereshi@opencascade.com>
Fri, 8 Apr 2022 11:16:01 +0000 (14:16 +0300)
committerafokin <afokin@opencascade.com>
Fri, 27 May 2022 15:14:03 +0000 (18:14 +0300)
commit9b9aac4a7b420d6be1e59e1ac9795647fa0acf64
tree061f0556594c0c719743fcedeeac195343a5afd8
parent86d6c284c2ed2d16fd247643f75476a29eb34492
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.
src/ShapeAnalysis/ShapeAnalysis_Wire.cxx
src/ShapeAnalysis/ShapeAnalysis_Wire.hxx
src/ShapeAnalysis/ShapeAnalysis_WireOrder.cxx
src/ShapeAnalysis/ShapeAnalysis_WireOrder.hxx
src/ShapeFix/ShapeFix_Wire.cxx
src/ShapeFix/ShapeFix_Wire.hxx
src/TopoDSToStep/TopoDSToStep_MakeStepWire.cxx
tests/bugs/step/bug28256
tests/bugs/step/bug32922 [new file with mode: 0644]