Vector Polar Input¶
Functionality¶
This node generates a vector from it’s cylindrical or spherical coordinates. Angles can be measured in radians or in degrees.
Inputs & Parameters¶
All parameters except for Coordinates
and Angles mode
can be specified using corresponding inputs.
The node will accept regular lists or lists of flat NumPy arrays
Parameter |
Type |
Default |
Description |
---|---|---|---|
Coordinates |
Cylindrical or Spherical |
Cylindrical |
Which coordinates system to use. |
Angles mode |
Radians or Degrees |
Radians |
Interpret input angles as specified in radians or degrees. |
rho |
Float |
0.0 |
Rho coordinate. |
phi |
Float |
0.0 |
Phi coordinate. |
z |
Float |
0.0 |
Z coordinate. This input is used only for cylindrical coordinates. |
theta |
Float |
0.0 |
Theta coordinate. This input is used only for spherical coordinates. |
Advanced Parameters¶
In the N-Panel (and on the right-click menu) you can find:
Output NumPy: Get NumPy arrays in stead of regular lists (makes node faster)
Outputs¶
This node has one output: Vectors. Inputs and outputs are vectorized, so if you pass series of values to one of inputs, you will get series of vectors.
Examples of usage¶
An archimedean spiral:
Number-> Number Range
Number-> Scalar Math
Modifiers->Modifier Make-> UV Connection
Viz-> Viewer Draw
Logariphmic spiral:
Number-> A Number
Number-> Number Range
Number-> Exponential Sequence
Modifiers->Modifier Make-> UV Connection
Viz-> Viewer Draw
Helix:
Number-> A Number
Number-> Number Range
Modifiers->Modifier Make-> UV Connection
Viz-> Viewer Draw
With spherical coordinates, you can easily generate complex forms:
Number-> A Number
Number-> Number Range
MUL X, SINE X, ADD X: Number-> Scalar Math
Modifiers->Modifier Make-> UV Connection
Viz-> Viewer Draw