1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-08 18:40:55 +03:00
occt/tests/bugs/modalg_4/pro19626
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
532 B
Plaintext
Executable File

puts "============"
puts "PRO19626"
puts "============"
restore [locate_data_file pro19626a.brep] a
checkshape a
restore [locate_data_file pro19626b.brep] b
checkshape b
bsection result a b
regexp { nb alone Vertices : +([-0-9.+eE]+)} [checksection result] full num
if { $num != 2 } {
puts " Faulty PRO19626: Result shape is INcorrect !!! "
} else {
puts "PRO19626 OK : Result shape is CORRECT !!! "
}
checkprops result -l 174.597
checkshape result
checkview -display result -2d -path ${imagedir}/${test_image}.png