61c421bf |
1 | puts "============" |
2 | puts "OCC12257" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Fuse operation fails |
7 | ####################################################################### |
8 | |
9 | set BugNumber OCC12257 |
10 | |
11 | puts "Load shape ..." |
12 | restore [locate_data_file OCC12257.brep] b1 |
13 | |
14 | explode b1 |
15 | |
16 | puts "Prepare boolean operation ..." |
17 | bop b1_1 b1_2 |
18 | |
19 | puts "Start boolean operation ..." |
20 | bopfuse result |
21 | puts "Finish boolean operation ..." |
22 | |
58cf74e0 |
23 | checkprops result -s 3394.17 |
24 | checkshape result |
61c421bf |
25 | |
26 | # Analysis of "nbshapes res" |
a4eba920 |
27 | checknbshapes result -vertex 72 -edge 109 -wire 39 -face 39 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 262 |
5747059b |
28 | checkview -display result -2d -path ${imagedir}/${test_image}.png |
61c421bf |
29 | |