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