0025624: Visualization - selection is incorrect in perspective mode in a specific...
[occt.git] / tests / bugs / iges / bug306
CommitLineData
0e94a94e 1puts "================"
2puts "OCC306"
3puts "================"
4puts ""
5#############################################################################
6##After applying sewing on the model from the file TibTray_Size3.igs (see the attachment) one surface is not shaded.
7#############################################################################
8
9igesbrep [locate_data_file TibTray_Size3.igs] a *
10
11tpcompound a
12tclean a
13
14sewing result a
15
352ffd73 16checkshape result
0e94a94e 17
18vinit
19vsetdispmode result 1
20vdisplay result
21vfit
22
23set info [trinfo result]
24regexp { +([-0-9.+eE]+) +triangles} $info full tri
25regexp { +([-0-9.+eE]+) +nodes} $info full nod
26
27if { ($tri != 6409 || $nod != 6195) } {
28 puts "Shading problem may be, nb tri & nod"
29}
30
31set 3dviewer 1
32
33
34