0031304: Configuration - TKACIS building failure due to duplicated symbol GeomFillFus...
[occt.git] / tests / bugs / modalg_2 / bug20297_1
1 puts "============"
2 puts "OCC20297"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Boolean operations (for ex. fuse) fail for given shapes
7 #######################################################################
8
9 set BugNumber OCC20297
10
11 puts "Load first shape ..."
12 restore [locate_data_file OCC20297_1.brep] a1 
13 explode a1
14 renamevar a1_1 b1
15 puts "Load second shape ..."
16 restore [locate_data_file OCC20297_2.brep] b2 
17
18 puts "Prepare boolean operation ..."
19 bop b1 b2
20
21 puts "Start boolean operation ..."
22 bopsection result
23 puts "Finish boolean operation ..."
24
25 checkprops result -l 389.898 
26 checkshape result 
27 checksection result
28
29 checknbshapes result -vertex 64 -edge 64 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 129
30
31 checkview -display result -2d -path ${imagedir}/${test_image}.png