Tube
This feature is not supported on the Wolfram Cloud.

Tube[{{x1,y1,z1},{x2,y2,z2},}]
represents a 3D tube around the line joining a sequence of points.

Tube[{pt1,pt2,},r]
represents a tube of radius r.

Tube[{{pt11,pt12,},{pt21,},},]
represents a collection of tubes.

Tube[curve,]
represents a tube around the specified 3D curve.

Details and OptionsDetails and Options

  • Tube renders as a circular 3D tube in Graphics3D.
  • The radius of the tube can be specified either in absolute coordinates, or as Scaled[s].
  • If no explicit radius is specified, Tube uses a small scaled radius.
  • Tube[{pt1,pt2,},{r1,r2,}] specifies a different tube radius at the position of each of the points .
  • Tube[{pt1,pt2,},] gives a tube consisting of a sequence of straight segments. It is equivalent to Tube[Line[{pt1,}],].
  • The following curve specifications can be used:
  • Line[]piecewise line segments
    BezierCurve[]composite Bezier curve
    BSplineCurve[]B-spline curve
  • By default, the joins between tube segments are rounded.
  • Different forms of joining between tube segments can be specified using JoinForm.
  • By default, the ends of the tube are rounded.
  • Different caps for the tube can be specified using CapForm.
  • CapForm[None] specifies that the end of the tube should be left open.
  • In Tube[curve,], curve can have head BezierCurve, BSplineCurve, or Line.
  • Colors and other material properties of tubes can be specified using color directives as well as Specularity and Glow.
  • Tubes can be specified as transparent using Opacity directives.
  • Individual coordinates and lists of coordinates in tubes can be Dynamic objects.
Introduced in 2008
(7.0)
| Updated in 2010
(8.0)