0023457: Slow text rendering
[occt.git] / tests / bugs / modalg / bug12213
CommitLineData
61c421bf 1puts "============"
2puts "OCC12213"
3puts "============"
4puts ""
5#######################################################################
6# Invalid sweep was created by command "buildsweep" in DRAW in case circular path
7#######################################################################
8
9set BugNumber OCC12213
10
11circle c1 0 0 0 100
12trim cc1 c1 0 3.14
13mkedge e2 cc1
14wire w2 e2
15
16box a 95 -10 -5 10 10 10
17explode a w
18explode a_4 e
19wire w21 a_4_1 a_4_2 a_4_3 a_4_4
20
21box b -110 -10 -5 20 10 10
22explode b w
23explode b_4 e
24wire w22 b_4_1 b_4_2 b_4_3 b_4_4
25
26explode w2 v
27
28mksweep w2
29addsweep w21 w2_1
30addsweep w22 w2_2
31buildsweep result
32
33set square 15708.8
34
35# Analysis of "nbshapes res"
36set nb_v_good 8
37set nb_e_good 12
38set nb_w_good 4
39set nb_f_good 4
40set nb_sh_good 1
41set nb_sol_good 0
42set nb_compsol_good 0
43set nb_compound_good 0
44set nb_shape_good 29
45
46set 2dviewer 1
47