# Torus SOP

## Summary

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

## Parameters - Torus Page

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

• Polygon `poly` -
• Mesh `mesh` -
• NURBS `nurbs` -
• Bezier `bezier` -

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

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

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

• X Axis `x` -
• Y Axis `y` -
• Z Axis `z` -

Modify Bounds `modifybounds` -

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

• X `radx` -
• Y `rady` -

Center `t` - - Offset of torus center from object origin.

• X `tx` -
• Y `ty` -
• Z `tz` -

Rows `rows` - The rows define the number of divisions along the torus.

Columns `cols` - The columns determine the number of divisions along the torus' cross-section.

## Parameters - Detail Page

Angle Offset `angleoffset` -

Imperfect `imperfect` -

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

V Order `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.

• `beginangleu` -
• `endangleu` -

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.

• `beginanglev` -
• `endanglev` -

U Wrap `closeu` - If U Wrap is checked, it creates a 360 cross-section.

V Wrap `closev` - Checking V Wrap creates a torus along V by closing the primitive.

U End Caps `capu` - If U End Caps is checked, it puts faceted end-caps on the ends of the torus if it is less than 360.

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

V End Caps `capv` - 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.

Texture Coordinates `texture` - -

• Off `off` -
• Row & Columns `rowcol` -

Compute Normals `normals` -

## Operator Inputs

• Input 0 -

TouchDesigner Build:

Add • Experimental:Add • Alembic • Align • Arm • Attribute Create • Attribute • Experimental:Attribute • Basis • Blend • Experimental:Blend • Bone Group • Boolean • Box • Bridge • Cache • Cap • Capture Region • Capture • Carve • CHOP to • Circle • Clay • Clip • Convert • Copy • Experimental:Copy • CPlusPlus • Creep • Curveclay • Curvesect • DAT to • Deform • Delete • Divide • Extrude • Facet • File In • Fillet • Fit • Font • Force • Fractal • Grid • Group • Hole • Import Select • In • Introduction To SOPs id • Inverse Curve • Iso Surface • Join • Joint • Kinect • Lattice • Limit • Experimental:Limit • Line • Line Thick • LOD • LSystem • Magnet • Material • Merge • Metaball • Model • Noise • Null • Object Merge • Experimental:Object Merge • Oculus Rift • OpenVR • Out • Particle • Point • Experimental:Point • Polyloft • Experimental:Polyloft • Polypatch • Polyreduce • Polyspline • Polystitch • Primitive • Experimental:Primitive • Profile • Project • Rails • Experimental:Raster • Ray • Rectangle • Refine • Resample • Revolve • Script • Select • Sequence Blend • Skin • Sort • Sphere • Spring • Sprite • Stitch • Subdivide • Superquad • Surfsect • Sweep • Switch • Text • Texture • Torus • Trace • Trail • Transform • Trim • Tristrip • Tube • Twist • Vertex • Experimental:Vertex • Wireframe • ZED

An Operator Family that reads, creates and modifies 3D polygons, curves, NURBS surfaces, spheres, meatballs and other 3D surface data.

A surface type in SOPs including polygon, curve (NURBS and Bezier), patch (NURBS and Bezier) and other shapes like sphere, tube, and metaball. Points and Primitives are part of the Geometry Detail, which is a part of a SOP.