b6ec1ef9 |
1 | puts "============" |
2 | puts "OCC26224" |
3 | puts "============" |
4 | puts "" |
5 | ############################### |
6 | ## Wrong result obtained by Common operator. |
7 | ############################### |
8 | |
9 | restore [locate_data_file bug26224_b1.brep] b1 |
10 | restore [locate_data_file bug26224_b2.brep] b2 |
11 | |
12 | bclearobjects |
13 | bcleartools |
14 | baddobjects b1 |
15 | baddtools b2 |
16 | |
17 | bfillds |
18 | bbop result 0 |
19 | |
58cf74e0 |
20 | checkprops result -s 35006.6 |
21 | checkshape result |
b6ec1ef9 |
22 | |
23 | set nbshapes_expected " |
24 | Number of shapes in shape |
25 | VERTEX : 9 |
26 | EDGE : 9 |
27 | WIRE : 1 |
28 | FACE : 1 |
9526aa6a |
29 | SHELL : 0 |
b6ec1ef9 |
30 | SOLID : 0 |
31 | COMPSOLID : 0 |
32 | COMPOUND : 1 |
9526aa6a |
33 | SHAPE : 21 |
b6ec1ef9 |
34 | |
35 | " |
36 | checknbshapes result -ref ${nbshapes_expected} -t -m "result obtained by Common operator" |
5747059b |
37 | checkview -display result -3d -path ${imagedir}/${test_image}.png |