8e4bca0651feb528043370a16a228a457f55794e
[occt.git] / tests / bugs / moddata_2 / bug256
1
2 puts "========"
3 puts "OCC256"
4 puts "========"
5
6 restore [locate_data_file OCC256.brep] result
7 checkshape result
8
9 tclean result
10 vinit
11 vdisplay result
12 vsetdispmode result 1
13 vfit
14
15 set info [trinfo result]
16 regexp { +([-0-9.+eE]+) +triangles} $info full tri
17 regexp { +([-0-9.+eE]+) +nodes} $info full nod
18
19 if { $tri != 66 && $nod != 66 }  {
20   puts "Error : here is shading problem"
21 }
22
23 checkview -display result -3d -path ${imagedir}/${test_image}.png