Tube SOP

From TouchDesigner Documentation
Jump to: navigation, search

Summary
[edit]

The Tube SOP generates open or closed tubes, cones, or pyramids along the X, Y or Z axes. It outputs as meshes, polygons or simply a tube primitive.

PythonIcon.pngtubeSOP_Class


Parameters - Tube Page

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

  • Primitive prim -
  • 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 - - Primary axis of tube (long axis).

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

Modify Bounds modifybounds -  

Center t - - Location of the tube center from the object origin.

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

Radius rad - - The first field is the radius of the top of the tube and the second field represents the radius of the bottom of the tube.

  • rad1 -
  • rad2 -

Height height - The height of the tube.  


Parameters - Detail Page

Imperfect imperfect - This option applies only to Bzier and NURBS types. If selected, the tube is an approximated nonrational curve, otherwise it is a perfect rational curve.  

Rows rows - Number of rows in tube.  

Columns cols - Number of columns in tube.  

U Order orderu - If a spline surface is selected, it is built at this order for U.  

V Order orderv - If a spline surface is selected, it is built at this order for V.  

End Caps cap - If selected, it adds faceted end caps to the ends of the tube.  

Texture Coordinates texture - - Adds UV texture coordinates to the sphere.

  • Off off - No UV coordinates added to surface.
  • Row & Columns rowcol - Adds vertex UV coordinates.


Compute Normals normals -  

Operator Inputs

  • Input 0 -

TouchDesigner Build:

SOPs
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.