afa6834b |
1 | puts "============" |
2 | puts "OCC23585" |
3 | puts "============" |
4 | puts "" |
5 | ###################################################### |
6 | # Boolean Fuse Operation Fails |
7 | ###################################################### |
8 | |
9 | restore [locate_data_file bug23585a.brep] p |
10 | restore [locate_data_file bug23585b.brep] v |
11 | |
12 | checkshape p |
13 | tolerance p |
14 | |
15 | checkshape v |
16 | tolerance v |
17 | |
18 | bop p v |
19 | bopfuse result |
20 | |
21 | checkprops result -s 14796.8 |
22 | |
23 | checkshape result |
24 | |
25 | set nbshapes_expected " |
26 | Number of shapes in result |
27 | VERTEX : 18 |
28 | EDGE : 30 |
29 | WIRE : 14 |
30 | FACE : 14 |
31 | SHELL : 1 |
32 | SOLID : 1 |
33 | COMPSOLID : 0 |
34 | COMPOUND : 1 |
35 | SHAPE : 79 |
36 | " |
37 | checknbshapes result -ref ${nbshapes_expected} -t -m "Result obtained by Boolean cut operation" |
38 | |
39 | checkview -display result -2d -path ${imagedir}/${test_image}.png |