51db0179 |
1 | puts "========" |
2 | puts "OCC28165" |
3 | puts "========" |
4 | puts "" |
5 | ################################################# |
6 | # Improve performance of Boolean Operations |
7 | ################################################# |
8 | |
9 | restore [locate_data_file bug28165_shapes3.brep] c |
10 | |
11 | # fuse the shapes |
12 | bclearobjects |
13 | bcleartools |
14 | baddobjects {*}[explode c so] |
15 | bfillds |
16 | |
17 | # remove all internal faces to make only one solid |
18 | bcbuild rx |
19 | bcaddall result -m 1 -u |
20 | |
21 | checkshape result |
22 | checknbshapes result -edge 1400 -face 506 -solid 1 |
23 | checkprops result -v 4.69342e+007 -s 1.38778e+006 |
24 | |
25 | checkview -display result -2d -path ${imagedir}/${test_image}.png |