blob: 7571941b42b5e2fcd2a4e8fc4930092e8acc9a4f [file] [edit]
puts "============"
puts "OCC6862"
puts "============"
puts ""
#######################################################################
# Tool for checking arguments of Boolean Operations
#######################################################################
set BugNumber OCC6862
# self-intersection test
restore [locate_data_file OCC497e.brep] a_1
restore [locate_data_file OCC497f.brep] a_2
set resstr [bopargcheck a_2]
if {$resstr=="Faulties, that can not be treated by BOP, are detected.\n"} {
puts "OK ${BugNumber}"
} else {
puts "Faulty ${BugNumber}"
}
checkview -display result -2d -path ${imagedir}/${test_image}.png