Adjusting testing case for testing on Debian60 64bit
[occt.git] / tests / bugs / moddata_1 / bug1416
CommitLineData
61c421bf 1puts "============"
2puts "OCC1416"
3puts "============"
4puts ""
5######################################################
6# Shading mode doesn't work on a face of the model
7######################################################
8
9restore [locate_data_file OCC1416.brep] result
10
11# Clean mesh
12isos result 0
13tclean result
14
15#Creating mesh
16incmesh result 0.01
17
18#View the result of mesh
19triangles result
20
21##############################################
22if { [catch { set tri_info [trinfo result] } catch_result] } {
23##############################################
24 puts "Faulty OCC1416"
25} else {
26 set ll [ llength ${tri_info} ]
27 if {${ll} < 6} {
28 puts "Faulty OCC1416"
29 } else {
30 regexp { +([-0-9.+eE]+) +triangles} $tri_info full tri
31 regexp { +([-0-9.+eE]+) +nodes} $tri_info full nod
32 if { $tri == 0 || $nod == 0 } {
33 puts "Faulty OCC1416"
34 } else {
35 puts "Warning: OCC1416 looks like OK, but visual checking is required !!!!"
36 }
37 }
38}
39
40set square 863.938
41set 3dviewer 1