Difference between revisions of "Tube SOP"

From Derivative
Jump to navigation Jump to search
(cleaning)
Line 1: Line 1:
 
{{Summary
 
{{Summary
|OPtype=tube
+
|opType=tube
|OPlabel=Tube
+
|opLabel=Tube
 
|short=The Tube SOP generates open or closed tubes, cones, or pyramids along the X, Y or Z axes.
 
|short=The Tube SOP generates open or closed tubes, cones, or pyramids along the X, Y or Z axes.
|OPclass=tubeSOP_Class
+
|opClass=tubeSOP_Class
|OPfamily=SOP
+
|opFamily=SOP
 
|long=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]].
 
|long=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]].
|OPlicense=Non-Commercial
+
|opLicense=Non-Commercial
|OPfilter=False
+
|opFilter=False
 
}}
 
}}
 
{{ParameterPage
 
{{ParameterPage
|Pagename=Tube
+
|pageName=Tube
|Pagesummary=
+
|pageSummary=
|OPfamily=SOP
+
|opFamily=SOP
 
|items=
 
|items=
{{ParMenu
+
{{Parameter|parItems=
|Paritems=
 
 
{{Menuitem
 
{{Menuitem
 
|Itemname=prim
 
|Itemname=prim
Line 52: Line 51:
 
}}
 
}}
 
 
|Parlabel=Primitive Type
+
|parLabel=Primitive Type
|OPtype=tube
+
|opType=tube
|OPfamily=SOP
+
|opFamily=SOP
|Parsummary=Select from the following types. For information on the different types, see the [[:Category:Geometry|Geometry]] category articles.
+
|parSummary=Select from the following types. For information on the different types, see the [[:Category:Geometry|Geometry]] category articles.
|Parorder=0
+
|parOrder=0
|Parname=type
+
|parName=type
}}
+
|parType=
{{ParMenu
+
|parReadOnly=
|Paritems=
+
}}
 +
{{Parameter|parItems=
 
{{Menuitem
 
{{Menuitem
 
|Itemname=rows
 
|Itemname=rows
Line 104: Line 104:
 
}}
 
}}
 
 
|Parlabel=Connectivity
+
|parLabel=Connectivity
|OPtype=tube
+
|opType=tube
|OPfamily=SOP
+
|opFamily=SOP
|Parsummary=This option is used to select the type of surface, when using a Mesh Primitive Type.
+
|parSummary=This option is used to select the type of surface, when using a Mesh Primitive Type.
|Parorder=1
+
|parOrder=1
|Parname=surftype
+
|parName=surftype
}}
+
|parType=
{{ParMenu
+
|parReadOnly=
|Paritems=
+
}}
 +
{{Parameter|parItems=
 
{{Menuitem
 
{{Menuitem
 
|Itemname=x
 
|Itemname=x
Line 135: Line 136:
 
}}
 
}}
 
 
|Parlabel=Orientation
+
|parLabel=Orientation
|OPtype=tube
+
|opType=tube
|OPfamily=SOP
+
|opFamily=SOP
|Parsummary=Primary axis of tube (long axis).
+
|parSummary=Primary axis of tube (long axis).
|Parorder=2
+
|parOrder=2
|Parname=orient
+
|parName=orient
}}
+
|parType=
{{ParToggle
+
|parReadOnly=
|Parlabel=Modify Bounds
+
}}
|OPtype=tube
+
{{Parameter|parLabel=Modify Bounds
|OPfamily=SOP
+
|opType=tube
|Parsummary=
+
|opFamily=SOP
|Parorder=3
+
|parSummary=
|Parname=modifybounds
+
|parOrder=3
}}
+
|parName=modifybounds
{{ParFloat
+
|parType=
|Paritems=
+
|parReadOnly=
 +
|parItems=}}
 +
{{Parameter|parItems=
 
{{floatitem
 
{{floatitem
 
|Itemname=tx
 
|Itemname=tx
Line 174: Line 177:
 
}}
 
}}
 
 
|Parlabel=Center
+
|parLabel=Center
|OPtype=tube
+
|opType=tube
|OPfamily=SOP
+
|opFamily=SOP
|Parsummary=Location of the tube center from the object origin.
+
|parSummary=Location of the tube center from the object origin.
|Parorder=4
+
|parOrder=4
|Parname=t
+
|parName=t
}}
+
|parType=
{{ParFloat
+
|parReadOnly=
|Paritems=
+
}}
 +
{{Parameter|parItems=
 
{{floatitem
 
{{floatitem
 
|Itemname=rad1
 
|Itemname=rad1
Line 198: Line 202:
 
}}
 
}}
 
 
|Parlabel=Radius
+
|parLabel=Radius
|OPtype=tube
+
|opType=tube
|OPfamily=SOP
+
|opFamily=SOP
|Parsummary=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.
+
|parSummary=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.
|Parorder=5
+
|parOrder=5
|Parname=rad
+
|parName=rad
}}
+
|parType=
{{ParFloat
+
|parReadOnly=
|Parlabel=Height
+
}}
|OPtype=tube
+
{{Parameter|parLabel=Height
|OPfamily=SOP
+
|opType=tube
|Parsummary=The height of the tube.
+
|opFamily=SOP
|Parorder=6
+
|parSummary=The height of the tube.
|Parname=height
+
|parOrder=6
}}
+
|parName=height
 +
|parType=
 +
|parReadOnly=
 +
|parItems=
 +
}}
 
 
 
}}
 
}}
 
{{ParameterPage
 
{{ParameterPage
|Pagename=Detail
+
|pageName=Detail
|Pagesummary=
+
|pageSummary=
|OPfamily=SOP
+
|opFamily=SOP
 
|items=
 
|items=
{{ParToggle
+
{{Parameter|parLabel=Imperfect
|Parlabel=Imperfect
+
|opType=tube
|OPtype=tube
+
|opFamily=SOP
|OPfamily=SOP
+
|parSummary=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.
|Parsummary=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.
+
|parOrder=0
|Parorder=0
+
|parName=imperfect
|Parname=imperfect
+
|parType=
}}
+
|parReadOnly=
{{ParInteger
+
|parItems=
|Parlabel=Rows
+
}}
|OPtype=tube
+
{{Parameter|parLabel=Rows
|OPfamily=SOP
+
|opType=tube
|Parsummary=Number of rows in tube.
+
|opFamily=SOP
|Parorder=1
+
|parSummary=Number of rows in tube.
|Parname=rows
+
|parOrder=1
}}
+
|parName=rows
{{ParInteger
+
|parType=
|Parlabel=Columns
+
|parReadOnly=
|OPtype=tube
+
|parItems=
|OPfamily=SOP
+
}}
|Parsummary=Number of columns in tube.
+
{{Parameter|parLabel=Columns
|Parorder=2
+
|opType=tube
|Parname=cols
+
|opFamily=SOP
}}
+
|parSummary=Number of columns in tube.
{{ParInteger
+
|parOrder=2
|Parlabel=U Order
+
|parName=cols
|OPtype=tube
+
|parType=
|OPfamily=SOP
+
|parReadOnly=
|Parsummary=If a spline surface is selected, it is built at this order for U.
+
|parItems=
|Parorder=3
+
}}
|Parname=orderu
+
{{Parameter|parLabel=U Order
}}
+
|opType=tube
{{ParInteger
+
|opFamily=SOP
|Parlabel=V Order
+
|parSummary=If a spline surface is selected, it is built at this order for U.
|OPtype=tube
+
|parOrder=3
|OPfamily=SOP
+
|parName=orderu
|Parsummary=If a spline surface is selected, it is built at this order for V.
+
|parType=
|Parorder=4
+
|parReadOnly=
|Parname=orderv
+
|parItems=
}}
+
}}
{{ParToggle
+
{{Parameter|parLabel=V Order
|Parlabel=End Caps
+
|opType=tube
|OPtype=tube
+
|opFamily=SOP
|OPfamily=SOP
+
|parSummary=If a spline surface is selected, it is built at this order for V.
|Parsummary= If selected, it adds faceted end caps to the ends of the tube.
+
|parOrder=4
|Parorder=5
+
|parName=orderv
|Parname=cap
+
|parType=
}}
+
|parReadOnly=
{{ParMenu
+
|parItems=
|Paritems=
+
}}
 +
{{Parameter|parLabel=End Caps
 +
|opType=tube
 +
|opFamily=SOP
 +
|parSummary= If selected, it adds faceted end caps to the ends of the tube.
 +
|parOrder=5
 +
|parName=cap
 +
|parType=
 +
|parReadOnly=
 +
|parItems=
 +
}}
 +
{{Parameter|parItems=
 
{{Menuitem
 
{{Menuitem
 
|Itemname=off
 
|Itemname=off
Line 285: Line 304:
 
}}
 
}}
 
 
|Parlabel=Texture Coordinates
+
|parLabel=Texture Coordinates
|OPtype=tube
+
|opType=tube
|OPfamily=SOP
+
|opFamily=SOP
|Parsummary=Adds UV texture coordinates to the sphere.
+
|parSummary=Adds UV texture coordinates to the sphere.
|Parorder=6
+
|parOrder=6
|Parname=texture
+
|parName=texture
}}
+
|parType=
 +
|parReadOnly=
 +
}}
 
 
 
}}
 
}}
{{ParToggle
+
{{Parameter|parLabel=Compute Normals
|Parlabel=Compute Normals
+
|opType=tube
|OPtype=tube
+
|opFamily=SOP
|OPfamily=SOP
+
|parSummary=
|Parsummary=
+
|parOrder=1
|Parorder=1
+
|parName=normals
|Parname=normals
+
|parType=
}}
+
|parReadOnly=
{{History
+
|parItems=}}
 +
{{InputsPage
 +
|opFamily=SOP
 +
|opInputs={{OPInput
 +
|opFamily=SOP
 +
|inputIndex=0
 +
|inputName=
 +
|inputSummary=
 +
}}
 +
}}{{History
 
}}
 
}}
 
{{SOPNavBox
 
{{SOPNavBox
|OPfamily=SOP
+
|opFamily=SOP
 
}}
 
}}
 
{{#invoke:Category
 
{{#invoke:Category
 
|list|SOPs}}
 
|list|SOPs}}

Revision as of 16:30, 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.

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

Orientation orient - - Primary axis of tube (long axis).

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.


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