Transform (translate, rotate, scale) a surface.
Original source file surfaceTransformPoints.C
- Usage
- surfaceTransformPoints "\<transformations\>" <input> <output> Supported transformations:
- translate=
- Translational transformation by given vector
- rotate=(<n1 vector> <n2 vector>)
- Rotational transformation from unit vector n1 to n2
- Rx=<angle [deg] about x-axis>
- Rotational transformation by given angle about x-axis
- Ry=<angle [deg] about y-axis>
- Rotational transformation by given angle about y-axis
- Rz=<angle [deg] about z-axis>
- Rotational transformation by given angle about z-axis
- Ra=<axis vector> <angle [deg] about axis>
- Rotational transformation by given angle about given axis
- scale=<x-y-z scaling vector>
- Anisotropic scaling by the given vector in the x, y, z coordinate directions
Example usage: surfaceTransformPoints \ "translate=(-0.586 0 -0.156), \ Ry=3.485, \ translate=(0.586 0 0.156)" \ constant/geometry/w3_orig.stl constant/geometry/w3.stl
- See also
- Foam::transformer transformPoints
Definition in file surfaceTransformPoints.C.