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 | |
9c4214b4 |
16 | # workaround - increate the tolerance value of the edge to fill the gap between section curves |
17 | explode b_2 e |
18 | settolerance b_2_5 0.0005 |
19 | |
e2a37a80 |
20 | bclearobjects |
21 | bcleartools |
22 | |
23 | baddobjects b_1 |
24 | baddtools b_2 |
25 | |
26 | bfillds |
27 | bbop result 0 |
28 | |
29 | checkshape result |
30 | checknbshapes result -solid 1 |
31 | checkprops result -s 622894 |
32 | checkprops result -v 2.24142e+007 |
33 | |
34 | checkview -display result -2d -path ${imagedir}/${test_image}.png |