1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-07 18:30:55 +03:00
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
358 B
Plaintext
Executable File

puts "================"
puts "OCC252"
puts "================"
puts ""
pload QAcommands
restore [locate_data_file OCC252.brep] a
checkshape a
explode a w
OCC252 result a_466 a 0
regexp {Mass +: +([-0-9.+eE]+)} [lprops result] full len
if { ${len} <= 0 } {
puts "Error : OCC252"
}
checkview -display result -2d -path ${imagedir}/${test_image}.png