Nodes ▸ Datasets ▸ Shapes

Grid Lines

A structured spherical grid of lines: for each of r, θ and φ, a range, the number of lines across it and the sample resolution along it, output as a polyline mesh. Equal range endpoints collapse that axis, so a single radius makes a longitude-latitude graticule, and a single colatitude and longitude make a polar axis; narrow ranges make a box around one location.

Grid Lines

Inputs

None.

Parameter ports

Added from the Parameters pane (⊕). While connected, each drives its parameter.

PortAcceptsModeDescription
r primitive(array) opt-in
drives r
Drives the r range parameter while connected
r_lines primitive(array) opt-in
drives r_lines
Drives the r lines parameter while connected
t primitive(array) opt-in
drives t
Drives the θ range parameter while connected
t_lines primitive(array) opt-in
drives t_lines
Drives the θ lines parameter while connected
p primitive(array) opt-in
drives p
Drives the φ range parameter while connected
p_lines primitive(array) opt-in
drives p_lines
Drives the φ lines parameter while connected

Outputs

dataset(mesh)

Parameters

ParameterKindDefaultChoices / rangeUnitNotes
r range
r
range (1, 5) R_sun ⇄ port
r lines
r_lines
intvector (5, 2) ⇄ port
θ range
t
range (0, 180) deg ⇄ port
θ lines
t_lines
intvector (7, 60) ⇄ port
φ range
p
range (0, 360) deg ⇄ port
φ lines
p_lines
intvector (13, 120) ⇄ port

Used by

Browse all templates using Grid Lines