segment

This command draws a straight segment in the geometry.

Inline mode usage

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

Interactive mode usage

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

Example

>segment
First point [x y z]: 0 0 0
Second point [x y z]: 3 3 2
> 

Result

Figure 1. Resulting segment