next up previous contents index
Next: CONSTRUCT XSECTION Up: CONSTRUCT TRANSFORM Previous: CONSTRUCT TRANSFRM SCALE [tnam] pnam1 pnam2

CONSTRUCT TRANSFRM TRANSLATE [trnam] pnam1 pnam2
or: ... [trnam] xyz [refcs] [csname] [depn]

      

This command is used to define a transformation as a translation vector.


trnam = name of the transformation.
pnam = The transformation is defined by specifying two existing points whose
relative positions define the translation vector. The 1st point given is taken as
the `from' point and the 2nd as the `to' point. The points may be identified
by name or picked using the graphics cursor.
xyz = The transformation is defined by specifying the x, y, z values of a translation
vector. These will be interpreted in the `GLOBAL' coordinate system unless
a coordinate system is active or a coordinate system name is given.
refcs = Reference axis type for interpretation of the coordinates, either `GLOBAL'
or `LOCAL'. This will override the currently active system. If `LOCAL' is
specified then the name of an existing local coordinate system must be given.
('LOCAL' can be omitted and just the name of an existing local system can
be given.)
csname = Name of an existing local coordinate system defined previously using
CONSTRUCT COORDSYS.
depn = Control for the translation, either `INDEPEND' or `DEPENDEN'.
When a translation is specified as being `INDEPEND' the translation
vector is converted into the global system, it is unaffected by any
subsequent changes to parameters or coordinate systems. (This is the default).
When the current axis system is global or `GLOBAL' is specified in the translation
definition then `INDEPEND' is enforced.
`DEPENDEN' specifies that the translation is to be implicitly redefined if the
coordinate system that the translation refers to is altered in any way. When
further geometry is defined with the translation the redefined translation will
be used.
When a local system is active or a local system name is used then the
translation is `DEPENDEN' on the local system.
(See also note 2 below.)

This command is used to define a translation transformation for use in GEOMETRY SWEEP,GEOMETRY COPY and GEOMETRY MOVE commands.

Notes:

1.
Parameters When parameters are used in the definition of the translation, the translation will be dependent on the parameters (and a local coordinate system if active or specified) unless `INDEPEND' is specified.

2.
DEPENDENT

In the context of this command `DEPENDENT' refers to the translation definition itself. If the translation is dependent and uses a local coordinate system then repositioning the points defining the coordinate system will have a corresponding effect on the translation when it is next used. It should not be confused with `DEPENDENT' for GEOMETRY SWEEP and GEOMETRY COPY which creates a relationship between the original `part(s)' and the copy(ies).

3.
Translations and non rectangular coordinate systems

Although translations may be defined using cylindrical or spherical coordinate systems it is recommended that only rectangular systems are used.

Examples:

1.
CONSTRUCT TRANSFRM TRANSLATE TR1 1 2 3.4

This defines a translation vector, called TR1, of x = 1, y = 2, x = 3.4. It will be defined in the GLOBAL coordinate system.

2.
CONSTRUCT TRANSFRM TRANSLATE P6 P23

This defines a translation, equal to the direction vector defined by the relative position of point P23 with respect to point P6. As no name is specified for the transformation a name will be generated automatically.

3.
CONSTRUCT TRANSFRM TRANSLATE TRANS1 3.2 1.9 0 RECT1

This defines a translation vector, called TRANS1, of x = 3.2, y = 1.9 and z = 0 in the previously defined coordinate system RECT1 (this overrides the current coordinate system). If the coordinate system RECT1 is modified there will be no change to the geometry created with this command (unless `DEPENDENT' is also specified).

See also the following commands

'GEOMETRY COPY'
'GEOMETRY MOVE'
'GEOMETRY SWEEP'


next up previous contents index
Next: CONSTRUCT XSECTION Up: CONSTRUCT TRANSFORM Previous: CONSTRUCT TRANSFRM SCALE [tnam] pnam1 pnam2

Femsys Limited
1st October 1999