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