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 | |
23 | set square 39.1778 |
24 | |
25 | set nbshapes_expected " |
26 | Number of shapes in shape |
27 | VERTEX : 5 |
28 | EDGE : 7 |
29 | WIRE : 3 |
30 | FACE : 3 |
9526aa6a |
31 | SHELL : 0 |
876ca54f |
32 | SOLID : 0 |
33 | COMPSOLID : 0 |
34 | COMPOUND : 1 |
9526aa6a |
35 | SHAPE : 19 |
876ca54f |
36 | " |
37 | checknbshapes result -ref ${nbshapes_expected} -t -m "result obtained by Common operator" |
38 | |
39 | set 3dviewer 1 |