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