0029604: Uniform mechanism providing History of shape's modifications for OCCT algori...
[occt.git] / tests / boolean / removefeatures / B1
1 restore [locate_data_file bug29481_ex1.brep] s
2 explode s f
3
4 # fillet removal
5 removefeatures result s s_13
6 checkshape result
7 checkprops result -s 463.068 -v 194.214 -deps 1.e-7
8 checknbshapes result -vertex 32 -edge 53 -wire 24 -face 21 -shell 1 -solid 1
9 CheckIsFeatureRemoved s_13 {v e f}
10
11 # get history of the operation
12 savehistory rf_hist
13
14 # check modification of the side faces
15 modified m2 rf_hist s_2
16 checkprops m2 -s 20
17 checknbshapes m2 -vertex 4 -edge 4 -wire 1 -face 1
18
19 modified m12 rf_hist s_12
20 checkprops m12 -s 8
21 checknbshapes m12 -vertex 4 -edge 4 -wire 1 -face 1
22
23 modified m17 rf_hist s_17
24 checkprops m17 -s 10
25 checknbshapes m17 -vertex 4 -edge 4 -wire 1 -face 1
26
27 generated g17 rf_hist s_17
28 checkprops g17 -l 12
29
30 explode s_17 e
31 modified m17_1 rf_hist s_17_1
32 checkprops m17_1 -l 1
33 modified m17_3 rf_hist s_17_3
34 checkprops m17_3 -l 1
35
36 # check modification of the top face
37 modified m1 rf_hist s_1
38 checkprops m1 -s 172.551
39
40 checkview -display result -2d -path ${imagedir}/${test_image}.png