Nodes ▸ Datasets ▸ Shapes

Disc

An annular disc surface with a chosen center, inner and outer radius and normal direction, which can be wired in as a 3-element array.

Disc

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
normal
Normal
primitive(array) opt-in Normal as a 3-element array, read in the current direction frame; overrides the Normal row while connected
inner primitive(number) opt-in
drives inner
Drives the Inner parameter while connected
outer primitive(number) opt-in
drives outer
Drives the Outer parameter while connected
r_res primitive(number) opt-in
drives r_res
Drives the R Resolution parameter while connected
c_res primitive(number) opt-in
drives c_res
Drives the C 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)
Inner
inner
float 0.25 R_sun ⇄ port
Outer
outer
float 0.5 R_sun ⇄ port
Direction frame
direction_frame
choice cartesian cartesian | spherical
Normal
normal
vector (0, 0, 1)
Normal
normal_sph
vector (1, 0, 0)
R Resolution
r_res
int 1 ⇄ port
C Resolution
c_res
int 6 ⇄ port

Used by

Browse all templates using Disc