0030174: ShapeUpgrade_UnifySameDomain does not unify cylindrical faces
[occt.git] / tests / boolean / removefeatures / B9
CommitLineData
d9ca2e0c 1restore [locate_data_file bug29481_ex1.brep] s
2explode s f
3
4# removal of the cylindrical spike on the shape
5
6removefeatures result s s_15 s_21 s_22
7checkshape result
8checkprops result -s 449.707 -v 186.844 -deps 1.e-7
9619ef4c 9checknbshapes result -vertex 30 -edge 48 -wire 20 -face 18 -shell 1 -solid 1
d9ca2e0c 10CheckIsFeatureRemoved s_15 {v e f}
11CheckIsFeatureRemoved s_21 {v e f}
12CheckIsFeatureRemoved s_22 {v e f}
13
4f7d41ea 14# get history of the operation
15savehistory rf_hist
16
d9ca2e0c 17# check modification of the top face
4f7d41ea 18modified m1 rf_hist s_1
d9ca2e0c 19checkprops m1 -s 175.593
9619ef4c 20checknbshapes m1 -vertex 12 -edge 12 -wire 2 -face 1
d9ca2e0c 21
22# check that no new intersections have been created
4f7d41ea 23if {![regexp "No shapes were generated" [generated g1 rf_hist s_1]]} {
d9ca2e0c 24 puts "Error: incorrect feature removal"
25}
26
27checkview -display result -2d -path ${imagedir}/${test_image}.png