3bea4c16 |
1 | puts "============" |
2 | puts "OCC7166" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Improvement of API of ThruSection |
7 | ####################################################################### |
8 | |
9 | set BugNumber OCC7166 |
10 | |
11 | # spine |
12 | polyline s1 0 0 20 0 0 -20 |
13 | |
14 | # profile |
15 | polyline s2 0 5 0 5 0 0 -5 -5 0 0 5 0 |
16 | |
17 | # 1 vertex |
18 | vertex v1 0 0 -20 |
19 | |
20 | mksweep s1 |
21 | |
22 | addsweep v1 -T |
23 | addsweep s2 |
24 | |
25 | buildsweep result |
26 | |
27 | |
58cf74e0 |
28 | checkprops result -s 1187.23 |
3bea4c16 |
29 | |
a4eba920 |
30 | checknbshapes result -vertex 4 -edge 6 -wire 3 -face 3 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 17 |
3bea4c16 |
31 | |
32 | |
33 | set 3dviewer 0 |
34 | |