** Next:** GEOMETRY LINE SPLINE [lnam] pnam1 pnam2
**Up:** GEOMETRY LINE Control
** Previous:** GEOMETRY LINE PARALLEL [new_l] old_l dirn

This command will make a new line that is perpendicular to an existing line. It only works with straight lines.

new_l | = | name of the line to be created. |

old_l | = | name of an existing 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 perpendicular line, defined using either a guide point or by |

specifying a general plane. When a guide point is given the new line is created | ||

perpendicular to the old line and in the plane containing the guide point and the | ||

old line. 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, the length is the perpendicular distance in that plane. Otherwise if | ||

the direction has been specified using a guide point, the distance is the perpendicular | ||

distance from the old line towards the guide point. Finally, if a guide point | ||

is used but no distance is given then the length is the perpendicular distance | ||

from the old line 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 PERPENDIC L10 P45 P10 23**Will create a line (named automatically) perpendicular to line L10, starting at P45 in a direction towards point P10. The length of the line will be 23.

- 2.
**GEOMETRY LINE PERPENDIC LPERP23 L23 P35 XY 1.293**Will create a new line called LPERP23 perpendicular to L23, starting at P35, the new line will be 1.293 units long and be in a XY parallel to the current coordinate system.

- 3.
**GEOMETRY LINE PERPENDIC L11 P43 ZX 3.95 LOCAL RECT11 5**Will create a line perpendicular to L11 starting at P43. The new line will line in a plane parallel to the ZX plane of the coordinate system RECT11; the line will be 3.95 units long and have five divisions.

1st October 1999