Coordinate Scalar Field¶
Functionality¶
This node generates a Scalar Field, the value of which at each point equals to one of coordinates of that point. For example, this node can generate a scalar field generated by function S(x,y,z) = x.
Cartesian, cylindrical and spherical coordinates are supported.
Inputs¶
This node has no inputs.
Parameters¶
This node has the following parameter:
Coordinate. The coordinate to use. The available values are:
X. Cartesian X coordinate. This option is the default one.
Y. Cartesian Y coordinate.
Z. Cartesian Z coordinate, or cylindrical Z coordinate - they are identical.
Rho - Cylindrical. Cylindrical Rho coordinate.
Phi. Cylindrical or spherical Phi coordinate - they are identical.
Rho - Spherical. Spherical Rho coordinate.
Theta - Spherical. Spherical Theta coordinate.
Outputs¶
This node has the following output:
Field. The generated scalar field.
Example of usage¶
Generator-> Box
Surfaces-> Marching Cubes
Number-> Number Range
Number-> Number Range
List->List Main-> List Length
Color-> Color In
Viz-> Viewer Draw
This node is useful in combination with “scalar field math”, “vector field math”, “compose vector field” and similar nodes. For example:
Surfaces-> Plane (Surface)
Surfaces-> Apply Field to Surface
Surfaces-> Evaluate Surface
Fields-> Scalar Field Math
Vector-> Vector In
Viz-> Viewer Draw