Files
OCCT/tests/bugs/moddata/bug6862_1

27 lines
610 B
Plaintext

puts "============"
puts "OCC6862"
puts "============"
puts ""
#######################################################################
# Tool for checking arguments of Boolean Operations
#######################################################################
set BugNumber OCC6862
# self-intersection test
restore [locate_data_file OCC497a.brep] a_1
restore [locate_data_file OCC497b.brep] a_2
decho off
set resstr [bopargcheck a_2]
decho on
if {$resstr=="Faulties, that can not be treated by BOP, are detected.\n"} {
puts "OK ${BugNumber}"
} else {
puts "Faulty ${BugNumber}"
}
set 2dviewer 0