1 restore [locate_data_file bug29481_ex2.brep] s
5 compound s_7 s_8 s_9 s_10 gap
6 removefeatures res1 s gap
8 checkprops res1 -s 624 -v 992
9 checknbshapes res1 -vertex 16 -edge 24 -wire 12 -face 12 -shell 2 -solid 1
10 CheckIsFeatureRemoved gap {v e f}
15 removefeatures res2 s s_2
17 checkprops res2 -s 608 -v 992
18 checknbshapes res2 -vertex 16 -edge 24 -wire 10 -face 10 -shell 1 -solid 1
19 CheckIsFeatureRemoved s_2 {v e f}
22 # remove both gap and hole
23 removefeatures result s gap s_2
25 checkprops result -s 600 -v 1000
26 checknbshapes result -vertex 8 -edge 12 -wire 6 -face 6 -shell 1 -solid 1
27 CheckIsFeatureRemoved gap {v e f}
28 CheckIsFeatureRemoved s_2 {v e f}