Difference between revisions of "Tube SOP"

From Derivative
Jump to navigation Jump to search
(cleaning)
(cleaning)
Line 15: Line 15:
 
|items=
 
|items=
 
{{Parameter|parItems=
 
{{Parameter|parItems=
{{Menuitem
+
{{ParameterItem|itemName=prim
|Itemname=prim
+
|itemSummary=
|Itemsummary=
+
|itemLabel=Primitive
|Itemlabel=Primitive
+
|opFamily=SOP
|OPfamily=SOP
+
|parName=type
|Parname=type
+
}}<!--
}}
+
-->{{ParameterItem|itemName=poly
{{Menuitem
+
|itemSummary=
|Itemname=poly
+
|itemLabel=Polygon
|Itemsummary=
+
|opFamily=SOP
|Itemlabel=Polygon
+
|parName=type
|OPfamily=SOP
+
}}<!--
|Parname=type
+
-->{{ParameterItem|itemName=mesh
}}
+
|itemSummary=
{{Menuitem
+
|itemLabel=Mesh
|Itemname=mesh
+
|opFamily=SOP
|Itemsummary=
+
|parName=type
|Itemlabel=Mesh
+
}}<!--
|OPfamily=SOP
+
-->{{ParameterItem|itemName=nurbs
|Parname=type
+
|itemSummary=
}}
+
|itemLabel=NURBS
{{Menuitem
+
|opFamily=SOP
|Itemname=nurbs
+
|parName=type
|Itemsummary=
+
}}<!--
|Itemlabel=NURBS
+
-->{{ParameterItem|itemName=bezier
|OPfamily=SOP
+
|itemSummary=
|Parname=type
+
|itemLabel=Bezier
}}
+
|opFamily=SOP
{{Menuitem
+
|parName=type
|Itemname=bezier
 
|Itemsummary=
 
|Itemlabel=Bezier
 
|OPfamily=SOP
 
|Parname=type
 
 
}}
 
}}
 
 
Line 61: Line 56:
 
}}
 
}}
 
{{Parameter|parItems=
 
{{Parameter|parItems=
{{Menuitem
+
{{ParameterItem|itemName=rows
|Itemname=rows
+
|itemSummary=Creates horizontal lines.
|Itemsummary=Creates horizontal lines.
+
|itemLabel=Rows
|Itemlabel=Rows
+
|opFamily=SOP
|OPfamily=SOP
+
|parName=surftype
|Parname=surftype
+
}}<!--
}}
+
-->{{ParameterItem|itemName=cols
{{Menuitem
+
|itemSummary=Creates vertical lines.
|Itemname=cols
+
|itemLabel=Columns
|Itemsummary=Creates vertical lines.
+
|opFamily=SOP
|Itemlabel=Columns
+
|parName=surftype
|OPfamily=SOP
+
}}<!--
|Parname=surftype
+
-->{{ParameterItem|itemName=rowcol
}}
+
|itemSummary=Both Rows and Columns. Looks like Quads in wire frame display, but all polygons are open (if the primitive type is polygon).
{{Menuitem
+
|itemLabel=Rows and Columns
|Itemname=rowcol
+
|opFamily=SOP
|Itemsummary=Both Rows and Columns. Looks like Quads in wire frame display, but all polygons are open (if the primitive type is polygon).
+
|parName=surftype
|Itemlabel=Rows and Columns
+
}}<!--
|OPfamily=SOP
+
-->{{ParameterItem|itemName=triangles
|Parname=surftype
+
|itemSummary=Build the grid with Triangles.
}}
+
|itemLabel=Triangles
{{Menuitem
+
|opFamily=SOP
|Itemname=triangles
+
|parName=surftype
|Itemsummary=Build the grid with Triangles.
+
}}<!--
|Itemlabel=Triangles
+
-->{{ParameterItem|itemName=quads
|OPfamily=SOP
+
|itemSummary=Generates sides composed of quadrilaterals (default).
|Parname=surftype
+
|itemLabel=Quadrilaterals
}}
+
|opFamily=SOP
{{Menuitem
+
|parName=surftype
|Itemname=quads
+
}}<!--
|Itemsummary=Generates sides composed of quadrilaterals (default).
+
-->{{ParameterItem|itemName=alttriangles
|Itemlabel=Quadrilaterals
+
|itemSummary=Generates triangles that are opposed; similar to the Triangles option.
|OPfamily=SOP
+
|itemLabel=Alternating Triangles
|Parname=surftype
+
|opFamily=SOP
}}
+
|parName=surftype
{{Menuitem
 
|Itemname=alttriangles
 
|Itemsummary=Generates triangles that are opposed; similar to the Triangles option.
 
|Itemlabel=Alternating Triangles
 
|OPfamily=SOP
 
|Parname=surftype
 
 
}}
 
}}
 
 
Line 114: Line 103:
 
}}
 
}}
 
{{Parameter|parItems=
 
{{Parameter|parItems=
{{Menuitem
+
{{ParameterItem|itemName=x
|Itemname=x
+
|itemSummary=
|Itemsummary=
+
|itemLabel=X Axis
|Itemlabel=X Axis
+
|opFamily=SOP
|OPfamily=SOP
+
|parName=orient
|Parname=orient
+
}}<!--
}}
+
-->{{ParameterItem|itemName=y
{{Menuitem
+
|itemSummary=
|Itemname=y
+
|itemLabel=Y Axis
|Itemsummary=
+
|opFamily=SOP
|Itemlabel=Y Axis
+
|parName=orient
|OPfamily=SOP
+
}}<!--
|Parname=orient
+
-->{{ParameterItem|itemName=z
}}
+
|itemSummary=
{{Menuitem
+
|itemLabel=Z Axis
|Itemname=z
+
|opFamily=SOP
|Itemsummary=
+
|parName=orient
|Itemlabel=Z Axis
 
|OPfamily=SOP
 
|Parname=orient
 
 
}}
 
}}
 
 
Line 156: Line 142:
 
{{Parameter|parItems=
 
{{Parameter|parItems=
 
{{floatitem
 
{{floatitem
|Itemname=tx
+
|itemName=tx
|Itemsummary=
+
|itemSummary=
|Itemlabel=X
+
|itemLabel=X
|OPfamily=SOP
+
|opFamily=SOP
|Parname=t
+
|parName=t
 
}}
 
}}
 
{{floatitem
 
{{floatitem
|Itemname=ty
+
|itemName=ty
|Itemsummary=
+
|itemSummary=
|Itemlabel=Y
+
|itemLabel=Y
|OPfamily=SOP
+
|opFamily=SOP
|Parname=t
+
|parName=t
 
}}
 
}}
 
{{floatitem
 
{{floatitem
|Itemname=tz
+
|itemName=tz
|Itemsummary=
+
|itemSummary=
|Itemlabel=Z
+
|itemLabel=Z
|OPfamily=SOP
+
|opFamily=SOP
|Parname=t
+
|parName=t
 
}}
 
}}
 
 
Line 188: Line 174:
 
{{Parameter|parItems=
 
{{Parameter|parItems=
 
{{floatitem
 
{{floatitem
|Itemname=rad1
+
|itemName=rad1
|Itemsummary=
+
|itemSummary=
|Itemlabel=""
+
|itemLabel=""
|OPfamily=SOP
+
|opFamily=SOP
|Parname=rad
+
|parName=rad
 
}}
 
}}
 
{{floatitem
 
{{floatitem
|Itemname=rad2
+
|itemName=rad2
|Itemsummary=
+
|itemSummary=
|Itemlabel=""
+
|itemLabel=""
|OPfamily=SOP
+
|opFamily=SOP
|Parname=rad
+
|parName=rad
 
}}
 
}}
 
 
Line 289: Line 275:
 
}}
 
}}
 
{{Parameter|parItems=
 
{{Parameter|parItems=
{{Menuitem
+
{{ParameterItem|itemName=off
|Itemname=off
+
|itemSummary=No UV coordinates added to surface.
|Itemsummary=No UV coordinates added to surface.
+
|itemLabel=Off
|Itemlabel=Off
+
|opFamily=SOP
|OPfamily=SOP
+
|parName=texture
|Parname=texture
+
}}<!--
}}
+
-->{{ParameterItem|itemName=rowcol
{{Menuitem
+
|itemSummary=Adds vertex UV coordinates.
|Itemname=rowcol
+
|itemLabel=Row & Columns
|Itemsummary=Adds vertex UV coordinates.
+
|opFamily=SOP
|Itemlabel=Row & Columns
+
|parName=texture
|OPfamily=SOP
 
|Parname=texture
 
 
}}
 
}}
 
 

Revision as of 18:58, 24 January 2019

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.

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.

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 • Alembic • Align • Arm • Attribute Create • Attribute • Basis • Blend • Bone Group • Boolean • Box • Bridge • Cache • Cap • Capture Region • Capture • Carve • CHOP to • Circle • Clay • Clip • Convert • 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 • Line • Line Thick • LOD • LSystem • Magnet • Material • Merge • Metaball • Model • Noise • Null • Object Merge • Oculus Rift • OpenVR • Out • Particle • Point • Polyloft • Polypatch • Polyreduce • Polyspline • Polystitch • Primitive • Profile • Project • Rails • Raster • Ray • Rectangle • Refine • Resample • Revolve • Script • Select • Sequence Blend • Skin • Sort • Sphere • Spring • Sprinkle • Sprite • Stitch • Subdivide • Superquad • Surfsect • Sweep • Switch • Text • Texture • Torus • Trace • Trail • Transform • Trim • Tristrip • Tube • Twist • Vertex • Wireframe • ZED