0026833: Create command checkview containing all viewer types
[occt.git] / tests / bugs / iges / buc60820_1
CommitLineData
0e94a94e 1puts "========================"
2puts "BUC60820"
3puts "========================"
4
5igesbrep [locate_data_file buc60820.igs] a *
6
7tpcompound result
8
352ffd73 9checkshape result r
0e94a94e 10
11tclean result
12incmesh result 0.1
13triangles result
14set info [trinfo result]
15regexp { +([-0-9.+eE]+) +triangles} $info full tri
16regexp { +([-0-9.+eE]+) +nodes} $info full nod
17
18if { $tri <= 0 || $nod <= 0 } {
19 puts "Error : Problems with shading"
20}
21
5747059b 22checkview -display result -2d -path ${imagedir}/${test_image}.png