| 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 | |