---
title: Cylinder
order: 5
---

A circular cylinder with optional edge rounding on the rim.

![Cylinder](../../assets/cylinder.webp)

## Parameters

- **Radius** — cap radius (default `1.0`)
- **Depth** — height along the local Z axis (default `2.0`)
- **Rounding + Profile** — applies to the top/bottom rim
- **Chamfer Smooth** *(Profile = Chamfer)* — softens where the chamfer meets the faces

## Notes

The rounding control affects only the two rims, so a cylinder with heavy rounding reads as a pill viewed side-on rather than a rounded-corner tube.

## See also

- [Cone](cone.md) — the same shape with an independently scaled top
- [Capsule](capsule.md) — hemispherical caps instead of flat ones
- [Prism](prism.md) — the faceted equivalent
