d9ca2e0c |
1 | restore [locate_data_file bug29481_ex3.brep] s |
2 | explode s f |
3 | |
4 | # remove the gap in both solids |
5 | compound s_7 s_8 s_9 s_11 s_12 s_17 gap |
6 | removefeatures result s gap |
7 | checkshape result |
8 | checkprops result -s 1200 -v 2000 |
9 | checknbshapes result -vertex 12 -edge 20 -wire 11 -face 11 -shell 2 -solid 2 |
10 | CheckIsFeatureRemoved gap {v e f} |
11 | |
4f7d41ea |
12 | # get history of the operation |
13 | savehistory rf_hist |
14 | |
d9ca2e0c |
15 | # check that the common face is still shared |
16 | if {![regexp "OK" [bopcheck result]]} { |
17 | puts "Error: sharing is lost after removal" |
18 | } |
19 | |
20 | # check modification of the common face |
4f7d41ea |
21 | modified m6 rf_hist s_6 |
d9ca2e0c |
22 | checkprops m6 -s 100 |
23 | checknbshapes m6 -vertex 4 -edge 4 -wire 1 -face 1 |
24 | |