Curve Stretch

Purpose

To stretch a curve by interpolating a number of user-defined points.

Overview

Curve Stretch is located under Curve Edit Modify. With Curve Stretch, you can stretch and join curves to create points of intersection, or you can also quickly scale a curve.

You can specify between 2 and 8 points on the curve you want to stretch. These points are represented by space locators ("handles" drawn as + signs).

Tip: If the Windows Locator Info control window is open before you select the curve to stretch, you can use it to specify numerically the position of the space locator handles that Stretch uses.

As the locators move in space, the curve updates and interpolates the locators' positions. Using Curve Stretch, the number of points interpolated cannot be greater than the degree plus one of the curve. For example, a degree 5 curve can have at most 6 points, while a cubic curve can use at most 4 points.

How to Use

  1. Select Curve Edit Modify Stretch, or click this icon:

  2. The system prompts you to:
    Select curve to stretch.
Click on the curve you want to stretch. Handles (large green +'s) appear on the curve.

  • The system then prompts you to:
    Select/move a handle, shift-select to change handle parameter, or select another curve to stretch.
    You can click on any handle to select it. A selected handle can be dragged anywhere in space, and the curve is modified to go through the new handle position. All the usual curve/magnet/grid snapping can be done. Curve snapping is particularly useful to build networks of intersecting curves, for use in the surface building tools.

    If you hold down the Shift key while you select a handle, the handle changes from a Space Locator to a Curve Locator. You can then drag the handle along the curve to change the handles parameter. The handle's curve parameter controls how the curve will change to interpolate the handle's position. The curve doesn't change during this handle parameter adjustment. Just click on the handle again to change it back to the Space locator, which can then be moved to continue modifications to the curve.

    Curve Stretch Options

    Select Curve Edit Modify Stretch -. The following box appears:

    Select the number of points you want to use. Remember that the number of handles can not be greater than the degree plus one of the selected curve.

    When the number of points is more than two, the Parameter option appears. It is either set to Floating or Locked (the default).

    Note: The handles are placed at the ends and at equal parameter values along the curve.

    However, if you ask for 3 points, the handles are created at the start and end of the curve, plus at the location on the curve where you selected the curve. This middle handle is also selected automatically, allowing you to select and modify the curve all in a single mouse click/drag operation.

    The Parameter option has the following two settings:

    Floating

    Allows the parameter value associated with a selected interior handle to slide along the curve as the handle is moved. The closest point on the curve to the handle position is found, and that point's parameter value is used. The curve is then modified to go through the handle position, and since the closest point on the curve is moved to the handle position, the change required to the curve is minimized.

    Locked (default)

    This option locks the stretch movement to the parameter value on the curve. With Locked, the handle's parameter value does not change when you move the handle. A more rigid change is done to the curve, and the curve buckles when you drag one handle close to another.

    Note: The Floating mode parameter sliding is not done when moving the first and last handles. For the first and last handles, the Parameter option setting is ignored, and the parameter value remains locked. This allows the endpoints of the curve to be set easily, even when Floating mode is selected.





    aliasdocs@aw.sgi.com
    Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.