0026233: BRepOffset_MakeOffset makes incorrect result
[occt.git] / tests / bugs / modalg_2 / bug20297_4
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 bopcut result
24 puts "Finish boolean operation ..."
25
26 set square 69719.6
27
28 set nb_v_good 141
29 set nb_e_good 211
30 set nb_w_good 86
31 set nb_f_good 78
32 set nb_sh_good 1
33 set nb_sol_good 1
34 set nb_compsol_good 0
35 set nb_compound_good 1
36 set nb_shape_good 519
37
38
39 set 2dviewer 0