Line

Use Line to create a free-form spline made of multiple segments.

Example of line

Tip: While creating a Line spline, you can use the mouse to pan and orbit the viewport between steps. To pan the viewport, drag with the middle mouse button or scroll with the mouse wheel. To orbit the viewport, press and hold the Alt key and drag with the middle mouse button or scroll with the mouse wheel.

Procedures

Create a line:

  1. Go to the Create panel, click (Shapes), then click the Line button.
  2. Choose a creation method.
  3. Click or drag the start point.

    Clicking creates a corner vertex; dragging and releasing creates a Bezier vertex.

  4. Move the mouse, then click or drag additional points.

    Clicking creates a corner vertex; dragging and releasing creates a Bezier vertex.

  5. To finish, do one of the following:
    • To create an open spline that ends at the last vertex you added, right-click.
    • To create a closed spline, click the first vertex and click Yes in the "Close spline?" dialog; this combines the first and last vertices. Clicking No lets you continue the spline.

To create a line using rectilinear and angle-snap options:

The angle for each new segment relates to the previous segment, so the angle snap works only after you've placed the first two spline vertices (that is, the first segment). Angle Snap need not be enabled for this feature to work.

Create a Line spline from the keyboard:

  1. Go to the Create panel, click (Shapes), then click the Line button.
  2. On the Keyboard Entry rollout, enter values in the X, Y, and Z fields to specify a vertex coordinate.
  3. Click Add Point to add a vertex to the current line at the specified coordinate.
  4. Repeat steps 2 and 3 for each additional vertex.
  5. Do one of the following:
    • Click Finish to create an open spline.
    • Click Close to connect the current vertex to the first vertex and create a closed spline.

Interface

Automatic Conversion to an Editable Spline

Because the Line object has no dimension parameters to be carried over to the Modify panel, it converts to an editable spline when you move from the Create panel to the Modify panel. While you are creating the line, the Create panel displays the original controls, such as Interpolation, Rendering, Creation Method, and Keyboard Entry. After creating the line, when you go to the Modify panel you have immediate access to the Selection and Geometry rollouts to edit the vertices or any part of the shape.

Rendering and Interpolation rollouts

All spline-based shapes share these parameters. See Splines for an explanation of these parameters.

Creation Method rollout

Creation method options for lines are different from other spline tools. You choose options to control the type of vertex created when you click or drag vertices.

You can preset the default types of spline vertices during line creation with these settings:

Initial Type group

Sets the type of vertex you create when you click a vertex location.

  • Corner Produces a sharp point. The spline is linear to either side of the vertex.
  • Smooth Produces a smooth, nonadjustable curve through the vertex. The amount of curvature is set by the spacing of the vertices.
Drag Type group

Sets the type of vertex you create when you drag a vertex location. The vertex is located at the cursor position where you first press the mouse button. The direction and distance that you drag are used only when creating Bezier vertices.

  • Corner Produces a sharp point. The spline is linear to either side of the vertex.
  • Smooth Produces a smooth, nonadjustable curve through the vertex. The amount of curvature is set by the spacing of the vertices.
  • Bezier Produces a smooth, adjustable curve through the vertex. The amount of curvature and direction of the curve are set by dragging the mouse at each vertex.

Keyboard Entry rollout

Keyboard entry for lines is different from keyboard entry for other splines. Entering keyboard values continues to add vertices to the existing line until you click Close or Finish.

Add Point

Adds a new point to the line at the current X/Y/Z coordinates.

Close

Closes the shape, adding a final spline segment between the most recent vertex and the first.

Finish

Finishes the spline without closing it.