1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
akz d088c9c2a1 0025699: Crash while importing STeP file
1) Try-catch block was added on a StepToTopoDS_TranslateEdgeLoop::Init() to
catch Standard_ConstructionError during the Curve conversion.

2) Checks of BSpline curve degree added to prevent construction error when converting edges to BSpline_Curve.
3) Warning message was added in case of incorrect curve definition.

Correct of the test cases according to the new error message added with fix

Conflicts:
	tests/de/step_1/R9

Modified test cases according to new reference data
2015-02-13 17:24:52 +03:00

19 lines
1.2 KiB
Plaintext

# !!!! This file is generated automatically, do not edit manually! See end script
set filename PRO7073.stp
set ref_data {
DATA : Faulties = 0 ( 123 ) Warnings = 0 ( 0 ) Summary = 0 ( 123 )
TPSTAT : Faulties = 0 ( 0 ) Warnings = 7 ( 19 ) Summary = 7 ( 19 )
CHECKSHAPE : Wires = 0 ( 0 ) Faces = 0 ( 0 ) Shells = 0 ( 0 ) Solids = 0 ( 0 )
NBSHAPES : Solid = 0 ( 0 ) Shell = 1 ( 1 ) Face = 66 ( 66 ) Summary = 955 ( 833 )
STATSHAPE : Solid = 0 ( 0 ) Shell = 1 ( 1 ) Face = 66 ( 66 ) FreeWire = 0 ( 0 ) FreeEdge = 122 ( 122 ) SharedEdge = 325 ( 325 )
TOLERANCE : MaxTol = 0.1618955924 ( 0.3526187023 ) AvgTol = 0.03794615013 ( 0.05391633347 )
LABELS : N0Labels = 3 ( 3 ) N1Labels = 124 ( 124 ) N2Labels = 0 ( 0 ) TotalLabels = 127 ( 127 ) NameLabels = 5 ( 5 ) ColorLabels = 123 ( 123 ) LayerLabels = 0 ( 0 )
PROPS : Centroid = 0 ( 0 ) Volume = 0 ( 0 ) Area = 0 ( 0 )
NCOLORS : NColors = 7 ( 7 )
COLORS : Colors = CYAN1 FORESTGREEN GREEN INDIANRED1 MAGENTA1 WHITE YELLOW ( CYAN1 FORESTGREEN GREEN INDIANRED1 MAGENTA1 WHITE YELLOW )
NLAYERS : NLayers = 0 ( 0 )
LAYERS : Layers = ( )
}