]> OCCT Git - occt-copy.git/commit
0025415: Invalid result of loading a STEP file
authorabv <abv@opencascade.com>
Tue, 10 Feb 2015 13:56:26 +0000 (16:56 +0300)
committerabv <abv@opencascade.com>
Tue, 10 Feb 2015 13:56:26 +0000 (16:56 +0300)
commite0658d1e6001270c6f76d7b986b6b9d496d94b23
treeae73cb92df9cd42d677bfab4281b63c779ee54aa
parent2fe4f8f37b6f0c388be91f6ebfbb9107daf55832
0025415: 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