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

36 lines
664 B
Plaintext
Executable File

puts "TODO OCC12345 ALL: Faulty OCC264_2: here is shading problem"
puts "TODO OCC12345 ALL: Error : The square of result shape is"
puts "========"
puts "OCC264"
puts " (case 2)"
puts "========"
restore [locate_data_file OCC264_02.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 != 10 && $nod != 12 } {
puts "Faulty OCC264_2: here is shading problem"
} else {
puts "Shading of OCC264_2 is OK"
}
set square 0
set 3dviewer 0