1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-30 13:05:50 +03:00
occt/tests/v3d/quadric/cylinder
mzernova 113bda7072 0031773: Visualization - add Prs3d_ToolTorus
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
2020-09-21 12:36:27 +03:00

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