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.

Cylinder

Inputs

None.

Parameter ports

Added from the Parameters pane (⊕). While connected, each drives its parameter.

PortAcceptsModeDescription
center
Center
primitive(array) dataset(stack) dataset(surface) opt-in center position; overrides the center parameter while connected
direction
Direction
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.

ParameterKindDefaultChoices / rangeUnitNotes
Center
center
vector (0, 0, 0)
Direction frame
direction_frame
choice cartesian cartesian | spherical
Direction
direction
vector (1, 0, 0)
Direction
direction_sph
vector (1, 0, 0)
Radius
radius
float 0.5 R_sun ⇄ port
Height
height
float 1 R_sun ⇄ port
Resolution
resolution
int 100 ⇄ port
Capping
capping
bool true

Used by

No stock template or group uses this node.