next up previous contents index
Next: GEOMETRY LINE PERPENDIC [new_l] old_l start_p Up: GEOMETRY LINE Control Previous: GEOMETRY LINE NODES [lnam] pnam1 pnam2

GEOMETRY LINE PARALLEL [new_l] old_l dirn [dist] [refcs] [csname] [div]

 

This command is used to create a parallel copy of an existing line. It will only work on straight lines.


new_l = name of the line to be created.
old_l = name of the old line to be copied.
dirn = Direction of the offset between the old_line and the new_line. Can be specified
either by use of a guide point or by use of X or Y or Z to refer to an existing
rectangular coordinate system.
dist = The distance between the 'old_line' and the 'new_line'. If `dirn' above has
been specified using a named axis direction, `dist' is the translation along that
axis. Otherwise if the direction has been specified using a guide point, the
distance given is the perpendicular distance between the two lines. If a guide
point is used but no distance is given then the perpendicular distance from the
line to the guide point is used.
refcs = Reference coordinate system (either GLOBAL or LOCAL) for interpretation
of the direction specified above. This will override the currently active
coordinate system. If `LOCAL' is specified then the name of an existing local
coordinate system must be given.
csname = name of an existing local coordinate system previously defined using
`CONSTRUCT COORDSYS'. It can only be a rectangular coordinate system.
div = the number of divisions to be created along the line. The default is set
by MESHING DIVISION DEFAULT; the initial value is 4.

The line that is created will have the same length as the old line. The new line will lie in the plane containing the old line and the guide point (if used), or if an axis direction is given the plane is defined by the old line and the axis vector.

If a coordinate system direction is specified then this will be interpreted in the currently active coordinate system unless the user gives `GLOBAL' or `LOCAL' with an existing coordinate system name. Local coordinate systems can be defined using the command CONSTRUCT COORDSYS.

Examples:

1.
GEOMETRY LINE PARALLEL L10 P45 23

Will create a line (named automatically) parallel to line L10 in a direction towards point P45. The perpendicular distance between the two lines will be 23.

2.
GEOMETRY LINE PARALLEL LPAR23 L23 X 1.293

Will create a new line called LPAR23 parallel to L23, the distance between them is 1.293 in the X axis of the current coordinate system.

3.
GEOMETRY LINE PARALLEL L11 Z -3.95 LOCAL RECT11 5

Will create a line parallel to L11 offset by 3.95 in the negative Z direction of coordinate system RECT11. This will override the current coordinate system. The new line will have five divisions.


next up previous contents index
Next: GEOMETRY LINE PERPENDIC [new_l] old_l start_p Up: GEOMETRY LINE Control Previous: GEOMETRY LINE NODES [lnam] pnam1 pnam2

Femsys Limited
1st October 1999