coord-transf.2d elements3d elementsnon geo scriptsfunctionscontrol statem.attributesvariousaddons
2d-transform.3d-transform.3d-complextransf.-stack
ADDx ADDy ADDz ROTx ROTy ROTz MULx MULy MULz
Name
ROTz
Syntax
ROTzangle
Aufklappen Range
angle, type real (degree)
Aufklappen Description
Rotates the coordinate system around the z-axis by angle. Consequently it corresponds to the ROT2 command in 2D.
Aufklappen Example
BLOCK 1,1,1
ROTz 135
BLOCK 1,1,1
Aufklappen Context
3D-script
Aufklappen Tips and Tricks
To remeber the rotation direction you can use the "right hand rule": If the thumb points into the direction of the positive Z-axis (=rotation axis) and you curve the rest of the fingers a bit into the form of a fist and they show you the direction of rotation for the positive values of angle.
Aufklappen References
GDL-Handbuch 4.5 (DE) p. 22
GDL-Handbuch 5.0 (DE) p. 27
GDL-Handbuch 6.0 (DE) p. 29
GDL-Handbuch 6.5 (DE) p. 24
GDL-Handbuch 7.0 (DE) p. 24
GDL-Handbuch 8.0 (DE) p. 16
GDL-Handbuch 8.1 (DE) p. 17
GDL-Handbuch 9.0 (DE) p. 30
GDL-Handbuch 10.0 (DE) p. 28
GDL-Handbuch 11.0 (DE) p. 28
GDL Reference Guide 9.0 (INT) p. 30
GDL Reference Guide 10.0 (INT) p. 28
GDL Reference Guide 11.0 (INT) p. 28
GDL Cookbook 3.1 (EN/DE) p. 1.8