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 | |
11 | set BugNumber OCC20297 |
12 | |
13 | puts "Load first shape ..." |
14 | restore [locate_data_file OCC20297_1.brep] a1 |
15 | explode a1 |
16 | renamevar a1_1 b1 |
17 | puts "Load second shape ..." |
18 | restore [locate_data_file OCC20297_2.brep] b2 |
19 | |
20 | puts "Prepare boolean operation ..." |
21 | bop b1 b2 |
22 | |
23 | puts "Start boolean operation ..." |
24 | bopcut result |
25 | puts "Finish boolean operation ..." |
26 | |
27 | set square 69719.6 |
28 | |
29 | set nb_v_good 141 |
30 | set nb_e_good 211 |
31 | set nb_w_good 86 |
32 | set nb_f_good 78 |
33 | set nb_sh_good 1 |
34 | set nb_sol_good 1 |
35 | set nb_compsol_good 0 |
36 | set nb_compound_good 1 |
37 | set nb_shape_good 519 |
38 | |
39 | |
40 | set 2dviewer 0 |