1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/xde/bug904

27 lines
649 B
Plaintext
Executable File

puts "============"
puts "OCC904"
puts "============"
puts ""
#####################################################
## Invalid result shell after command fixshell in DRAW with non-manifold mode
#####################################################
pload QAcommands
restore [locate_data_file OCC904.brep] a
if [ catch { set res [OCC904 result a 1] } ] {
puts "Faulty OCC904 (case 1)"
} else {
set info [checkshape result]
set index [lsearch $result Faulty]
if { [regexp "Faulty" $info] == 1 } {
puts "Faulty OCC904 (case 2)"
} else {
puts "OCC904 OK"
}
}
checkview -display result -2d -path ${imagedir}/${test_image}.png