1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00
Files
occt/tests/bugs/vis/bug4894
2012-11-09 15:50:02 +04:00

25 lines
573 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
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 3dviewer 2