61c421bf |
1 | puts "============" |
2 | puts "OCC12213" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Invalid sweep was created by command "buildsweep" in DRAW in case circular path |
7 | ####################################################################### |
8 | |
9 | set BugNumber OCC12213 |
10 | |
11 | circle c1 0 0 0 100 |
12 | trim cc1 c1 0 3.14 |
13 | mkedge e2 cc1 |
14 | wire w2 e2 |
15 | |
16 | box a 95 -10 -5 10 10 10 |
17 | explode a w |
18 | explode a_4 e |
19 | wire w21 a_4_1 a_4_2 a_4_3 a_4_4 |
20 | |
21 | box b -110 -10 -5 20 10 10 |
22 | explode b w |
23 | explode b_4 e |
24 | wire w22 b_4_1 b_4_2 b_4_3 b_4_4 |
25 | |
26 | explode w2 v |
27 | |
28 | mksweep w2 |
29 | addsweep w21 w2_1 |
30 | addsweep w22 w2_2 |
31 | buildsweep result |
32 | |
58cf74e0 |
33 | checkprops result -s 15708.8 |
34 | checkshape result |
61c421bf |
35 | |
36 | # Analysis of "nbshapes res" |
a4eba920 |
37 | checknbshapes result -vertex 8 -edge 12 -wire 4 -face 4 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 29 |
5747059b |
38 | checkview -display result -2d -path ${imagedir}/${test_image}.png |
61c421bf |
39 | |