mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-08 18:40:55 +03:00
29 lines
695 B
Plaintext
Executable File
29 lines
695 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC6862"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# Tool for checking arguments of Boolean Operations
|
|
#######################################################################
|
|
|
|
set BugNumber OCC6862
|
|
|
|
# test possibility to merge vertices
|
|
box b1 10 20 10
|
|
box b2 20 10 10
|
|
explode b1 e
|
|
explode b2 e
|
|
tcopy b2_10 ee2
|
|
compound b2_10 ee2 comp
|
|
donl b1_10 comp
|
|
|
|
set resstr [bopargcheck b1_10 comp -O /RFTEIP]
|
|
|
|
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
|