*tangentbetweenlines

Creates a tangent line between two lines.

Syntax

*tangentbetweenlines line1 id, line2 id checkpoints lineselected

Type

HyperMesh Tcl Modify

Description

Creates a tangent line between two lines.

Inputs

line1 id
The ID of the first line to which the tangent line is to be created.
line2 id
The ID of the second line to which the tangent line is to be created.
checkpoints
The number of points to check in each line segment for tangency.
lineselected
The tangent line selected, if more than one exists.

Example

To create a tangent between lines 1 and 2:

*tangentbetweenlines(1,2,10,0)

If more than one tangent line is found, you must select the necessary tangent line. The number of this line (based on the order in which the tangents were found) is then used in the command string.

Errors

None.