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.
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 |
normalNormal | 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.
| Parameter | Kind | Default | Choices / range | Unit | Notes |
|---|---|---|---|---|---|
Centercenter | vector | (0, 0, 0) | |||
Innerinner | float | 0.25 | R_sun | ⇄ port | |
Outerouter | float | 0.5 | R_sun | ⇄ port | |
Direction framedirection_frame | choice | cartesian | cartesian | spherical | ||
Normalnormal | vector | (0, 0, 1) | |||
Normalnormal_sph | vector | (1, 0, 0) | |||
R Resolutionr_res | int | 1 | ⇄ port | ||
C Resolutionc_res | int | 6 | ⇄ port |