New curve

Purpose

To create a new curve based on the current option settings in the New Curve Options box.

How to Use

In the Tool Palette, select New curve from the Curves Curves cascading menu, or click this icon.

The following are examples of the methods you can select from the New Curve Options box to create new curves.

Sketch Construction Method

For many designers, the most natural way of creating a curve is to sketch it rather than having to create it by placing CVs or edit points. The Sketch construction method lets you create a spline as easily as drawing a line on a piece of paper.

  1. Select Curves Curves (with guides) New curve (sketch), or select the Sketch Construction type in the New Curve Options box and click the Go button. The system prompts:

    Sketch a curve.
    Notes:

  • If sketching in an orthographic window, two of the coordinates of the spline correspond to those of the current window and the other coordinate is set to zero.
  • If sketching in the perspective window, a plane is chosen perpendicular to the view vector at the position of the camera view icon (select Display Tgl camera to see this). The two non-zero coordinates of the curve correspond to those of the front window, which means that if you set all of the rotation values for the curve to zero, the curve displays in a true length view in the front window. Tip: If sketching on a construction plane, then the transformation to that construction plane is added to the DAG node above that of the new curve.

    CV Construction Method

    When constructing a curve with CVs, the curve control characters that are displayed correspond to the NEW CRV settings that you specified from the Scope popup menu in the Control window (see Display Control -).

    1. Select Curves Curves (with guides) New curve (CVs), or select the CV Construction type in the New Curve Options box and click the Go button. The system prompts:
      Enter new CV position (x,y,z) (ABS):

    2. Position the cursor in any of the orthographic modeling windows where you want the curve to begin.

    3. Click the mouse to place the first CV. If you hold the mouse button down, the CV can be dragged to any location on the screen. The CV is not actually placed until you release the mouse button. The first CV appears on the screen as a small square icon that indicates the start point of the curve.

    4. Move the cursor to where you want the second CV and click again. This CV appears on the screen as the letter U. The letter U indicates the direction in which the curve is traveling. When you've placed the second CV, a light line joins the two CVs. This is a hull line that will constitute part of the control mesh and does not represent a curve or curve segment.

    5. Move the cursor again and click to place a third CV. This CV is represented by a lower case x. From this point on, all CVs placed for the given curve will be displayed in this manner. Another hull line is created to connect the second and third CVs.

    6. Move the cursor again and click to place a fourth CV. When you place the fourth CV, a curve segment is created that interpolates the first and last CVs approximating the CV locations.

    As you continue to place CVs, new curve segments are created and the curve constantly updates to interpolate the last CV placed.

    Note: When constructing curves with the CV Construction method, each curve segment is defined and controlled by n+1 CVs, where n is the degree of the curve. Therefore, n+1 CVs must be placed before the first curve segment is constructed. For example, a curve of degree 5 requires 6 CVs to form a curve segment. A curve of degree 7 requires 8 CVs to form a curve segment.

    Edit Point Construction Method

    When constructing a curve with Edit Points, edit points are visible while the curve is being constructed regardless of the current Display Control settings. However, once the construction of the curve is complete, the curve control characters display reverts to the those specified by the current Display Control settings.

    1. Select Curves Curves (with guides) New curve (edit pt), or select the Edit Point Construction type in the New Curve Options box and click the Go button. The system prompts:
      Enter new edit point position (x,y,z) (ABS):

    2. Position the cursor in the window where you want the curve to begin.

    3. Click the mouse to place an edit point at the cursor location. A small square icon that indicates the start point of the curve is displayed.

    4. Move the cursor to where you want to place the second edit point and click again. When the second edit point has been placed, a curve segment is created that interpolates the two edit points. Note: Unlike the CV construction method where several points must be placed to construct the initial curve segment, only two edit points are necessary to create an initial curve segment no matter what degree of curve.

    5. Move the cursor again and click to place a third edit point. As each additional edit point is plotted, a new curve segment is created.

    6. Move the cursor again and click to place a fourth edit point. When the fourth edit point is placed, a third curve segment is created.

    Note: The Edit Point construction method interpolates each edit point instead of approximating the points, as in the CV construction method.

    Using the Mouse Buttons to place CVs and Edit Points

    The left mouse button lets you interactively place CVs or edit points at any location in world space, in any of the three orthographic modeling windows.

    The middle and right mouse buttons facilitate the construction of straight line curve segments.

    The middle mouse button uses the current horizontal coordinate position of the mouse pointer at any time, but disregards the vertical position of the pointer. The vertical coordinate of the previous CV/edit point is assigned to the new one when you place a CV/edit point with the middle mouse button. This facilitates the construction of horizontal curve segments relative to the previous CV/edit point location.

    The right mouse button uses the current vertical coordinate position of the mouse pointer at any time, but disregards the horizontal position of the pointer. The horizontal coordinate of the previous CV/edit point is assigned to the new one when you plot a CV/edit point with the right mouse button. This facilitates the construction of vertical curve segments relative to the previous CV/edit point location.

    Tip: By using the three buttons to place CVs or edit points for a curve, you can use these constraints to facilitate continuity and tangency.

    Example

    The following shows a curve that was drawn perpendicular to an axis. The letter L indicates that a CV was placed using the left mouse button, and M and R indicate that the middle and right buttons were used.

    Plotting CVs and Edit Points with Grid Snap, Magnet, or Curve Snap

    CVs and edit points can also be plotted with the Grid Snap, Magnet, or Curve Snap functions.

    Using mag snap

    To snap the active entity to the closest CV, edit point or keypoint. With mag toggled ON, CVs can be placed in the perspective window in addition to all other application windows.

    There are two ways to turn mag (snap to CV/edit point/keypoint) on:

    Using grid snap

    To snap the active entity to the closest grid intersection. With grid set to ON, CVs can be placed in all application windows.

    There are two ways to turn grid (snap to grid) on:

    Using crv snap

    Use crv snap to snap whatever you're currently moving to any point on a curve, curve on surface, or surface isoparm. Achieving intersections between curves is very important for many of the surface building features. The curve snapper makes achieving intersections easy. The crv (curve) button snaps the active entity to the curve you select.

    There are two ways to turn crv (snap to curve) on:

    Using Xform and Curve Snapping

    If crv snapping is ON, and Xform is set to move or set pivot, and an object is already picked, Xform does not select a new object when you click on one. It snaps the object currently being transformed (Xformed).

    To select a new object to transform either turn snapping off or select Pick Nothing, then pick the next object to be transformed.

    Functions that support Curve Snapping

    Curves new curve, new curve on surface, add points, curve editor... (for curve position handle), lines (tangent) tools, lines tools, line-arc tools, arcs tools, digitize
    Surfaces swept (for the space locator if Sweep Pivot is set to OFF CURVE)
    Xform move, set pivot
    Grids construction plane tools
    Cameras adjust clipping plane
    Surface Edit move project vector (for space locators)
    Locators create locator ( space locators)
    Objects primitives, text, lights (area, linear, ambient, directional, spot, point)

    New Curve Options

    Select New curve- or double-click the icon to display the New Curve Options box.

    Construction

    You can select the Sketch, CV (control vertex), or Edit Point construction methods. See the beginning of this section form details on how to use these construction methods.

    Knot Spacing

    You can select Chord or Uniform knotspacing. The type of knot spacing relates to the manner in which the U parameter values are assigned to edit points (also referred to as "parameterization"). With chord knot spacing, the parameter value depends on the position of the edit point along the length of the curve, while with uniform knot spacing it does not: the parameters have equally spaced values (0, 1, 2 etc.). Uniform knot spacing produces a curve with a more predictable parameterization while chord knot spacing produces a better curvature distribution, and, when used to build surfaces, better texture mapping.

    Tip: When using the Edit Point Construction method, it is recommended that you set the Knot Spacing to Chord length.

    Curve Degree

    You can choose to construct NURBS-based B-spline curves of degree 1, 2, 3, 5, or 7.

    Tips and Notes

    Defaults

    The system defaults to the CV Construction method using degree 3 NURBS geometry and Uniform length parameterization.

    When you choose the Edit Point construction method, the system defaults to Chord length (non-uniform) curve parameterization.

    New curve on surf

    Purpose

    To create a new curve in 3D space, directly in the parameter space of an existing surface (directly on a surface). This type of curve is referred to as a curve on surface.

    Overview

    New curve on surf differs from New curve, which is only used to create a curve in world space. New curve on surf is typically used to create curves on a surface to be used in a trimming operation, or to create a boundary curve for surface construction that will match the curvature of the surface on which the curve was constructed.

    Curve on surface construction uses either the Sketch or Edit Point Construction method and Uniform or Chord length parameterization.

    The method for creating a curve on surface is similar to regular edit point curve construction, but the system maps the edit points directly onto an existing surface in UV space rather than world space. CVs are not displayed when you construct a curve on surface and therefore cannot be used to manipulate the curve. The curve can be edited by manipulating edit points or by using the Curve editor (see Curve Edit Curve editor for details).

    How to Use

    In the Tool Palette, select New curve on surf from the Curves Curves cascading menu, or click this icon.

    The following are examples of the methods you can select from the New Curve on Surface Options box to create new curve on surface elements.

    Sketching a Curve on Surface Element

    1. Select the Sketch Construction method from the New Curve on Surface Options box and click the Go button. The system prompts:
      Select a surface to sketch a curve on.

    2. Click on the surface. It is displayed in a highlighted color to indicate that it is ready to be sketched on. The system prompts:
      Sketch a curve on the selected surface.

    3. Click and without letting go of the mouse, drag on the surface where you want to sketch a curve.

    4. To stop sketching, release the mouse button. When the mouse button is released, the sample line that you have drawn is projected onto the surface and a curve on surface is created. See the following.

      Note: If no surface is selected, or multiple surfaces are selected, the system prompts:

      Select a surface to sketch a curve on.
      This prompt indicates that the system cannot identify the surface that you want to sketch on and you have to select a valid surface. The function remains in this selection mode until a valid surface is selected. Any surface of degree 3 or less is a valid surface.

    Creating an Edit Point Curve on Surface Element

    1. Select the Edit Point Construction method from the New Curve on Surface Options box and click the Go button. The system prompts:
      Select a surface to build a curve on.

    2. Click on the surface. It is displayed in a highlighted color to indicate that it is ready to be sketched on. The system prompts:
      Select surface or enter new curve on surface edit point position (u,v):

    3. Click once on the surface where you want to place the first edit point. The system prompts:
      Enter new edit point position on surface (u.v):
      The first edit point is mapped directly onto the surface in UV space and is displayed as a small square icon indicating the start of the curve.

    4. Click to continue to place edit points at the locations on the surface where you want the next edit points to be positioned. The first curve segment is constructed on the surface when the second edit point has been plotted. As each additional edit point is plotted, the curve updates and interpolates each of the edit point locations. Tips:

    Additional Information

    Edit points can also be plotted using the grid, mag, or crv snap functions when constructing a curve on surface element (the buttons located at the right of the menu bar. See Curves Curves New curve for more information).

    How a curve on surface is represented in the SBD window

    When viewed in the SBD window, a curve on surface element appears as a dag node below the surface node itself, and is marked with a vertical wavy line.

    New Curve on Surface Options

    To view or change New curve on surf options, select New curve on surf- to display the New Curve on Surface Options box.

    Construction

    Click to choose either the Sketch or the Edit Point construction method. See the beginning of this section form details on how to use these construction methods.

    Curve Degree

    Click to choose to construct either degree 3 NURBS-based B-spline cubic curves (3), or degree 1 polygonal curves (1).

    Knot Spacing

    You can select Chord or Uniform knotspacing. The type of knot spacing relates to the manner in which the U parameter values are assigned to edit points (also referred to as "parameterization"). With chord knot spacing, the parameter value depends on the position of the edit point along the length of the curve, while with uniform knot spacing it does not: the parameters have equally spaced values (0, 1, 2 etc.). Uniform knot spacing produces a curve with a more predictable parameterization while chord knot spacing produces a better curvature distribution, and, when used to build surfaces, better texture mapping.

    Defaults

    The system defaults to the Edit Point construction method using Degree 3 geometry and Chord length parameterization.

    Autotrace

    Purpose

    To trace outlines in image files used as pix backdrops.

    How to Use

    1. Select File New image plane to create an image plane.

    2. Select a monochrome or full color image containing the image you want to convert to outlines and import it as a pix backdrop.

    3. Select Autotrace from the Curves cascading menu, or click this icon.

      NURB splines are traced around areas of the pix backdrop at the threshold value.

    Autotrace Options

    To view or change Autotrace options, select Autotrace- to display the Autotrace Options box.

    Sampling Rate

    Click to choose a Sparse or Dense sampling rate, which results in more or fewer samples of the image being made initially.

    Tip: Coupled with Step Size, Sampling Rate can create larger steps with more space between CVs along an edge.

    Edge Detection

    Click to choose a Precise or General edge detection method. Precise produces more data (more CVs and edit points) as it approximates the image more closely. General samples less often, produces less data, and a coarser approximation of the border on the image.

    Corners

    Click to choose between Clean or Rough corners. Selecting Clean removes extra CVs around corners. Rough does not remove CVs.

    Tip: After autotracing an image, you may want to use Curve Edit Rebuild curve to try to reduce data.

    Threshold

    This slider is used to determine where the NURBS curves will be drawn. The default threshold of 32 means that a curve will be drawn where a border can be calculated between gray values less than 32 and gray values greater than 32.

    Using a color image as a pix backdrop provides a greater dynamic range over which the gray values stretch, and results in a more accurate curve. A full color image, when used as a pix backdrop, is reduced to 8 bits (a range of 256 values), whereas a gray-scale image is reduced to 3 bits of information (a range of 8 values).

    The formula Alias uses to calculate gray values from a color image is:

    (0.3 x Red value) + (0.59 x Green value) + (0.11 x Blue value)

    Step Size

    This slider is used to determine how coarse the traced edges will be. Reducing the Step Size will result in more data as Autotrace tries to smooth the outline, while increasing the Step Size may produce less data and a coarser outline.

    Tips:

    Digitize

    Purpose

    To draw curves, point by point, in two-dimensions from paper-based diagrams, photographs or sketches placed on the surface of a digitizing tablet. The result is polyline or spline curves lying on a plane.

    Overview

    Interactive support for digitizing tablets uses two distinct modes of operation. The system uses Screen Mode when you are interacting with menus, windows and so on, but switches temporarily to Digitizing Mode when you trace data from the tablet. Each mode maps a specific region on the tablet to screen or world coordinates.

    How to Use

    To use the Digitize tool, select Digitize from the Curves cascading menu, or click this icon.

    Screen Mode is relatively straightforward, since it seeks to mimic the behavior of the mouse. If you prefer to use a tablet for drawing (without a paper original), geometric input from a tablet can be done in Screen Mode without entering Digitizing Mode.

    With Digitizing Mode, you look at the tablet, not the screen, and can use the entire drawing surface of the tablet without inadvertently selecting menu buttons or window controls.

    The switch from mouse input to digitizer input is done through the Interface Options window. Select Preferences Interface options- and choose either the Mouse or Bitpad Pointing Device. (For more information, see Preferences Interface options.)

    You can also switch by pressing Function key 1 (F1) on the keyboard. Pressing F1 again switches you back to mouse input.

    When you enter Digitize Mode, the cursor is turned off and all tablet input is used for point drawing until you press the Enter key. The tablet then reverts to regular Screen Mode. If you have not set up a mapping from tablet coordinates to world coordinates (see Curves Curves Setup digitizer), then the full range of the tablet maps into the initial size of the selected orthographic modeling window.

    Points and curves in digitize mode are drawn in the current window. If the current window is a perspective view, this error message is displayed:

    Cannot digitize in Perspective window
    Pressing F1 while in Digitize Mode terminates the Digitize function, as well as switching you back to mouse input.

    Setup digitizer

    Purpose

    To initially establish the correct scaling between a digitizing tablet and the view screen.

    How to Use

    1. Select Setup digitizer from the Curves cascading menu, or click this icon.

      The system checks for the tablet. If the tablet is found, the system turns off the display of the mouse pointer (cursor) and prompts:

      On the tablet, enter an origin point.

    2. Use the digitizing pointer to indicate the first point on the tablet that you want to map. This could be a point near the lower corner of the drawing you want to digitize, or the lower corner of the tablet itself. The system prompts:
      On the tablet, enter a reference point.
    This point should be the corner diagonally opposite to the point you specified above (if you first specified the lower left corner, this should be the upper right corner).

    If you select the same point twice, the system prompts:

    Point already entered. Enter the second point
    The system then waits for you to enter a valid second point coordinate. The cursor turns back on, returns you to mouse input mode and the system prompts:

    In an ortho window, enter the position (x,y) corresponding to the origin point.

  • To indicate the corresponding screen location for the first tablet reference point supplied, you can either click the mouse pointer in the appropriate area of any orthographic window, or type the specific screen coordinates. Once the first reference point is supplied, the system prompts:

    In the same ortho window, enter the position (x,y) corresponding to the reference point.

  • Indicate this point in the same way you did for the first point. When two valid screen reference points have been indicated, the system prompts:
    Setting up digitizer mapping...
    The tablet-to-world space mapping is being calculated at this point. This operation can be repeated at any time when a new transformation is desired.

  • To exit Setup digitizer, select any other continuous function (such as Pick). Note: If the function you select is a momentary function, the system immediately returns to Setup digitizer causing the system to switch to tablet input mode.

    If this happens, simply select any two points on the tablet to return control to the mouse, then select a continuous function to exit.

    Tips:





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