line

This command generates a straight line in the geometry.

Inline mode usage

line -h
Displays the help file that summarizes the parameters for this command.
line –n <name> -p <x1> <y1> <z1> <x2> <y2> <z2>
Draws a straight line between the two points specified by the user.

Interactive mode usage

Invocation
line
Parameters
  • Initial point of the line.
  • Final point of the line.

Example

>line
First point [x y z]: 0.5 1 0
Second point [x y z]: 1 0 2
>

Result

Figure 1. Resulting straight line