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
| Socket | Type | Wiring |
|---|
These settings are also output sockets, so another part can read the number instead of repeating it: radiusTop, radiusBottom, height.
Parameters
| Name | Type | Default | Available when | What it does |
|---|---|---|---|---|
| Top | number | 1 | always | |
| Bottom | number | 1 | always | |
| Height | number | 2 | always | |
| Radial Segments | number | 32 | always | |
| Height Segments | number | 1 | always |
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
- Combine and cutHow-to
- Make shapesHow-to
- My bend just tilted itFix
- My shape is the wrong sizeFix
- Your first graphLearn
- One Node, Many Shapesteaches this
- demo-fittingsdemoTen cylinders carry most of the joint vocabulary there, and it is the demo where the segment counts are doing visible work.
6 more teaching graphs use it without being about it.