82d3cd0b |
1 | puts "========" |
2 | puts "0030094: Modeling Algorithms - Defeaturing does not work on the attached shape due to incorrect extension of the torus" |
3 | puts "========" |
4 | puts "" |
5 | |
6 | |
7 | restore [locate_data_file bug30094.brep] a |
8 | explode a f |
9 | |
10 | removefeatures r1 a a_1 |
11 | CheckIsFeatureRemoved a_1 {f} |
12 | |
13 | removefeatures r2 a a_6 |
14 | CheckIsFeatureRemoved a_6 {f} |
15 | |
16 | foreach r {r1 r2} { |
17 | checkshape $r |
9619ef4c |
18 | checknbshapes $r -wire 17 -face 15 -shell 1 -solid 1 |
82d3cd0b |
19 | checkprops $r -s 421523 -v 2.04083e+006 -deps 1.e-7 |
20 | } |
21 | |
22 | |
23 | removefeatures result a a_1 a_8 |
24 | CheckIsFeatureRemoved a_1 {f} |
25 | CheckIsFeatureRemoved a_8 {f} |
26 | checkshape result |
9619ef4c |
27 | checknbshapes result -wire 15 -face 13 -shell 1 -solid 1 |
82d3cd0b |
28 | checkprops result -s 421862 -v 2.04152e+006 -deps 1.e-7 |
29 | |
30 | checkview -display result -2d -path ${imagedir}/${test_image}.png |