mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +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
369 B
Plaintext
20 lines
369 B
Plaintext
puts "=============================="
|
|
puts "Prs3d_ToolTorus - create torus"
|
|
puts "=============================="
|
|
|
|
# complete torus
|
|
vtorus t1 10 5
|
|
vlocation t1 -translate 0 0 20
|
|
|
|
# torus segment
|
|
vtorus t2 10 5 270
|
|
vlocation t2 -translate -20 -20 -20
|
|
|
|
# torus ring segment
|
|
vtorus t3 10 5 180 360
|
|
vlocation t3 -translate 20 20 -20
|
|
|
|
vfit
|
|
|
|
vdump $imagedir/${casename}.png
|