3bea4c16 |
1 | puts "============" |
2 | puts "OCC14780" |
3 | puts "============" |
4 | puts "" |
5 | ###################################################### |
6 | # Boolean operations (section, fuse, common, cut) give incorrect result |
7 | ###################################################### |
8 | |
9 | set BugNumber OCC14780 |
10 | |
11 | restore [locate_data_file OCC14780_part1.brep] s1 |
12 | restore [locate_data_file OCC14780_part2.brep] s2 |
13 | |
14 | bop s1 s2 |
15 | bopsection result |
16 | |
17 | regexp {nb alone Vertices +: +([-0-9.+eE]+)} [checksection result] full Vertices |
18 | |
19 | set good_Vertices 0 |
20 | if { ${Vertices} != ${good_Vertices} } { |
21 | puts "Faulty ${BugNumber}" |
22 | } else { |
23 | puts "OK ${BugNumber}" |
24 | } |
25 | |
58cf74e0 |
26 | checkprops result -l 171.289 |
27 | checkshape result |
28 | checksection result |
5747059b |
29 | checkview -display result -2d -path ${imagedir}/${test_image}.png |
3bea4c16 |
30 | |
31 | |