DocsNodesPrimitives

Cylinder

A tube or a post, standing upright, and a cone if you close one end.

tube, pipe, post, column, pillar, rod, barrel, can
Category
Primitives
Outputs
mesh
Runs live in
no target yet

It stands up the Y axis by default, so a post, a column or a bottle needs no turning. Lay it down with a Transform when it should be a pipe run or a fallen log.

The two radii are separate, which is what makes this more than a tube. Match them for a straight post, make one smaller for a taper, take one to zero and you have a cone, although the Cone node gives a truer point.

Radial Segments decides how round it looks: low numbers read as faceted, which is often what you want. Height Segments adds rings up the length, and those only matter when something downstream is going to bend or twist it.

Inputs

SocketTypeWiring

These settings are also output sockets, so another part can read the number instead of repeating it: radiusTop, radiusBottom, height.

Parameters

NameTypeDefaultAvailable whenWhat it does
Topnumber1always
Bottomnumber1always
Heightnumber2always
Radial Segmentsnumber32always
Height Segmentsnumber1always

Watch out

A cylinder that tilts instead of curving when you bend it has no rings in the middle. Raise Height Segments to six or more before bending.

Built with this node

6 more teaching graphs use it without being about it.

See also

  • coneFor a real point rather than a taper that stops short of one.
  • torusFor a ring rather than a solid post.

Open the editor and try it