AlphaPrism is in active development: features may change and you may run into bugs. Keep backups of your work.Known issuesReport a bug
Skip to content

Torus ​

Create a torus.

Torus: A center point compared with A solid ring.
Prism help example. Drop a ring shape into the model. The ring radius is measured to the center of the tube. View full size

In the app

Set the dimensions, then press OK. Use Operation to join or cut from an existing body.

How to use ​

  1. Choose Torus. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Target body (found automatically) (solid), optional.
  3. Adjust the settings and check the preview in the viewport.
  4. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
Major radius20 mm
Minor radius5 mm
Position X0 mm
Position Y0 mm
Position Z0 mm
Move with gizmoOff
OperationNew bodyNew body, Join, Cut, Intersect

Script it ​

Command name torus. See Python scripting and the command reference.

python
import cadkit as cad

cad.run("torus", major_radius=20, minor_radius=5)