1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/modalg_1/buc60663_1
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

28 lines
665 B
Plaintext
Executable File

puts "====================================="
puts "BUC60663"
puts "====================================="
puts ""
puts "It takes visual check for this BUG. See V2 point"
puts "====================================="
puts ""
restore [locate_data_file buc60663a.brep] a
checkshape a
restore [locate_data_file buc60663b.brep] b
checkshape b
bsection result a b
regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection result] full num
if { $num != 2 } {
puts " Faulty : Result shape is INcorrect !!! "
}
#fsameparameter res
checkprops result -l 26.2001
checkshape result
checksection result
checkview -display result -2d -path ${imagedir}/${test_image}.png