0023748: Bad monitoring of intermediate results in offset commands
[occt.git] / tests / bugs / modalg_2 / bug22771
CommitLineData
809eca9d 1puts "============"
2puts "OCC22771"
3puts "============"
4puts ""
5#######################################################################
6# An extra vertex produced in result of Boolean section for the cases of closed intersection curves.
7#######################################################################
8
9set BugNumber OCC22771
10
11puts "Load first shape ..."
12restore [locate_data_file bug22771_Box_1.brep] b1
13
14puts "Load second shape ..."
15restore [locate_data_file bug22771_Cylinder_1.brep] b2
16
17puts "Prepare boolean operation ..."
18explode b1 f
19copy b1_5 b1
20copy b2_1 b2
21
22bop b1 b2
23
24puts "Start boolean operation ..."
25bopsection result
26puts "Finish boolean operation ..."
27
28set length 314.159
29
30set nb_v_good 1
31set nb_e_good 1
32set nb_w_good 0
33set nb_f_good 0
34set nb_sh_good 0
35set nb_sol_good 0
36set nb_compsol_good 0
37set nb_compound_good 1
38set nb_shape_good 3
39
40set 3dviewer 1