e2a37a80 |
1 | puts "========" |
2 | puts "OCC27240" |
3 | puts "========" |
4 | puts "" |
5 | ########################################################################### |
6 | # Boolean operation fails for a case with edge tangential to axis of revolution |
7 | ########################################################################### |
8 | |
9 | restore [locate_data_file bug27240_vent2-trim.brep] b |
10 | explode b |
11 | |
12 | # workaround - increate the tolerance value of the vertex to fill the gap between section curves |
13 | explode b_1 v |
14 | settolerance b_1_1 0.005 |
15 | |
16 | bclearobjects |
17 | bcleartools |
18 | |
19 | baddobjects b_1 |
20 | baddtools b_2 |
21 | |
22 | bfillds |
23 | bbop result 0 |
24 | |
25 | checkshape result |
26 | checknbshapes result -solid 1 |
27 | checkprops result -s 622894 |
28 | checkprops result -v 2.24142e+007 |
29 | |
30 | checkview -display result -2d -path ${imagedir}/${test_image}.png |