Adds a new torus to the geometry panel, receiving the central point, the minor (inner) radius and the major (outer) radius of the torus.

Script usage: torus -n name -p x y z minorRadius majorRadius

Screen usage: torus [-h]

  • -h: Print this help
  • no_param: Follow these steps:
    • Step 1: Select center [x y z] x y z
    • Step 2: Minor radius [double] minorRadius
    • Step 3: Major radius [double] majorRadius


command> torus
Select center [x y z]: 0 1 0
Minor radius [double]: 0.5
Major radius [double]: 2.5


Figure 1. Resulting torus