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.

Sphere

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
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

ParameterKindDefaultChoices / rangeUnitNotes
Radius
radius
float 1 R_sun ⇄ port
Center
center
vector (0, 0, 0)
Theta Resolution
theta_resolution
int 30 ⇄ port
Phi Resolution
phi_resolution
int 30 ⇄ port

Used by

Browse all templates using Sphere