0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[occt.git] / tests / bugs / modalg_2 / bug20297_3
1 puts "============"
2 puts "OCC20297"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Boolean operations (for ex. fuse) fail for given shapes
7 #######################################################################
8 #######################################################################
9
10 set BugNumber OCC20297
11
12 puts "Load first shape ..."
13 restore [locate_data_file OCC20297_1.brep] a1 
14 explode a1
15 renamevar a1_1 b1
16 puts "Load second shape ..."
17 restore [locate_data_file OCC20297_2.brep] b2 
18
19 puts "Prepare boolean operation ..."
20 bop b1 b2
21
22 puts "Start boolean operation ..."
23 bopfuse result
24 puts "Finish boolean operation ..."
25
26 checkprops result -s 46473.9 
27 checkshape result
28
29 checknbshapes result -vertex 140 -edge 209 -wire 83 -face 77 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 512
30
31 checkview -display result -2d -path ${imagedir}/${test_image}.png