1 restore [locate_data_file bug29481_ex1.brep] s
4 # remove all features from the shape
6 # remove the step first
9 removefeatures res s step
11 compound s_4 s_15 s_21 s_22 s_7 s_11 s_8 s_9 s_10 s_14 s_20 s_13 features
13 # get history of the operation
16 # check modification of the features
18 foreach f [explode features f] {
19 if { [regexp "The shape has not been modified" [modified m rf_hist $f]]} {
26 removefeatures result res mf
28 checkprops result -s 460 -v 200
29 checknbshapes result -vertex 8 -edge 12 -wire 6 -face 6 -shell 1 -solid 1
30 CheckIsFeatureRemoved mf {v e f}
32 checkview -display result -2d -path ${imagedir}/${test_image}.png