Nodes ▸ Datasets ▸ Shapes
Sphere
A UV sphere surface with a chosen radius and center. theta_resolution sets the number of polar (pole-to-pole) divisions and phi_resolution the number of azimuthal divisions.
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 |
radius | primitive(number) | opt-in drives radius | Drives the Radius parameter while connected |
theta_resolution | primitive(number) | opt-in drives theta_resolution | Drives the Theta Resolution parameter while connected |
phi_resolution | primitive(number) | opt-in drives phi_resolution | Drives the Phi Resolution parameter while connected |
Outputs
dataset(surface)
Parameters
| Parameter | Kind | Default | Choices / range | Unit | Notes |
|---|---|---|---|---|---|
Radiusradius | float | 1 | R_sun | ⇄ port | |
Centercenter | vector | (0, 0, 0) | |||
Theta Resolutiontheta_resolution | int | 30 | ⇄ port | ||
Phi Resolutionphi_resolution | int | 30 | ⇄ port |