0023751: Test case bugs modalg bug6334 does not work with new Boolean Operation Algor...
[occt.git] / tests / bugs / moddata_1 / bug10604_4
1 puts "============"
2 puts "OCC10604"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Fuse Fails
7 #######################################################################
8
9 set BugNumber OCC10604
10
11 puts "Load first shape ..."
12 restore [locate_data_file OCC10604-1.brep] b1 
13 puts "Load second shape ..."
14 restore [locate_data_file OCC10604-2.brep] b2 
15
16 puts "Prepare boolean operation ..."
17 bop b1 b2
18
19 puts "Start boolean operation ..."
20 boptuc result
21 checkshape result
22 puts "Finish boolean operation ..."
23
24 set square 500.39
25
26 # Analysis of "nbshapes res"
27 set nb_v_good 7
28 set nb_e_good 12
29 set nb_w_good 7
30 set nb_f_good 7
31 set nb_sh_good 2
32 set nb_sol_good 2
33 set nb_compsol_good 0
34 set nb_compound_good 1
35 set nb_shape_good 38
36
37 set 2dviewer 0
38