puts "============"
puts "OCC6862"
puts "============"
puts ""
#######################################################################
# Tool for checking arguments of Boolean Operations
#######################################################################

set BugNumber OCC6862

# test possibility to merge edges
box b1 10 20 10
box b2 20 10 10
explode b1 e
explode b2 e
tcopy b2_10 ee2
wire ww b2_10 ee2
donl b1_10 ww

decho off
set resstr [bopargcheck b1_10 ww -O /RFTVIP]
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
