0028345: Data Exchange - Reading STEP model using STEPCAF crashes
[occt.git] / tests / bugs / step / bug22237
1 puts "============"
2 puts "OCC22237"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Regression in STEP reader
7 #######################################################################
8
9 catch { pload XDE }
10
11 set BugNumber OCC22237
12
13 set filepath [locate_data_file OCC22237.stp]
14 if [catch { stepread $filepath a * } catch_result] {
15    puts "Faulty ${BugNumber}"
16 } else {
17   tpcompound result
18
19 checkprops result -s 1.50067e+07 
20 checkshape result
21
22 checknbshapes result -vertex 136 -edge 236 -wire 102 -face 102 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 579
23 }
24
25 checkview -display result -2d -path ${imagedir}/${test_image}.png
26