0025175: avoid unsafe 3D curve usages
[occt.git] / tests / bugs / modalg_5 / bug24187
CommitLineData
c884a268 1puts "============"
2puts "OCC24187"
3puts "============"
4puts ""
5###############################################################################################
6# Wrong result of COMMON operation
7###############################################################################################
8
9box b1 10 10 10
10
11circle c1 -3 5 2 5
12circle c2 -3 5 8 5
13mkedge e1 c1
14mkedge e2 c2
15compound e1 e2 b2
16
17bop b1 b2
18bopcommon result
19
20set length 18.5459
21
22# Analysis of "nbshapes result"
23set nb_v_good 6
24set nb_e_good 4
25set nb_w_good 2
26set nb_f_good 0
27set nb_sh_good 0
28set nb_sol_good 0
29set nb_compsol_good 0
30set nb_compound_good 1
31set nb_shape_good 13
32
33set 2dviewer 1