Integration part of tests of grid chl
[occt.git] / tests / bugs / moddata / bug16
CommitLineData
0e94a94e 1
2puts "================"
3puts "OCC16"
4puts "================"
5puts ""
6
7torus a 10 10
8mkface result a
9vinit
10vdisplay result
11vsetdispmode result 1
12
13set info [trinfo result]
14regexp { +([-0-9.+eE]+) +triangles} $info full tri
15regexp { +([-0-9.+eE]+) +nodes} $info full nod
16
17if { $tri != 2592 || $nod != 1369 } {
18 puts "Faulty OCC16: here can be shading problem"
19}
20
21puts "If here is bug - face is displaied in wireframe mode"
22
23set 2dviewer 0
24