42ff8f5b |
1 | puts "============" |
2 | puts "CR24108" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Boolean fuse fails |
7 | ####################################################################### |
8 | |
9 | puts "Load first shape ..." |
10 | restore [locate_data_file bug24108_face_411.brep] b1 |
11 | puts "Load second shape ..." |
12 | restore [locate_data_file bug24108_face_514.brep] b2 |
13 | |
14 | explode b1 f |
15 | explode b2 f |
16 | |
17 | copy b1_1 b1 |
18 | copy b2_1 b2 |
19 | |
20 | puts "Prepare boolean operation ..." |
21 | bop b1 b2 |
22 | |
23 | puts "Start boolean operation ..." |
24 | bopfuse result |
25 | puts "Finish boolean operation ..." |
26 | |
27 | set square 1328.78 |
28 | |
29 | # Analysis of "nbshapes result" |
30 | set nb_v_good 37 |
31 | set nb_e_good 39 |
32 | set nb_w_good 4 |
33 | set nb_f_good 3 |
34 | set nb_sh_good 1 |
35 | set nb_sol_good 0 |
36 | set nb_compsol_good 0 |
37 | set nb_compound_good 1 |
38 | set nb_shape_good 85 |
39 | |
40 | set 3dviewer 1 |