next up previous contents index
Next: GEOMETRY LINE ARC [lnam] pstart pend Up: GEOMETRY LINE Control Previous: GEOMETRY LINE Control

GEOMETRY LINE ANGLE [new_l] old_l angle start_p dirn [length] [refcs] [csname] [div]

  The effect of this command is to make a new line that is at a specified angle to an existing line. It works on straight lines only.


new_l = name of the line to be created.
old_l = name of an existing line.
angle = angle in degrees between the old line and the new line.
start_p = name of an existing point that the new line will start from. It does not have to
be one of the points defining `old_l'.
dirn = Direction for the new line, defined using either a guide point or by specifying
a general plane. When a guide point is given the new line is created, starting
at `start_p` in the direction of the guide point. If, however, XY, YZ or ZX is
used for `direction' then the new line will lie in a plane parallel to the specified
plane in either the current coordinate system or the coordinate system specified
by `csname'.
length = The length of the new line. If `dirn' above has been specified using a named
plane, `length' is the length of the line in that plane. Otherwise if the
direction has been specified using a guide point, the distance is measured from the
start point towards the guide point. Finally, if a guide point is used but no
distance is given then the length is the distance from the start point to the
guide point.
refcs = Reference coordinate system (either GLOBAL or LOCAL) for interpretation
of the direction specified above. If specified 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 with
MESHING DIVISIONS DEFAULT; the initial value is 4.

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 ANGLE L10 23.9 P45 P10

Will create a line (named automatically) at an angle of 23.9 degrees to line L10, from P45 in the general direction of P10. The length of the line is the distance from P45 to P10.

2.
GEOMETRY LINE ANGLE LANG23 L23 22.5 P35 XY 1.293

Will create a new line called LANG23 at an angle of 22.5 degrees to L23, starting at P35 with a length of 1.293 in a plane parallel to the XY plane of the current coordinate system.

3.
GEOMETRY LINE ANGLE L11 60 P43 ZX 3.95 LOCAL RECT11 5

Will create a line at an angle of 60 degrees to L11 starting at P43. The new line will line in a plane parallel to the ZX plane of the local coordinate system RECT11; the line will be 3.95 units long and have five divisions.


next up previous contents index
Next: GEOMETRY LINE ARC [lnam] pstart pend Up: GEOMETRY LINE Control Previous: GEOMETRY LINE Control

Femsys Limited
1st October 1999