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