77dbd1f1 |
1 | puts "============" |
2 | puts "OCC26576" |
3 | puts "============" |
4 | puts "" |
5 | ############################### |
6 | ## Wrong result obtained by intersection algorithm. |
7 | ############################### |
8 | |
9 | pload DCAF |
10 | |
11 | Open [locate_data_file bug26576_study1_new_geom.cbf] D |
12 | |
13 | GetShape D 0:1:484:1:1:2 b1 |
14 | GetShape D 0:1:478:1:1:2 b2 |
15 | |
16 | #General fuse |
17 | |
18 | bclearobjects |
19 | bcleartools |
20 | baddobjects b1 |
21 | baddtools b2 |
22 | bfillds |
23 | |
24 | bbuild result |
25 | |
26 | smallview |
27 | donly result |
28 | fit |
29 | |
30 | checkshape result |
31 | |
32 | set nbshapes_expected " |
33 | Number of shapes in shape |
34 | VERTEX : 4 |
35 | EDGE : 12 |
36 | WIRE : 10 |
37 | FACE : 8 |
38 | SHELL : 4 |
39 | SOLID : 4 |
40 | COMPSOLID : 0 |
41 | COMPOUND : 1 |
42 | SHAPE : 43 |
43 | " |
44 | |
45 | checknbshapes result -ref ${nbshapes_expected} -t -m "General fuse" |
46 | |
5747059b |
47 | checkview -screenshot -2d -path ${imagedir}/${test_image}.png |