Nodes ▸ Datasets ▸ Shapes
Cylinder
A capped cylinder surface with a chosen center, direction, radius and height. The direction can be wired in as a 3-element array.
Inputs
None.
Parameter ports
Added from the Parameters pane (⊕). While connected, each drives its parameter.
| Port | Accepts | Mode | Description |
|---|---|---|---|
centerCenter | primitive(array) dataset(stack) dataset(surface) | opt-in | center position; overrides the center parameter while connected |
directionDirection | primitive(array) | opt-in | Direction as a 3-element array, read in the current direction frame; overrides the Direction row while connected |
radius | primitive(number) | opt-in drives radius | Drives the Radius parameter while connected |
height | primitive(number) | opt-in drives height | Drives the Height parameter while connected |
resolution | primitive(number) | opt-in drives resolution | Drives the Resolution parameter while connected |
Outputs
dataset(surface)
Parameters
The Parameters pane shows only the parameters relevant to the current settings.
| Parameter | Kind | Default | Choices / range | Unit | Notes |
|---|---|---|---|---|---|
Centercenter | vector | (0, 0, 0) | |||
Direction framedirection_frame | choice | cartesian | cartesian | spherical | ||
Directiondirection | vector | (1, 0, 0) | |||
Directiondirection_sph | vector | (1, 0, 0) | |||
Radiusradius | float | 0.5 | R_sun | ⇄ port | |
Heightheight | float | 1 | R_sun | ⇄ port | |
Resolutionresolution | int | 100 | ⇄ port | ||
Cappingcapping | bool | true |
Used by
No stock template or group uses this node.