0025507: Visualization - the method V3d_View::Place() is incorrect
[occt.git] / tests / bugs / vis / bug288_5
1 puts "============ OCC288 (case 5) ==============="
2
3 restore [locate_data_file OCC288e.brep] result 
4
5 #Delete invalid (in terms of bug#25109) triangulation
6 tclean result
7 checkshape result
8
9 vinit
10 vdisplay result
11 vsetdispmode result 1
12 isos result 0
13 triangles result
14 vfit
15
16 set tri 0
17 set nod 0
18 set info [trinfo result]
19 regexp { +([-0-9.+eE]+) +triangles} $info full tri
20 regexp { +([-0-9.+eE]+) +nodes} $info full nod
21 puts [format " tri= %s  nod= %s " $tri $nod]
22
23 # ($tri == 7826 && $noe == 8246) || ($tri == 8218 && $noe == 8638),aki251103
24
25 if { ($tri == 6268 && $noe == 6688) } {
26    puts "Shading of OCC288 (case 5)  looks like OK, but visual checking is required !"
27 } else {
28    puts " Shady: Shading of OCC288 (case 5) may be bad, nb tri & nod changed"
29 }
30
31 set only_screen 1
32