mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-07-30 13:05:50 +03:00
Added Prs3d_ToolTorus tool to create a torus Added DRAW commands: - vtorus - vcylinder - vsphere Added test cases: - v3d/quadric/torus - v3d/quadric/cylinder - v3d/quadric/sphere
20 lines
376 B
Plaintext
20 lines
376 B
Plaintext
puts "===================================="
|
|
puts "Prs3d_ToolCylinder - create cylinder"
|
|
puts "===================================="
|
|
|
|
# cylinder
|
|
vcylinder c1 8 8 20
|
|
vlocation c1 -translate 0 0 20
|
|
|
|
# cone
|
|
vcylinder c2 8 0 20
|
|
vlocation c2 -translate -20 -20 -20
|
|
|
|
# frustum of a cone
|
|
vcylinder c3 8 4 10
|
|
vlocation c3 -translate 20 20 -20
|
|
|
|
vfit
|
|
|
|
vdump $imagedir/${casename}.png
|