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

24 lines
446 B
Plaintext
Executable File

puts "========"
puts "OCC256"
puts "========"
restore [locate_data_file OCC256.brep] result
checkshape result
tclean result
vinit
vdisplay result
vsetdispmode result 1
vfit
set info [trinfo result]
regexp { +([-0-9.+eE]+) +triangles} $info full tri
regexp { +([-0-9.+eE]+) +nodes} $info full nod
if { $tri != 66 && $nod != 66 } {
puts "Error : here is shading problem"
}
checkview -display result -3d -path ${imagedir}/${test_image}.png