3bea4c16 |
1 | puts "============" |
2 | puts "OCC22109" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Boolean operation common fails. Appendix to the SALOME bug: 0021060 |
7 | ####################################################################### |
8 | |
9 | set BugNumber OCC22109 |
10 | |
11 | puts "Load first shape ..." |
12 | restore [locate_data_file bug22109_Solid_24.brep] b1 |
13 | |
14 | puts "Load second shape ..." |
15 | restore [locate_data_file bug22109_tore.brep] b2 |
16 | |
17 | puts "Prepare boolean operation ..." |
18 | bop b1 b2 |
19 | |
20 | puts "Start boolean operation ..." |
21 | bopfuse result |
22 | puts "Finish boolean operation ..." |
23 | |
24 | set square 87449.7 |
25 | |
26 | set nb_v_good 17 |
27 | set nb_e_good 25 |
28 | set nb_w_good 14 |
29 | set nb_f_good 10 |
30 | set nb_sh_good 1 |
31 | set nb_sol_good 1 |
32 | set nb_compsol_good 0 |
33 | set nb_compound_good 1 |
34 | set nb_shape_good 69 |
35 | |
36 | |
37 | set 2dviewer 0 |