Commit | Line | Data |
---|---|---|
113bda70 | 1 | puts "==============================" |
2 | puts "Prs3d_ToolTorus - create torus" | |
3 | puts "==============================" | |
4 | ||
5 | # complete torus | |
6 | vtorus t1 10 5 | |
7 | vlocation t1 -translate 0 0 20 | |
8 | ||
9 | # torus segment | |
10 | vtorus t2 10 5 270 | |
11 | vlocation t2 -translate -20 -20 -20 | |
12 | ||
13 | # torus ring segment | |
14 | vtorus t3 10 5 180 360 | |
15 | vlocation t3 -translate 20 20 -20 | |
16 | ||
17 | vfit | |
18 | ||
19 | vdump $imagedir/${casename}.png |