]> OCCT Git - occt.git/commit
0025415: Data Exchange - Invalid result of loading a STEP file
authorabv <abv@opencascade.com>
Fri, 8 Mar 2024 18:56:26 +0000 (18:56 +0000)
committerdpasukhi <dpasukhi@opencascade.com>
Sun, 31 Mar 2024 21:40:18 +0000 (22:40 +0100)
commit689b59692eb2d0464d221a3fb30c9194e50d7394
tree08ca5414ffc3ac799b321e01c9a00a24f6f5df0f
parentc7fd6ca63b0bd4dfd65892c361b57024301f24e6
0025415: Data Exchange - Invalid result of loading a STEP file

Handling of special case found on some STEP files produced by FPX Expert 2013 (PCB design system):
edge curve is line displaced from its true position but with correct direction;
we shift the line in this case so that it passes through vertices correcty.

Protection against possible exception in writing XDE.
src/STEPCAFControl/STEPCAFControl_Writer.cxx
src/StepToTopoDS/StepToTopoDS_TranslateEdge.cxx
tests/bugs/step/bug25415 [new file with mode: 0644]