efd535ae |
1 | puts "TODO OCC22886 ALL: Error : Boolean operations common is WRONG" |
2 | |
3 | puts "============" |
4 | puts "OCC22886" |
5 | puts "============" |
6 | puts "" |
7 | ###################################################### |
8 | # Bug in boolean |
9 | ###################################################### |
10 | |
11 | restore [locate_data_file bug22886_solid1.brep] solid1 |
12 | restore [locate_data_file bug22886_solid2.brep] solid2 |
13 | |
14 | bcommon result1 solid1 solid2 |
15 | |
16 | set square 947.358 |
17 | |
18 | set nbshapes_expected " |
19 | Number of shapes in shape |
20 | VERTEX : 78 |
21 | EDGE : 134 |
22 | WIRE : 56 |
23 | FACE : 56 |
24 | SHELL : 1 |
25 | SOLID : 1 |
26 | COMPSOLID : 0 |
27 | COMPOUND : 1 |
28 | SHAPE : 327 |
29 | " |
30 | checknbshapes result1 -ref ${nbshapes_expected} -t -m "Boolean operations common" |
31 | |
32 | common result2 solid1 solid2 |
33 | checknbshapes result2 -ref ${nbshapes_expected} -t -m "Boolean operations common" |
34 | |
35 | checkview -display result1 -2d -path ${imagedir}/${test_image}_1.png |
36 | checkview -display result2 -2d -path ${imagedir}/${test_image}_2.png |