3bea4c16 |
1 | puts "============" |
2 | puts "OCC20297" |
3bea4c16 |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Boolean operations (for ex. fuse) fail for given shapes |
7 | ####################################################################### |
8 | ####################################################################### |
9 | |
10 | set BugNumber OCC20297 |
11 | |
12 | puts "Load first shape ..." |
13 | restore [locate_data_file OCC20297_1.brep] a1 |
14 | explode a1 |
15 | renamevar a1_1 b1 |
16 | puts "Load second shape ..." |
17 | restore [locate_data_file OCC20297_2.brep] b2 |
18 | |
19 | puts "Prepare boolean operation ..." |
20 | bop b1 b2 |
21 | |
22 | puts "Start boolean operation ..." |
23 | boptuc result |
24 | puts "Finish boolean operation ..." |
25 | |
58cf74e0 |
26 | checkprops result -s 8402.56 |
27 | checkshape result |
3bea4c16 |
28 | |
a4eba920 |
29 | checknbshapes result -vertex 128 -edge 192 -wire 68 -face 68 -shell 2 -solid 2 -compsolid 0 -compound 1 -shape 461 |
3bea4c16 |
30 | |
5747059b |
31 | checkview -display result -2d -path ${imagedir}/${test_image}.png |