Adding test cases from grid chl
[occt.git] / tests / bugs / modalg / bug264_8
CommitLineData
a87752f3 1puts "TODO OCC12345 ALL: Faulty OCC264_8: here is shading problem"
2puts "TODO OCC12345 ALL: Error : The square of result shape is"
3
4puts "========"
5puts "OCC264"
6puts " (case 8)"
7puts "========"
8
9restore [locate_data_file OCC264_08.brep] result
10puts [checkshape result]
11
12tclean result
13vinit
14vdisplay result
15vclear
16
17isos result 0
18triangles result
19
20#smallview
21#fit
22
23set tri_info [trinfo result]
24regexp { +([-0-9.+eE]+) +triangles} $tri_info full tri
25regexp { +([-0-9.+eE]+) +nodes} $tri_info full nod
26
27if { $tri != 19 && $nod != 21 } {
28 puts "Faulty OCC264_8: here is shading problem"
29} else {
30 puts "Shading of OCC264_8 is OK"
31}
32
33set square 0
34set 3dviewer 0