Files
OCCT/tests/bugs/moddata_2/bug258_2
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

27 lines
536 B
Plaintext
Executable File

puts "========================"
puts " OCC258 "
puts "(case 2)"
puts "========================"
restore [locate_data_file shading_144.brep] result
checkshape result
tclean result
isos result 0
vinit
vdisplay result
vsetdispmode result 1
vfit
triangles result
set info [trinfo result]
regexp { +([-0-9.+eE]+) +triangles} $info full tri
regexp { +([-0-9.+eE]+) +nodes} $info full nod
if { $tri < 70 || $nod < 72 } {
puts "Error (case 2) : here is shading problem"
}
checkview -screenshot -3d -path ${imagedir}/${test_image}.png