title |
---|
Exectuable 2dmTransform |
Transforming nodes of 2dm-mesh.
Usage
./bin/2dmTransform -h
usage: 2dmTransform [-x TRANSX] [-y TRANSY] [-z TRANSZ] [-s SCALE]
[-c COORDS_ORDER] [-h] [mesh-file]
Transform a 2dm-mesh: translation, scaling:
positional arguments:
mesh-file mesh (2dm)-file
optional arguments:
-x, --transX TRANSX Translation in x (type: FloatingPoint,
default: 0.0)
-y, --transY TRANSY Translation in x (type: FloatingPoint,
default: 0.0)
-z, --transZ TRANSZ Translation in x (type: FloatingPoint,
default: 0.0)
-s, --scale SCALE Scaling factor (type: FloatingPoint, default:
1.0)
-c, --coords_order COORDS_ORDER
Coordinate axis order (default: 1:2:3)
-h, --help show this help message and exit
Results are printed to stdout
. Hence redirection is necassary; eg:
2dmTransform --transX 49237 --transY 28385 < mesh.2md > mesh_trans.2dm