]> 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)
committervglukhik <vglukhik@opencascade.com>
Wed, 13 Mar 2024 17:17:45 +0000 (17:17 +0000)
commit59399910706f8fe1b455b0fd9a892cc878bbc06b
treefa8efeaf2c9bdf302bef21733883cca4c467e38b
parente8a36f3a028c57b789c2fd5c9818be9b386ae3a1
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]