1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-01 10:26:12 +03:00
occt/tests/bugs/modalg/bug264_5
2012-12-07 16:29:17 +04:00

36 lines
665 B
Plaintext
Executable File

puts "TODO OCC12345 ALL: Faulty OCC264_5: here is shading problem"
puts "TODO OCC12345 ALL: Error : The square of result shape is"
puts "========"
puts "OCC264"
puts " (case 5)"
puts "========"
restore [locate_data_file OCC264_05.brep] result
puts [checkshape result]
tclean result
vinit
vdisplay result
vclear
isos result 0
triangles result
#smallview
#fit
set tri_info [trinfo result]
regexp { +([-0-9.+eE]+) +triangles} $tri_info full tri
regexp { +([-0-9.+eE]+) +nodes} $tri_info full nod
if { $tri != 85 && $nod != 87 } {
puts "Faulty OCC264_5: here is shading problem"
} else {
puts "Shading of OCC264_5 is OK"
}
set square 0
set 3dviewer 0