mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0030174: ShapeUpgrade_UnifySameDomain does not unify cylindrical faces
Hotfix for issue 27271 (avoiding potential seam edges) is deleted. Correction of test case
This commit is contained in:
@@ -14,7 +14,7 @@ compound feature1 feature2 feature3 feature4 gap
|
||||
removefeatures res1 s feature1
|
||||
checkshape res1
|
||||
checkprops res1 -s 2387.42 -v 1060.96 -deps 1.e-7
|
||||
checknbshapes res1 -vertex 68 -edge 102 -wire 36 -face 36 -shell 1 -solid 1 -t
|
||||
checknbshapes res1 -vertex 66 -edge 99 -wire 35 -face 35 -shell 1 -solid 1 -t
|
||||
CheckIsFeatureRemoved feature1 {v e f}
|
||||
|
||||
removefeatures res3 s feature1 feature2
|
||||
@@ -27,19 +27,19 @@ CheckIsFeatureRemoved feature2 {e f}
|
||||
removefeatures res4 s feature3
|
||||
checkshape res4
|
||||
checkprops res4 -s 2387.67 -v 1060.68 -deps 1.e-7
|
||||
checknbshapes res4 -vertex 70 -edge 105 -wire 37 -face 37 -shell 1 -solid 1 -t
|
||||
checknbshapes res4 -vertex 67 -edge 100 -wire 35 -face 35 -shell 1 -solid 1 -t
|
||||
CheckIsFeatureRemoved feature3 {v e f}
|
||||
|
||||
removefeatures res5 s feature4
|
||||
checkshape res5
|
||||
checkprops res5 -s 2387.67 -v 1060.68 -deps 1.e-7
|
||||
checknbshapes res5 -vertex 70 -edge 105 -wire 37 -face 37 -shell 1 -solid 1 -t
|
||||
checkprops res5 -s 2387.67 -v 1060.67 -deps 1.e-7
|
||||
checknbshapes res5 -vertex 67 -edge 100 -wire 35 -face 35 -shell 1 -solid 1 -t
|
||||
CheckIsFeatureRemoved feature4 {v e f}
|
||||
|
||||
removefeatures res6 s feature3 feature4
|
||||
checkshape res6
|
||||
checkprops res6 -s 2387.89 -v 1060.71 -deps 1.e-7
|
||||
checknbshapes res6 -vertex 68 -edge 102 -wire 36 -face 36 -shell 1 -solid 1 -t
|
||||
checknbshapes res6 -vertex 65 -edge 97 -wire 34 -face 34 -shell 1 -solid 1 -t
|
||||
CheckIsFeatureRemoved feature3 {v e f}
|
||||
CheckIsFeatureRemoved feature4 {v e f}
|
||||
|
||||
|
@@ -12,17 +12,17 @@ compound feature1 feature2 gap
|
||||
removefeatures res1 s feature1
|
||||
checkshape res1
|
||||
checkprops res1 -s 2387.38 -v 1060.67 -deps 1.e-7
|
||||
checknbshapes res1 -vertex 62 -edge 93 -wire 33 -face 33 -shell 1 -solid 1
|
||||
checknbshapes res1 -vertex 60 -edge 89 -wire 31 -face 31 -shell 1 -solid 1
|
||||
CheckIsFeatureRemoved feature1 {v e f}
|
||||
|
||||
removefeatures res2 s feature2
|
||||
checkshape res2
|
||||
checkprops res2 -s 2387.17 -v 1060.75 -deps 1.e-7
|
||||
checknbshapes res2 -vertex 62 -edge 93 -wire 35 -face 34 -shell 1 -solid 1
|
||||
checknbshapes res2 -vertex 60 -edge 89 -wire 33 -face 32 -shell 1 -solid 1
|
||||
CheckIsFeatureRemoved feature2 {v e f}
|
||||
|
||||
removefeatures res3 s gap
|
||||
checkshape res3
|
||||
checkprops res3 -s 2386.99 -v 1060.79 -deps 1.e-7
|
||||
checknbshapes res3 -vertex 54 -edge 81 -wire 29 -face 29 -shell 1 -solid 1
|
||||
checknbshapes res3 -vertex 52 -edge 77 -wire 27 -face 27 -shell 1 -solid 1
|
||||
CheckIsFeatureRemoved gap {v e f}
|
||||
|
@@ -10,5 +10,5 @@ compound s_37 s_26 s_27 s_28 gap
|
||||
removefeatures res s gap
|
||||
checkshape res
|
||||
checkprops res -s 2387.07 -v 1060.76 -deps 1.e-7
|
||||
checknbshapes res -vertex 64 -edge 96 -wire 34 -face 34 -shell 1 -solid 1
|
||||
checknbshapes res -vertex 62 -edge 92 -wire 32 -face 32 -shell 1 -solid 1
|
||||
CheckIsFeatureRemoved gap {v e f}
|
||||
|
@@ -13,18 +13,18 @@ compound feature1 feature2 feature3 gap
|
||||
removefeatures res1 s feature1 feature2
|
||||
checkshape res1
|
||||
checkprops res1 -s 2387.88 -v 1060.71 -deps 1.e-7
|
||||
checknbshapes res1 -vertex 68 -edge 102 -wire 36 -face 36 -shell 1 -solid 1
|
||||
checknbshapes res1 -vertex 65 -edge 97 -wire 34 -face 34 -shell 1 -solid 1
|
||||
CheckIsFeatureRemoved feature1 {v e f}
|
||||
CheckIsFeatureRemoved feature2 {v e f}
|
||||
|
||||
removefeatures res2 s feature3
|
||||
checkshape res2
|
||||
checkprops res2 -s 2391.13 -v 1064.08 -deps 1.e-7
|
||||
checknbshapes res2 -vertex 66 -edge 99 -wire 35 -face 35 -shell 1 -solid 1
|
||||
checknbshapes res2 -vertex 63 -edge 94 -wire 33 -face 33 -shell 1 -solid 1
|
||||
CheckIsFeatureRemoved feature3 {v e f}
|
||||
|
||||
removefeatures res3 s gap
|
||||
checkshape res3
|
||||
checkprops res3 -s 2392.93 -v 1065.38 -deps 1.e-7
|
||||
checknbshapes res3 -vertex 60 -edge 90 -wire 32 -face 32 -shell 1 -solid 1
|
||||
checknbshapes res3 -vertex 57 -edge 85 -wire 30 -face 30 -shell 1 -solid 1
|
||||
CheckIsFeatureRemoved gap {v e f}
|
||||
|
@@ -10,5 +10,5 @@ compound s_11 s_13 s_12 spike
|
||||
removefeatures res s spike
|
||||
checkshape res
|
||||
checkprops res -s 2323.49 -v 1037.57 -deps 1.e-7
|
||||
checknbshapes res -vertex 64 -edge 96 -wire 34 -face 34 -shell 1 -solid 1
|
||||
checknbshapes res -vertex 61 -edge 91 -wire 32 -face 32 -shell 1 -solid 1
|
||||
CheckIsFeatureRemoved spike {v e f}
|
||||
|
@@ -10,7 +10,7 @@ compound s_11 s_13 s_12 spike
|
||||
removefeatures res s spike
|
||||
checkshape res
|
||||
checkprops res -s 2323.49 -v 1037.57 -deps 1.e-7
|
||||
checknbshapes res -vertex 64 -edge 96 -wire 34 -face 34 -shell 1 -solid 1
|
||||
checknbshapes res -vertex 61 -edge 91 -wire 32 -face 32 -shell 1 -solid 1
|
||||
CheckIsFeatureRemoved spike {v e f}
|
||||
|
||||
# get history of the operation
|
||||
@@ -19,7 +19,7 @@ savehistory rf_hist
|
||||
# check modification of the top face
|
||||
modified m5 rf_hist s_5
|
||||
checkprops m5 -s 1089.87
|
||||
checknbshapes m5 -vertex 31 -edge 31 -wire 1 -face 1
|
||||
checknbshapes m5 -vertex 29 -edge 29 -wire 1 -face 1
|
||||
|
||||
# check modification of the side faces where the spike was located
|
||||
modified m10 rf_hist s_10
|
||||
|
@@ -1,5 +1,3 @@
|
||||
puts "TODO OCC29504 ALL: Faulty shapes in variables faulty_1 to"
|
||||
|
||||
pload XDE
|
||||
|
||||
stepread [locate_data_file bug29481_L3.step] s *
|
||||
@@ -12,6 +10,6 @@ compound s_2 s_25 s_1 s_4 feature
|
||||
|
||||
removefeatures result s feature
|
||||
checkshape result
|
||||
checkprops result -s 2386.95 -v 1064.36 -deps 1.e-7
|
||||
checknbshapes result -vertex 62 -edge 93 -wire 35 -face 34 -shell 1 -solid 1
|
||||
checkprops result -s 2392.41 -v 1063.75 -deps 1.e-7
|
||||
checknbshapes result -vertex 61 -edge 91 -wire 34 -face 33 -shell 1 -solid 1
|
||||
CheckIsFeatureRemoved feature {e f}
|
||||
|
@@ -5,7 +5,7 @@ explode s f
|
||||
removefeatures result s s_13
|
||||
checkshape result
|
||||
checkprops result -s 463.068 -v 194.214 -deps 1.e-7
|
||||
checknbshapes result -vertex 32 -edge 53 -wire 24 -face 21 -shell 1 -solid 1
|
||||
checknbshapes result -vertex 31 -edge 50 -wire 23 -face 20 -shell 1 -solid 1
|
||||
CheckIsFeatureRemoved s_13 {v e f}
|
||||
|
||||
# get history of the operation
|
||||
|
@@ -5,7 +5,7 @@ explode s f
|
||||
removefeatures result s s_14
|
||||
checkshape result
|
||||
checkprops result -s 462.33 -v 194.594 -deps 1.e-7
|
||||
checknbshapes result -vertex 34 -edge 54 -wire 24 -face 21 -shell 1 -solid 1 -t
|
||||
checknbshapes result -vertex 33 -edge 51 -wire 23 -face 20 -shell 1 -solid 1 -t
|
||||
CheckIsFeatureRemoved s_14 {e f}
|
||||
|
||||
# get history of the operation
|
||||
@@ -14,7 +14,7 @@ savehistory rf_hist
|
||||
# check modification of the top face
|
||||
modified m1 rf_hist s_1
|
||||
checkprops m1 -s 171.478
|
||||
checknbshapes m1 -vertex 14 -edge 14 -wire 3 -face 1
|
||||
checknbshapes m1 -vertex 13 -edge 13 -wire 3 -face 1
|
||||
|
||||
generated g1 rf_hist s_1
|
||||
checknbshapes g1 -vertex 1 -edge 1
|
||||
|
@@ -5,7 +5,7 @@ explode s f
|
||||
removefeatures result s s_15
|
||||
checkshape result
|
||||
checkprops result -s 462.273 -v 193.127 -deps 1.e-7
|
||||
checknbshapes result -vertex 34 -edge 54 -wire 24 -face 21 -shell 1 -solid 1 -t
|
||||
checknbshapes result -vertex 33 -edge 51 -wire 23 -face 20 -shell 1 -solid 1 -t
|
||||
CheckIsFeatureRemoved s_15 {e f}
|
||||
|
||||
# get history of the operation
|
||||
@@ -14,7 +14,7 @@ savehistory rf_hist
|
||||
# check modification of the top face
|
||||
modified m1 rf_hist s_1
|
||||
checkprops m1 -s 172.452
|
||||
checknbshapes m1 -vertex 14 -edge 14 -wire 3 -face 1
|
||||
checknbshapes m1 -vertex 13 -edge 13 -wire 3 -face 1
|
||||
|
||||
generated g1 rf_hist s_1
|
||||
checknbshapes g1 -vertex 1 -edge 1
|
||||
|
@@ -4,7 +4,7 @@ explode s f
|
||||
removefeatures result s s_4
|
||||
checkshape result
|
||||
checkprops result -s 462.815 -v 195.248 -deps 1.e-7
|
||||
checknbshapes result -vertex 31 -edge 50 -wire 23 -face 20 -shell 1 -solid 1
|
||||
checknbshapes result -vertex 30 -edge 47 -wire 22 -face 19 -shell 1 -solid 1
|
||||
CheckIsFeatureRemoved s_4 {v e f}
|
||||
|
||||
# get history of the operation
|
||||
@@ -13,7 +13,7 @@ savehistory rf_hist
|
||||
# check modification of the top face
|
||||
modified m1 rf_hist s_1
|
||||
checkprops m1 -s 169.122
|
||||
checknbshapes m1 -vertex 12 -edge 12 -wire 3 -face 1
|
||||
checknbshapes m1 -vertex 11 -edge 11 -wire 3 -face 1
|
||||
|
||||
# check modification of the side faces
|
||||
modified m3 rf_hist s_3
|
||||
|
@@ -5,7 +5,7 @@ explode s f
|
||||
removefeatures result s s_6 s_18
|
||||
checkshape result
|
||||
checkprops result -s 461.315 -v 196.178 -deps 1.e-7
|
||||
checknbshapes result -vertex 30 -edge 50 -wire 23 -face 20 -shell 1 -solid 1
|
||||
checknbshapes result -vertex 29 -edge 47 -wire 22 -face 19 -shell 1 -solid 1
|
||||
CheckIsFeatureRemoved s_6 {v e f}
|
||||
CheckIsFeatureRemoved s_18 {v e f}
|
||||
|
||||
@@ -15,7 +15,7 @@ savehistory rf_hist
|
||||
# check modification of the top face
|
||||
modified m1 rf_hist s_1
|
||||
checkprops m1 -s 172.551
|
||||
checknbshapes m1 -vertex 14 -edge 14 -wire 3 -face 1
|
||||
checknbshapes m1 -vertex 13 -edge 13 -wire 3 -face 1
|
||||
|
||||
# check modification of the side face
|
||||
modified m19 rf_hist s_19
|
||||
|
@@ -6,7 +6,7 @@ explode s f
|
||||
removefeatures result s s_14 s_20
|
||||
checkshape result
|
||||
checkprops result -s 462.33 -v 197.735 -deps 1.e-7
|
||||
checknbshapes result -vertex 32 -edge 51 -wire 21 -face 20 -shell 1 -solid 1
|
||||
checknbshapes result -vertex 31 -edge 48 -wire 20 -face 19 -shell 1 -solid 1
|
||||
CheckIsFeatureRemoved s_14 {v e f}
|
||||
CheckIsFeatureRemoved s_20 {v e f}
|
||||
|
||||
@@ -16,7 +16,7 @@ savehistory rf_hist
|
||||
# check modification of the top and bottom faces
|
||||
modified m1 rf_hist s_1
|
||||
checkprops m1 -s 174.62
|
||||
checknbshapes m1 -vertex 13 -edge 13 -wire 2 -face 1
|
||||
checknbshapes m1 -vertex 12 -edge 12 -wire 2 -face 1
|
||||
|
||||
modified m16 rf_hist s_16
|
||||
checkprops m16 -s 194.429
|
||||
|
@@ -6,7 +6,7 @@ explode s f
|
||||
removefeatures result s s_15 s_21 s_22
|
||||
checkshape result
|
||||
checkprops result -s 449.707 -v 186.844 -deps 1.e-7
|
||||
checknbshapes result -vertex 31 -edge 51 -wire 21 -face 19 -shell 1 -solid 1
|
||||
checknbshapes result -vertex 30 -edge 48 -wire 20 -face 18 -shell 1 -solid 1
|
||||
CheckIsFeatureRemoved s_15 {v e f}
|
||||
CheckIsFeatureRemoved s_21 {v e f}
|
||||
CheckIsFeatureRemoved s_22 {v e f}
|
||||
@@ -17,7 +17,7 @@ savehistory rf_hist
|
||||
# check modification of the top face
|
||||
modified m1 rf_hist s_1
|
||||
checkprops m1 -s 175.593
|
||||
checknbshapes m1 -vertex 13 -edge 13 -wire 2 -face 1
|
||||
checknbshapes m1 -vertex 12 -edge 12 -wire 2 -face 1
|
||||
|
||||
# check that no new intersections have been created
|
||||
if {![regexp "No shapes were generated" [generated g1 rf_hist s_1]]} {
|
||||
|
@@ -10,7 +10,7 @@ compound s_115 s_112 s_116 s_114 s_111 s_113 blend
|
||||
removefeatures result s fillet blend
|
||||
checkshape result
|
||||
checkprops result -s 809750 -v 1.46451e+007 -deps 1.e-7
|
||||
checknbshapes result -vertex 258 -edge 394 -wire 164 -face 139 -shell 1 -solid 1 -t
|
||||
checknbshapes result -vertex 250 -edge 378 -wire 156 -face 131 -shell 1 -solid 1 -t
|
||||
CheckIsFeatureRemoved fillet {e f}
|
||||
CheckIsFeatureRemoved blend {e f}
|
||||
|
||||
|
@@ -9,7 +9,7 @@ compound s_34 s_12 s_32 s_40 s_37 s_16 s_18 s_17 s_39 s_41 s_31 s_14 s_35 s_13 s
|
||||
removefeatures result s gaps
|
||||
checkshape result
|
||||
checkprops result -s 813251 -v 1.49885e+007 -deps 1.e-7
|
||||
checknbshapes result -vertex 230 -edge 358 -wire 156 -face 131 -shell 1 -solid 1 -t
|
||||
checknbshapes result -vertex 216 -edge 334 -wire 146 -face 121 -shell 1 -solid 1 -t
|
||||
CheckIsFeatureRemoved gaps {v e f}
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
||||
|
@@ -9,7 +9,7 @@ compound s_86 s_83 s_81 s_82 s_84 s_85 s_80 s_78 s_79 s_88 s_77 s_87 holes
|
||||
removefeatures result s holes
|
||||
checkshape result
|
||||
checkprops result -s 798285 -v 1.51114e+007 -deps 1.e-7
|
||||
checknbshapes result -vertex 246 -edge 382 -wire 160 -face 139 -shell 1 -solid 1 -t
|
||||
checknbshapes result -vertex 234 -edge 362 -wire 152 -face 131 -shell 1 -solid 1 -t
|
||||
CheckIsFeatureRemoved holes {v e f}
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
||||
|
@@ -9,7 +9,7 @@ compound s_10 s_66 s_43 s_65 s_63 s_64 s_69 s_29 s_68 s_70 s_20 s_67 fillets
|
||||
removefeatures result s fillets
|
||||
checkshape result
|
||||
checkprops result -s 811691 -v 1.46014e+007 -deps 1.e-7
|
||||
checknbshapes result -vertex 246 -edge 382 -wire 164 -face 139 -shell 1 -solid 1 -t
|
||||
checknbshapes result -vertex 234 -edge 362 -wire 156 -face 131 -shell 1 -solid 1 -t
|
||||
CheckIsFeatureRemoved fillets {v e f}
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
||||
|
Reference in New Issue
Block a user