Integration part of tests of grid chl
[occt.git] / tests / bugs / modalg / bug481
CommitLineData
0e94a94e 1
2puts "========================"
3puts " OCC481 "
4puts "========================"
5puts ""
6##########################################
7##Attached shape could not be displayed in the Shading mode.
8##########################################
9
10restore [locate_data_file OCC481.rle] result
11puts [checkshape result]
12
13tclean result
14vinit
15vdisplay result
16vfit
17vsetdispmode result 1
18
19set tri 0
20set nod 0
21
22set tri_info [trinfo result]
23regexp { +([-0-9.+eE]+) +triangles} $tri_info full tri
24regexp { +([-0-9.+eE]+) +nodes} $tri_info full nod
25
26if { $tri == 72 && $nod == 74 } {
27 puts " OCC481 : OK"
28} else {
29 puts " OCC481 : Faulty"
30}
31
32set square 314.159
33set 3dviewer 1