mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0032333: Modeling Algorithms - Empty(wrong) result of offset operation in mode "Complete" join type "Intersection"
Add more faces for intersection in rebuilding process basing on the connection of the splits of offset faces (special treatment for the artificially invalid faces). When rebuilding faces add vertices common for faces for trimming the new intersection edges. Adjust existing and create new test cases.
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
restore [locate_data_file bug25926_before_offset.brep] s
|
||||
|
||||
OFFSETSHAPE 50 {} $calcul $type
|
||||
explode s so
|
||||
offsetparameter 1e-7 c i r
|
||||
offsetload s_1 50
|
||||
offsetperform result
|
||||
|
||||
checkprops result -v 3.68672e+008
|
||||
checkprops result -s 4.96128e+06 -v 3.68655e+08
|
||||
|
||||
checknbshapes result -shell 1
|
||||
unifysamedom result_unif result
|
||||
checknbshapes result_unif -wire 12 -face 12 -shell 1 -solid 1
|
||||
|
@@ -1,8 +1,10 @@
|
||||
restore [locate_data_file bug25926_before_offset_trim1.brep] s
|
||||
|
||||
OFFSETSHAPE 50 {} $calcul $type
|
||||
offsetparameter 1e-7 c i r
|
||||
offsetload s 50
|
||||
offsetperform result
|
||||
|
||||
checkprops result -v 3.61993e+007
|
||||
checkprops result -s 696458
|
||||
checkprops result -s 694900 -v 3.6175e+07
|
||||
|
||||
checknbshapes result -shell 1
|
||||
unifysamedom result_unif result
|
||||
checknbshapes result_unif -wire 9 -face 9 -shell 1 -solid 1
|
||||
|
@@ -7,7 +7,7 @@ restore [locate_data_file bug25926_offset_shape_trim3.brep] s
|
||||
|
||||
OFFSETSHAPE 12 {} $calcul $type
|
||||
|
||||
checkprops result -v 948181 -s 66208.6
|
||||
checkprops result -v 948181 -s 66208.6 -deps 1.e-3
|
||||
|
||||
unifysamedom result_unif result
|
||||
checknbshapes result_unif -shell 1 -face 14
|
||||
|
@@ -1,5 +1,3 @@
|
||||
puts "TODO CR27414 ALL: Error : is WRONG because number of FACE entities in shape"
|
||||
|
||||
restore [locate_data_file bug26917_dom-8092_trim3.brep] s
|
||||
|
||||
offsetparameter 1e-7 $calcul $type
|
||||
|
@@ -1,5 +1,3 @@
|
||||
puts "TODO CR27414 ALL: Error : is WRONG because number of FACE entities in shape"
|
||||
|
||||
restore [locate_data_file bug26917_dom-8092_trim4.brep] s
|
||||
|
||||
offsetparameter 1e-7 $calcul $type
|
||||
|
@@ -1,5 +1,3 @@
|
||||
puts "TODO CR27414 ALL: Error : is WRONG because number of FACE entities in shape"
|
||||
|
||||
restore [locate_data_file bug26917_dom-8092_simple.brep] s
|
||||
|
||||
offsetparameter 1e-7 $calcul $type
|
||||
|
@@ -7,7 +7,7 @@ restore [locate_data_file bug26917_25926_offset_shape_trim4.brep] s
|
||||
|
||||
OFFSETSHAPE 12 {} $calcul $type
|
||||
|
||||
checkprops result -v 643336 -s 45602.9
|
||||
checkprops result -v 643336 -s 45602.9 -deps 1.e-3
|
||||
|
||||
unifysamedom result_unif result
|
||||
checknbshapes result_unif -shell 1 -face 8
|
||||
|
@@ -1,6 +1,6 @@
|
||||
puts "TODO OCC27414 ALL: Error: The command cannot be built"
|
||||
puts "TODO OCC27414 ALL: Tcl Exception"
|
||||
puts "TODO OCC27414 ALL: TEST INCOMPLETE"
|
||||
puts "TODO OCC27414 ALL: Error : is WRONG because number of"
|
||||
puts "TODO OCC27414 ALL: Error : The area of result shape is"
|
||||
puts "TODO OCC27414 ALL: Error : The volume of result shape is"
|
||||
|
||||
restore [locate_data_file bug26917_dom-8092.t6c1_trim5_with_faces.brep] c
|
||||
|
||||
|
@@ -4,9 +4,9 @@ offsetparameter 1e-7 c i r
|
||||
offsetload s 8
|
||||
offsetperform result
|
||||
|
||||
checkprops result -v 4.40128e+007 -s 1.81672e+006
|
||||
checkprops result -s 1.81645e+06 -v 4.40127e+07
|
||||
|
||||
unifysamedom result_unif result
|
||||
checknbshapes result_unif -edge 186 -face 64 -shell 1
|
||||
checknbshapes result_unif -wire 62 -face 62 -shell 1
|
||||
|
||||
checkview -display result_unif -2d -path ${imagedir}/${test_image}.png
|
||||
|
17
tests/offset/shape_type_i_c/XU4
Normal file
17
tests/offset/shape_type_i_c/XU4
Normal file
@@ -0,0 +1,17 @@
|
||||
puts "============================================================================================="
|
||||
puts "0032333: Modeling Algorithms - Empty(wrong) result of offset operation in mode \"Complete\" join type \"Intersection\""
|
||||
puts "============================================================================================="
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug32333_Z4_trim.brep] s
|
||||
|
||||
offsetparameter 1e-7 c i r
|
||||
offsetload s 9.5
|
||||
offsetperform result
|
||||
|
||||
checkprops result -s 88948.9 -v 1.11587e+06
|
||||
|
||||
unifysamedom result_unif result
|
||||
checknbshapes result_unif -wire 15 -face 15 -shell 1 -solid 1
|
||||
|
||||
checkview -display result_unif -2d -path ${imagedir}/${test_image}.png
|
31
tests/offset/shape_type_i_c/XU5
Normal file
31
tests/offset/shape_type_i_c/XU5
Normal file
@@ -0,0 +1,31 @@
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 7 has failed"
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 8 has failed"
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 9 has failed"
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 10 has failed"
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 11 has failed"
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 12 has failed"
|
||||
puts "TODO CR27414 ALL: Operations with following offset values have failed: 7 8 9 10 11 12"
|
||||
puts "TODO CR27414 ALL: Error : The offset cannot be built"
|
||||
|
||||
puts "============================================================================================="
|
||||
puts "0032333: Modeling Algorithms - Empty(wrong) result of offset operation in mode \"Complete\" join type \"Intersection\""
|
||||
puts "============================================================================================="
|
||||
puts ""
|
||||
|
||||
# This is a simplified version of XZ7 case
|
||||
|
||||
restore [locate_data_file bug32333_178_trim4.brep] s
|
||||
|
||||
set ref_values { { 94323.2 1.42329e+06 14 14 } \
|
||||
{ 98288.3 1.51959e+06 14 14 } \
|
||||
{ 102311 1.61989e+06 14 14 } \
|
||||
{ 106392 1.72423e+06 14 14 } \
|
||||
{ 110531 1.83269e+06 14 14 } \
|
||||
{ 114728 1.94532e+06 14 14 } }
|
||||
|
||||
perform_offset_increasing s 7 12 1 $ref_values
|
||||
|
||||
#copy r10 result
|
||||
#copy r10_unif result_unif
|
||||
|
||||
#checkview -display result_unif -2d -path ${imagedir}/${test_image}.png
|
@@ -1,7 +1,4 @@
|
||||
puts "TODO CR32333 ALL: Error : The area of result shape is"
|
||||
puts "TODO CR32333 ALL: Error : The command is not valid."
|
||||
puts "TODO CR32333 ALL: Error : The volume of result shape is"
|
||||
puts "TODO CR32333 ALL: Error : is WRONG because number of"
|
||||
puts "TODO CR27414 ALL: Error : is WRONG because number of"
|
||||
|
||||
puts "============================================================================================="
|
||||
puts "0032088: Modeling Algorithms - Empty result of offset operation in mode \"Complete\" join type \"Intersection\""
|
||||
@@ -17,6 +14,6 @@ offsetperform result
|
||||
checkprops result -s 3.1312e+06 -v 5.77267e+07
|
||||
|
||||
unifysamedom result_unif result
|
||||
checknbshapes result_unif -wire 492 -face 492 -shell 1 -solid 1
|
||||
checknbshapes result_unif -wire 491 -face 492 -shell 1 -solid 1
|
||||
|
||||
checkview -display result_unif -2d -path ${imagedir}/${test_image}.png
|
||||
|
@@ -1,7 +1,3 @@
|
||||
puts "TODO OCC32333 ALL: Error: The command cannot be built"
|
||||
puts "TODO OCC32333 ALL: gives an empty result"
|
||||
puts "TODO OCC32333 ALL: TEST INCOMPLETE"
|
||||
|
||||
puts "============================================================================================="
|
||||
puts "0032088: Modeling Algorithms - Empty result of offset operation in mode \"Complete\" join type \"Intersection\""
|
||||
puts "============================================================================================="
|
||||
|
29
tests/offset/shape_type_i_c/XY9
Normal file
29
tests/offset/shape_type_i_c/XY9
Normal file
@@ -0,0 +1,29 @@
|
||||
puts "============================================================================================="
|
||||
puts "0032333: Modeling Algorithms - Empty(wrong) result of offset operation in mode \"Complete\" join type \"Intersection\""
|
||||
puts "============================================================================================="
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug32333_ZU6_trim.brep] s
|
||||
|
||||
set ref_values { { 154279 1.16809e+06 31 31 } \
|
||||
{ 159804 1.32512e+06 31 31 } \
|
||||
{ 165387 1.48771e+06 31 31 } \
|
||||
{ 171028 1.65592e+06 31 31 } \
|
||||
{ 148419 1.82979e+06 29 29 } \
|
||||
{ 132204 1.98042e+06 17 17 } \
|
||||
{ 136267 2.11465e+06 17 17 } \
|
||||
{ 125291 2.25298e+06 13 13 } \
|
||||
{ 129494 2.38037e+06 13 13 } \
|
||||
{ 133767 2.51199e+06 13 13 } \
|
||||
{ 138109 2.64793e+06 13 13 } \
|
||||
{ 142522 2.78824e+06 13 13 } \
|
||||
{ 147004 2.93299e+06 13 13 } \
|
||||
{ 151557 3.08227e+06 13 13 } \
|
||||
{ 156179 3.23613e+06 13 13 } }
|
||||
|
||||
perform_offset_increasing s 1 15 1 $ref_values
|
||||
|
||||
copy r10 result
|
||||
copy r10_unif result_unif
|
||||
|
||||
checkview -display result_unif -2d -path ${imagedir}/${test_image}.png
|
30
tests/offset/shape_type_i_c/XZ3
Normal file
30
tests/offset/shape_type_i_c/XZ3
Normal file
@@ -0,0 +1,30 @@
|
||||
puts "TODO CR27414 ALL: Error: number of wire entities in the result"
|
||||
puts "TODO CR27414 ALL: Error: number of face entities in the result"
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 9 has failed"
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 10 has failed"
|
||||
puts "TODO CR27414 ALL: Operations with following offset values have failed: 9 10"
|
||||
|
||||
puts "============================================================================================="
|
||||
puts "0032333: Modeling Algorithms - Empty(wrong) result of offset operation in mode \"Complete\" join type \"Intersection\""
|
||||
puts "============================================================================================="
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug32333_172.brep] s
|
||||
|
||||
set ref_values { { 2.68545e+06 6.72361e+07 386 386 } \
|
||||
{ 2.69691e+06 6.99355e+07 330 330 } \
|
||||
{ 2.73363e+06 7.26508e+07 330 330 } \
|
||||
{ 2.74228e+06 7.54028e+07 166 166 } \
|
||||
{ 2.78873e+06 7.81683e+07 166 166 } \
|
||||
{ 2.82923e+06 8.09803e+07 106 106 } \
|
||||
{ 2.88058e+06 8.38352e+07 106 106 } \
|
||||
{ 2.93204e+06 8.67414e+07 106 106 } \
|
||||
{ 2.65427e+06 8.95363e+07 6 6 } \
|
||||
{ 2.69318e+06 9.22106e+07 6 6 } }
|
||||
|
||||
perform_offset_increasing s 1 10 1 $ref_values
|
||||
|
||||
copy r5 result
|
||||
copy r5_unif result_unif
|
||||
|
||||
checkview -display result_unif -2d -path ${imagedir}/${test_image}.png
|
30
tests/offset/shape_type_i_c/XZ4
Normal file
30
tests/offset/shape_type_i_c/XZ4
Normal file
@@ -0,0 +1,30 @@
|
||||
puts "TODO CR27414 ALL: Error: number of wire entities in the result"
|
||||
puts "TODO CR27414 ALL: Error: number of face entities in the result"
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 9 has failed"
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 10 has failed"
|
||||
puts "TODO CR27414 ALL: Operations with following offset values have failed: 9 10"
|
||||
|
||||
puts "============================================================================================="
|
||||
puts "0032333: Modeling Algorithms - Empty(wrong) result of offset operation in mode \"Complete\" join type \"Intersection\""
|
||||
puts "============================================================================================="
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug32333_172_trim1.brep] s
|
||||
|
||||
set ref_values { { 171093 2.538e+06 42 42 } \
|
||||
{ 169448 2.70883e+06 41 41 } \
|
||||
{ 174262 2.88068e+06 41 41 } \
|
||||
{ 176065 3.05738e+06 25 25 } \
|
||||
{ 181589 3.2362e+06 25 25 } \
|
||||
{ 185420 3.42058e+06 17 17 } \
|
||||
{ 191400 3.60898e+06 17 17 } \
|
||||
{ 197447 3.8034e+06 17 17 } \
|
||||
{ 175027 3.98979e+06 11 11 } \
|
||||
{ 179953 4.16727e+06 11 11 } }
|
||||
|
||||
perform_offset_increasing s 1 10 1 $ref_values
|
||||
|
||||
copy r5 result
|
||||
copy r5_unif result_unif
|
||||
|
||||
checkview -display result_unif -2d -path ${imagedir}/${test_image}.png
|
27
tests/offset/shape_type_i_c/XZ5
Normal file
27
tests/offset/shape_type_i_c/XZ5
Normal file
@@ -0,0 +1,27 @@
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 9 has failed"
|
||||
puts "TODO CR27414 ALL: Operations with following offset values have failed: 9"
|
||||
|
||||
puts "============================================================================================="
|
||||
puts "0032333: Modeling Algorithms - Empty(wrong) result of offset operation in mode \"Complete\" join type \"Intersection\""
|
||||
puts "============================================================================================="
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug32333_172_trim2.brep] s
|
||||
|
||||
set ref_values { { 82542.8 820795 18 18 } \
|
||||
{ 82089.5 903148 19 19 } \
|
||||
{ 86737.5 987555 19 19 } \
|
||||
{ 91176.7 1.07665e+06 15 15 } \
|
||||
{ 95898.3 1.17018e+06 15 15 } \
|
||||
{ 100690 1.26847e+06 15 15 } \
|
||||
{ 105551 1.37158e+06 15 15 } \
|
||||
{ 110483 1.47959e+06 15 15 } \
|
||||
{ 98501.1 1.58422e+06 5 5 } \
|
||||
{ 102414 1.68468e+06 5 5 } }
|
||||
|
||||
perform_offset_increasing s 1 10 1 $ref_values
|
||||
|
||||
copy r5 result
|
||||
copy r5_unif result_unif
|
||||
|
||||
checkview -display result_unif -2d -path ${imagedir}/${test_image}.png
|
21
tests/offset/shape_type_i_c/XZ6
Normal file
21
tests/offset/shape_type_i_c/XZ6
Normal file
@@ -0,0 +1,21 @@
|
||||
puts "============================================================================================="
|
||||
puts "0032333: Modeling Algorithms - Empty(wrong) result of offset operation in mode \"Complete\" join type \"Intersection\""
|
||||
puts "============================================================================================="
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug32333_178.brep] s
|
||||
|
||||
set ref_values { { 6.2988e+06 1.0009e+08 1590 1590 } \
|
||||
{ 6.46295e+06 1.12852e+08 1556 1556 } \
|
||||
{ 6.59935e+06 1.25914e+08 1585 1570 } \
|
||||
{ 5.67319e+06 1.38166e+08 552 552 } \
|
||||
{ 5.52249e+06 1.49358e+08 260 260 } \
|
||||
{ 5.72672e+06 1.60607e+08 260 260 } \
|
||||
{ 4.90877e+06 1.71755e+08 44 44 } }
|
||||
|
||||
perform_offset_increasing s 1 13 2 $ref_values
|
||||
|
||||
copy r5 result
|
||||
copy r5_unif result_unif
|
||||
|
||||
checkview -display result_unif -2d -path ${imagedir}/${test_image}.png
|
37
tests/offset/shape_type_i_c/XZ7
Normal file
37
tests/offset/shape_type_i_c/XZ7
Normal file
@@ -0,0 +1,37 @@
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 7 has failed"
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 8 has failed"
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 9 has failed"
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 10 has failed"
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 11 has failed"
|
||||
puts "TODO CR27414 ALL: Error: operation with offset value 12 has failed"
|
||||
puts "TODO CR27414 ALL: Operations with following offset values have failed: 7 8 9 10 11 12"
|
||||
|
||||
puts "============================================================================================="
|
||||
puts "0032333: Modeling Algorithms - Empty(wrong) result of offset operation in mode \"Complete\" join type \"Intersection\""
|
||||
puts "============================================================================================="
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug32333_178_trim1.brep] s
|
||||
|
||||
set ref_values { { 237838 3.74252e+06 61 61 } \
|
||||
{ 241858 3.98236e+06 61 61 } \
|
||||
{ 245948 4.22626e+06 59 59 } \
|
||||
{ 250116 4.47428e+06 59 59 } \
|
||||
{ 245191 4.72003e+06 60 60 } \
|
||||
{ 236043 4.96659e+06 29 29 } \
|
||||
{ 241534 5.20537e+06 25 25 } \
|
||||
{ 245656 5.44968e+06 17 17 } \
|
||||
{ 251925 5.69846e+06 17 17 } \
|
||||
{ 258263 5.95355e+06 17 17 } \
|
||||
{ 264668 6.21501e+06 17 17 } \
|
||||
{ 271141 6.48291e+06 17 17 } \
|
||||
{ 243904 6.74052e+06 9 9 } \
|
||||
{ 249735 6.98734e+06 9 9 } \
|
||||
{ 255633 7.24002e+06 9 9 } }
|
||||
|
||||
perform_offset_increasing s 1 15 1 $ref_values
|
||||
|
||||
copy r5 result
|
||||
copy r5_unif result_unif
|
||||
|
||||
checkview -display result_unif -2d -path ${imagedir}/${test_image}.png
|
29
tests/offset/shape_type_i_c/XZ8
Normal file
29
tests/offset/shape_type_i_c/XZ8
Normal file
@@ -0,0 +1,29 @@
|
||||
puts "============================================================================================="
|
||||
puts "0032333: Modeling Algorithms - Empty(wrong) result of offset operation in mode \"Complete\" join type \"Intersection\""
|
||||
puts "============================================================================================="
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug32333_178_trim2.brep] s
|
||||
|
||||
set ref_values { { 72863.6 1.02754e+06 24 24 } \
|
||||
{ 75700.8 1.10182e+06 24 24 } \
|
||||
{ 78584.1 1.17895e+06 24 24 } \
|
||||
{ 81513.2 1.259e+06 24 24 } \
|
||||
{ 84488.3 1.342e+06 24 24 } \
|
||||
{ 87509.3 1.42799e+06 24 24 } \
|
||||
{ 90576.3 1.51703e+06 24 24 } \
|
||||
{ 91698.4 1.60916e+06 16 16 } \
|
||||
{ 94791 1.7024e+06 16 16 } \
|
||||
{ 97929.5 1.79876e+06 16 16 } \
|
||||
{ 101114 1.89827e+06 16 16 } \
|
||||
{ 104344 2.001e+06 16 16 } \
|
||||
{ 107621 2.10698e+06 16 16 } \
|
||||
{ 110943 2.21626e+06 16 16 } \
|
||||
{ 114311 2.32888e+06 16 16 } }
|
||||
|
||||
perform_offset_increasing s 1 15 1 $ref_values
|
||||
|
||||
copy r5 result
|
||||
copy r5_unif result_unif
|
||||
|
||||
checkview -display result_unif -2d -path ${imagedir}/${test_image}.png
|
17
tests/offset/shape_type_i_c/XZ9
Normal file
17
tests/offset/shape_type_i_c/XZ9
Normal file
@@ -0,0 +1,17 @@
|
||||
puts "============================================================================================="
|
||||
puts "0032333: Modeling Algorithms - Empty(wrong) result of offset operation in mode \"Complete\" join type \"Intersection\""
|
||||
puts "============================================================================================="
|
||||
puts ""
|
||||
|
||||
restore [locate_data_file bug32333_178_trim3.brep] s
|
||||
|
||||
offsetparameter 1e-7 c i r
|
||||
offsetload s 15
|
||||
offsetperform result
|
||||
|
||||
checkprops result -s 117600 -v 2.73811e+06
|
||||
|
||||
unifysamedom result_unif result
|
||||
checknbshapes result_unif -wire 7 -face 7 -shell 1 -solid 1
|
||||
|
||||
checkview -display result_unif -2d -path ${imagedir}/${test_image}.png
|
@@ -1,7 +1,10 @@
|
||||
restore [locate_data_file bug26917_M2_trim4.brep] s
|
||||
|
||||
OFFSETSHAPE 8 {} $calcul $type
|
||||
offsetparameter 1e-7 c i r
|
||||
offsetload s 8
|
||||
offsetperform result
|
||||
|
||||
checkprops result -v 4.65244e+006
|
||||
checkprops result -s 279365 -v 4.65244e+06
|
||||
|
||||
checknbshapes result -shell 1
|
||||
unifysamedom result_unif result
|
||||
checknbshapes result_unif -wire 72 -face 72 -shell 1 -solid 1
|
||||
|
@@ -1,10 +1,13 @@
|
||||
puts "TODO CR27414 ALL: Error : The area of result shape is"
|
||||
puts "TODO CR27414 ALL: Error : The volume of result shape is"
|
||||
puts "TODO OCC27414 ALL: Error : is WRONG because number of"
|
||||
puts "TODO OCC27414 ALL: Error : The area of result shape is"
|
||||
puts "TODO OCC27414 ALL: Error : The volume of result shape is"
|
||||
puts "TODO OCC27414 ALL: Error: bsection of the result and s is not equal to zero"
|
||||
|
||||
restore [locate_data_file bug26917_M2_trim22.brep] s
|
||||
|
||||
OFFSETSHAPE 8 {} $calcul $type
|
||||
|
||||
checkprops result -v 1.1318e+006 -s 69137.2
|
||||
checkprops result -s 69299.9 -v 1.08094e+06 -deps 1.e-3
|
||||
|
||||
checknbshapes result -shell 1
|
||||
unifysamedom result_unif result
|
||||
checknbshapes result_unif -wire 19 -face 19 -shell 1 -solid 1
|
||||
|
@@ -1,11 +1,12 @@
|
||||
puts "TODO OCC27414 ALL: Error: The command cannot be built"
|
||||
puts "TODO OCC27414 ALL: gives an empty result"
|
||||
puts "TODO OCC27414 ALL: TEST INCOMPLETE"
|
||||
puts "TODO OCC27414 ALL: Error : is WRONG because number of"
|
||||
puts "TODO OCC27414 ALL: Error : The area of result shape is"
|
||||
puts "TODO OCC27414 ALL: Error : The volume of result shape is"
|
||||
|
||||
restore [locate_data_file bug26917_M2_trim35.brep] s
|
||||
|
||||
OFFSETSHAPE 8 {} $calcul $type
|
||||
|
||||
checkprops result -v 0
|
||||
checkprops result -s 30085.9 -v 282977 -deps 1.e-3
|
||||
|
||||
checknbshapes result -shell 1
|
||||
unifysamedom result_unif result
|
||||
checknbshapes result_unif -wire 9 -face 9 -shell 1 -solid 1
|
||||
|
@@ -1,11 +1,12 @@
|
||||
puts "TODO OCC27414 ALL: Error: The command cannot be built"
|
||||
puts "TODO OCC27414 ALL: gives an empty result"
|
||||
puts "TODO OCC27414 ALL: TEST INCOMPLETE"
|
||||
puts "TODO OCC27414 ALL: Error : is WRONG because number of"
|
||||
puts "TODO OCC27414 ALL: Error : The area of result shape is"
|
||||
puts "TODO OCC27414 ALL: Error : The volume of result shape is"
|
||||
|
||||
restore [locate_data_file bug26917_M2_trim9.brep] s
|
||||
|
||||
OFFSETSHAPE 15 {} $calcul $type
|
||||
|
||||
checkprops result -s 0 -v 0
|
||||
checkprops result -s 29576.6 -v 276693
|
||||
|
||||
checknbshapes result -shell 1
|
||||
unifysamedom result_unif result
|
||||
checknbshapes result_unif -wire 16 -face 16 -shell 1 -solid 1
|
||||
|
@@ -21,7 +21,7 @@ restore [locate_data_file bug31148_plate_split.brep] s
|
||||
|
||||
perform_offset_multi_with_ref r0_01 s 0 {6 10 14} {1 5 1} {464 244 26 26} 1; # BAD (null shape)
|
||||
perform_offset_multi_with_ref r0_02 s 0 {9 11} {5 5} {448 244 24 23} 1; # BAD (filled part)
|
||||
perform_offset_multi_with_ref r0_03 s 0 {6 9 11 14} {1 5 5 1} {464 268 36 35} 1; # BAD (mostly removed)
|
||||
perform_offset_multi_with_ref r0_03 s 0 {6 9 11 14} {1 5 5 1} {464 268 36 35} 1; # BAD (internal part is filled)
|
||||
perform_offset_multi_with_ref r0_04 s 0 {8 10 12} {5 5 5} {464 276 22 20} 1; # BAD (out of borders)
|
||||
perform_offset_multi_with_ref r0_05 s 0 {6 8 10 12 14 } {1 5 5 5 1} {464 292 30 28} 1
|
||||
perform_offset_multi_with_ref r0_06 s 0 {7 9 11 13} {1 3 3 1} {424 236 28 27} 1
|
||||
|
Reference in New Issue
Block a user