d9ca2e0c |
1 | pload XDE |
2 | |
3 | stepread [locate_data_file bug29481_L3.step] s * |
4 | |
5 | copy s_1 s |
6 | explode s f |
7 | |
8 | compound s_11 s_13 s_12 spike |
9 | |
10 | removefeatures res s spike |
11 | checkshape res |
12 | checkprops res -s 2323.49 -v 1037.57 -deps 1.e-7 |
9619ef4c |
13 | checknbshapes res -vertex 61 -edge 91 -wire 32 -face 32 -shell 1 -solid 1 |
d9ca2e0c |
14 | CheckIsFeatureRemoved spike {v e f} |
15 | |
4f7d41ea |
16 | # get history of the operation |
17 | savehistory rf_hist |
18 | |
d9ca2e0c |
19 | # check modification of the top face |
4f7d41ea |
20 | modified m5 rf_hist s_5 |
d9ca2e0c |
21 | checkprops m5 -s 1089.87 |
9619ef4c |
22 | checknbshapes m5 -vertex 29 -edge 29 -wire 1 -face 1 |
d9ca2e0c |
23 | |
24 | # check modification of the side faces where the spike was located |
4f7d41ea |
25 | modified m10 rf_hist s_10 |
26 | modified m14 rf_hist s_14 |
d9ca2e0c |
27 | |
28 | if {![regexp "same shapes" [compare m10 m14]]} { |
29 | puts "Error: incorrect spike removal" |
30 | } |