Nodes ▸ Datasets ▸ Shapes

Cone

A capped cone surface with a chosen center, direction, height and radius. The direction can be wired in as a 3-element array.

Cone

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
height primitive(number) opt-in
drives height
Drives the Height parameter while connected
radius primitive(number) opt-in
drives radius
Drives the Radius 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)
Height
height
float 1 R_sun ⇄ port
Radius
radius
float 0.5 R_sun ⇄ port
Resolution
resolution
int 6 ⇄ port

Used by

No stock template or group uses this node.