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