0028345: Data Exchange - Reading STEP model using STEPCAF crashes
[occt.git] / tests / bugs / step / bug26451
1 puts "========"
2 puts "OCC26451"
3 puts "========"
4 puts ""
5 ##########################################################################
6 # Crash importing STeP file
7 ##########################################################################
8
9 stepread [locate_data_file bug26451_Test_STEP.stp] a *
10 tpcompound result
11
12 checkprops result -s 551394 
13 checkshape result
14
15 set nbshapes_expected "
16 Number of shapes in shape
17  VERTEX    : 8057
18  EDGE      : 8372
19  WIRE      : 1988
20  FACE      : 1754
21  SHELL     : 1754
22  SOLID     : 0
23  COMPSOLID : 0
24  COMPOUND  : 1
25  SHAPE     : 21926
26 "
27 checknbshapes result -ref ${nbshapes_expected} -t -m "importing file"
28 checkview -display result -3d -path ${imagedir}/${test_image}.png