**SPLINE****SPLINE**, `P1`

, `P2`

, `P3`

, `P4`

, `P5`

, `P6`

, `XV1`

, `YV1`

, `ZV1`

, `XV6`

, `YV6`

, `ZV6`

**Generates a segmented spline through a series of keypoints.**

`P1`

, `P2`

, `P3`

,
. . . , `P6`

Keypoints through which the spline is fit. At least two must
be defined. If `P1`

= P, graphical picking is enabled
and all remaining command fields are ignored (valid only in the GUI).

The following fields are used only if specified end slopes on the line
are desired, otherwise zero curvature end slopes will be automatically calculated
to produce a line which is "straight" in the active coordinate system. To
specify end slopes, use the following fields to define a "slope vector" (one
for each end of the line, if desired) that has its tail at the origin and
its head at the point *XVn*,*YVn*, *ZVn* in the active coordinate system [**CSYS**].
The corresponding end slope of the line will then be parallel to this "slope
vector."

`XV1`

, `YV1`

, `ZV1`

Location (in the active coordinate system) of the head of
the "slope vector" corresponding to the slope at the `P1`

end
of the spline. The tail of the vector is at the origin of the coordinate
system.

`XV6`

, `YV6`

, `ZV6`

Location of the head of the "slope vector" corresponding to
the slope at the `P6`

(or the last keypoint if fewer
than six specified) end of the spline.

## Notes

The output from this command is a series of connected lines (one line
between each pair of keypoints) that together form a spline. Note that solid
modeling in a toroidal coordinate system is not recommended.