Torus SOP

From TouchDesigner 088 Wiki


The Torus SOP generates complete or specific sections of torus shapes (like a doughnut).

PythonIcon.png torusSOP_Class

Parameters - Torus Page

Primitive Type /type - Select from the following types. For information on the different types, see the Geometry category articles.

  • Polygon -
  • Mesh -
  • NURBS -
  • Bzier -

Connectivity /surftype - This option is used to select the type of surface, when using a Mesh primitive type.

  • Rows - Creates horizontal lines.
  • Columns - Creates vertical lines.
  • Rows & Cols - Both Rows and Columns. Looks like Quads in wire frame display, but all polygons are open (if the primitive type is polygon).
  • Triangles - Build the grid with Triangles.
  • Quadrilaterals - Generates sides composed of quadrilaterals (default).
  • Alternating Triangles - Generates triangles that are opposed; similar to the Triangles option.

Orientation /orient - The axis along which the torus is constructed.

Radius /radx /rady - The first value (radx) defines the radius of the torus, the second value (rady) determines the radius of the inner ring.


Center /tx /ty /tz - Offset of torus center from object origin.

Rows / Columns /rows /cols - The rows define the number of divisions along the torus. The columns determine the number of divisions along the torus' cross-section.

Imperfect /imperfect - This option applies only to Bzier and NURBS types. If selected, the torus is composed of approximated nonrational curves, otherwise it is composed of perfect rational curves.

Parameters - Detail Page

U / V Order /orderu /orderv - If a spline curve is selected, it is built at this order for U and V.

U Angle /angleu - The start and end sweep angles of the torus, if U Wrap is not enabled.

V Angle /anglev - These are the start and end angles of the cross-section circle that is swept to make the torus, if V Wrap is not enabled.

U / V Wrap /closeu /closev - If U Wrap is checked, it creates a 360 cross-section. Checking V Wrap creates a torus along V by closing the primitive.

U End Caps / V End Caps /capu /capv - If U End Caps is checked, it puts faceted end-caps on the ends of the torus if it is less than 360. If V End Caps is checked, it applies a face between the top and bottom of the torus - if the torus is open.

For more capping options, turn this parameter off, and append a Cap SOP.

Uses / Works in Relation With

Quickly generate torus shaped primitives.

Generate extruded squares, hexagons, etc.

See Also