0026342: No materials are read from STEP
[occt.git] / tests / bugs / step / bug348_2
1 puts "TODO OCC12345 ALL: Error on Record"
2
3 puts "========"
4 puts "OCC205"
5 puts "OCC348"
6 puts "BUC61003"
7 puts "========"
8 ######################################
9 ## puts "Crash on importing STEP file"
10 ## CS_EXHAUST.stp
11 ######################################
12
13 vinit
14 stepread [locate_data_file BUC61003-2.stp] a *
15
16 tpcompound result
17 checkshape result
18
19 vdisplay result
20 vsetdispmode 1
21 vfit
22
23 set info [trinfo result]
24 regexp { +([-0-9.+eE]+) +triangles} $info full tri
25 regexp { +([-0-9.+eE]+) +nodes} $info full nod
26
27 if { $tri == 0 || $nod == 0 } {
28    puts "Error : here is shading problem"
29 }
30
31 set 2dviewer 0