3bea4c16 |
1 | puts "============" |
2 | puts "OCC20297" |
3 | puts "Customer : TATA" |
4 | puts "============" |
5 | puts "" |
6 | ####################################################################### |
7 | # Boolean operations (for ex. fuse) fail for given shapes |
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 | bopsection result |
24 | puts "Finish boolean operation ..." |
25 | |
26 | set length 389.898 |
27 | |
28 | set nb_v_good 64 |
29 | set nb_e_good 64 |
30 | set nb_w_good 0 |
31 | set nb_f_good 0 |
32 | set nb_sh_good 0 |
33 | set nb_sol_good 0 |
34 | set nb_compsol_good 0 |
35 | set nb_compound_good 1 |
36 | set nb_shape_good 129 |
37 | |
38 | |
39 | set 2dviewer 0 |