1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/vis/bug4894
2012-12-05 17:17:05 +04:00

26 lines
581 B
Plaintext
Executable File

puts "============"
puts "OCC4894"
puts "============"
puts ""
#######################################################################
# Problems with sharding in vdisplay
#######################################################################
restore [locate_data_file bug4894_face_cyl] result
vinit
vdisplay result
tclean result
trinfo result
vsetdispmode 1
vfit
set info [trinfo result]
regexp { +([-0-9.+eE]+) +triangles} $info full tr
regexp { +([-0-9.+eE]+) +nodes} $info full nd
if { $tr <= 0 || $nd <= 0 } {
puts "Error : Problems with shading"
}
set only_screen 1