coord-transf.2d elements3d elementsnon geo scriptsfunctionscontrol statem.attributesvariousaddons
Coordinate transformations
The commands are treated here which provide for the fact that 2D elements and 3D elements of the script can change their position and rotation.

Because in GDL all geometrical shapes are always bound to a local origin and whose transformation cannot be mostly given in the command, not the shapes are moved and rotated, but the complete co-ordinate system (or the co-ordinate origin). To change an element in position or orientation suitable "co-ordinate transformations" of the origin of reference are necessary before the command.
All co-ordinate transformations are to be accommodated in 2D-Script and in 3D-Script.
Local origin
The local origin of an object arises from the positioning of the elements in the object and is fixed unambiguously in the relation to the order of an object in the project. All elements no matter whether 2D or 3D refer always relatively to this zero.

The object zero does not correspond to the project origin which is defined in the plan and the floor settings. The object zero is noted relatively to the project origin in the project (inside). Therefore the object is firmly defined in its position in the project and has object-inside its own frame of reference.

In order to use the object every catch point of the object can be chosen in the setting dialog. If the point does not lie in the origin of the object relation system, the zero of the object lies in the project likewise relatively around the pawning of this catch point / point of positioning. See moreover SYMB_POS_X .
Operation of transformation
Then by a transformation order all following orders refer to this new zero. Until this origin was changed once more or the transformation was cancelled with a change transformation stacks .

Besides, many and different transformations can be explained arbitrarily successively.