Coordinate Scalar Field

https://github.com/nortikin/sverchok/assets/14288520/0be09d92-f2da-40e3-96b1-a7565f66cbc6

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.

https://github.com/nortikin/sverchok/assets/14288520/17b237ba-b394-42c4-ad8c-a8f41da2a98c

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.

      https://github.com/nortikin/sverchok/assets/14288520/cabfb96e-f2b1-430c-8355-47a46c7d8685
    • Y. Cartesian Y coordinate.

      https://github.com/nortikin/sverchok/assets/14288520/df3efe56-83ee-4ccb-b514-138c7600724d
    • Z. Cartesian Z coordinate, or cylindrical Z coordinate - they are identical.

      https://github.com/nortikin/sverchok/assets/14288520/b57f0e6a-e0b5-48b6-9060-4db22f62ec67
    • Rho - Cylindrical. Cylindrical Rho coordinate.

      https://github.com/nortikin/sverchok/assets/14288520/06f6f981-554c-4882-8304-5d2bd1b8aa58
    • Phi. Cylindrical or spherical Phi coordinate - they are identical.

      https://github.com/nortikin/sverchok/assets/14288520/ee7f4a5a-8c30-4794-afe5-21cbb5809b5d
    • Rho - Spherical. Spherical Rho coordinate.

      https://github.com/nortikin/sverchok/assets/14288520/55de4207-31ce-4648-9a5b-70731368dc3d
    • Theta - Spherical. Spherical Theta coordinate.

      https://github.com/nortikin/sverchok/assets/14288520/c6fca188-671c-4b80-ac9e-15cdb6c6ac9c

Outputs

This node has the following output:

  • Field. The generated scalar field.

Example of usage

https://github.com/nortikin/sverchok/assets/14288520/d7eb084f-7773-4d3e-8299-2b4b8d1ca690

This node is useful in combination with “scalar field math”, “vector field math”, “compose vector field” and similar nodes. For example:

https://user-images.githubusercontent.com/284644/80824284-8e5f1380-8bf7-11ea-86e1-c7f590deb247.png