Swept

This feature is available in Alias AutoStudio, and is a purchasable PowerModeling and Studio option

Purpose

A swept surface is created by sweeping one or more generation curves along a path curve

How to Use

  1. Select the Swept tool from the Swept surfaces cascading menu, or click this icon.

    The system prompts:

    Select generation curve.

  2. Click on the curve you want to use as the generation curve. The system prompts:
    Select path curve.

  3. Click on the curve you want to use as the path curve. The following system message is displayed at the prompt line as the sweep is performed.
    Sweeping...

What you need to know about sweeping

Swept can be used to create a variety of surfaces-from simple tubular extrusions to complex descending spirals.

A single generation and single path curve are required to construct a swept surface. A series of profile curves are built along the path curve, and each profile curve can be rotated or scaled.

Swept Curve Types

Generation Curve

The Swept generation curves is the curve that is swept along a path curve to construct the surface. The generation curve defines the V parameter direction of the resulting surface as well as the cross-section.

Path Curve

The curve along which the generation curve is swept to construct the surface. The path curve defines the U parametric direction of the surface.

Spine Curve

An optional curve that you can select to determine the local coordinate system to be used in the sweep operation. This option gives you full control over the orientation of the flow lines (interior isoparms) of the resulting surface.

Sweep Pivot

A pivot point that you use to define the relationship between the generation and path curves along the sweep. Before the sweep starts, one of the curves is translated so that the sweep pivots on both curves coincide. During the sweep operation, the sweep pivot of the generation curve always remains in contact with the path curve.

Generation and path curves can be:

Swept Control Window

The Swept Control window provides a convenient way for you to interactively change parameter settings from surface to surface without having to repeatedly invoke the function.

The following shows you how to create swept surfaces using the various options and parameters available in the Swept Control window.

Select Swept- to display the Swept Control window.

This window remains open while you select curves. It is recommended that you keep it open so that you can evaluate and make changes to a swept surface without having to delete the surface and rebuild it.

Sweep Mode

The Sweep Mode options determine the orientation of the interior isoparms on the swept surface. Click to the right of the Sweep Mode heading to display the menu.

When Swept is invoked, the system automatically creates several copies of the generation curve and places these copies as profile curves at each edit point location along the path curve. Once the profile curves are in place, a swept surface is created based on these profile curves.

The Sweep Mode you select determines how these profile curves are placed in relation to the path curve before surface construction.

NATURAL ensures that all the profile curves undergo the same rotation as the tangent vector of the path curve at each edit point location. In this way, each of the profile curves maintain the same orientation to the path curve as the original generation curve has to the path curve.

PARALLEL ensures that each profile curve placed along the path curve is kept parallel to the position of the original generation curve. No rotation factors are applied when placing the profile curves along the path.

VIEW similar to NATURAL Sweep Mode, however the profile curves only rotate in a single viewing plane as determined by the Sweep Projection option. VIEW Sweep Mode confines the rotation to only two user-defined axes. The following shows what the default swept surface looks like when the Sweep Projection is set to ACTIVE (the default).

SPINE gives you greater control over the orientation of the interior isoparms on the resulting surface. When using SPINE Sweep Mode, a third curve (selected as the spine) determines how the profile curves will be placed along the path curve. The system calculates a tangent vector on both the spine curve and the path curve, at the point where these two curves are closest to each other.

When you select the SPINE Sweep Mode and once the path curve has been selected, the system prompts:

Select spine curve for spine sweep mode:
Any curve (including the path curve, but not the generation curve) is a valid element for the spine curve.

Note: Using the path curve as the spine curve can lead to twisted surfaces in cases where the tangents along the path curve are not continuous, or if the path curve has inflection points (curvature changes direction.) See the following.

To avoid these twists, create a separate spine curve by offsetting the path curve and using the offset as the spine. If the path has linear portions (zero curvature), then the path curve cannot be used as the spine curve and the following error message is displayed:

Could not build swept surface. Try another SWEEP MODE.

Using the VIEW Sweep Modes

Sweep Projection

Sweep Projection options are only available when you select the VIEW Sweep Mode and the Swept Control window expands to display the Sweep Projection heading.

Click to the right of the Sweep Projection heading to display the menu.

These options control the viewing plane to be used in the rotation of the profile curves that will be placed along the path curve before the Swept surface is constructed. By default, Sweep Projection is set to ACTIVE.

ACTIVE the profile curves rotate about the two axes of the window in which the path curve is selected. In other words, the viewing plane to be used in the Swept operation is defined by the window that is active when the path curve is selected. See the following example. Sweep Projection options are only available when you select the VIEW Sweep Mode and the Swept Control window expands to display the Sweep Projection heading.

XY/XZ/YZ defines the XY, XZ, or YZ plane as the viewing plane for the sweep, regardless of the window in which the path curve is selected. In this way, you can select the path curve in the view window and define any other two-dimensional viewing plane as the plane to be used in controlling the orientation of the profile curves along the path. See the following examples.

Sweep Projection options are only available when you select the VIEW Sweep Mode and the Swept Control window expands to display the Sweep Projection heading.

USER lets you define the viewing plane. Sweep Projection options are only available when you select the VIEW Sweep Mode and the Swept Control window expands to display the Sweep Projection heading.

When USER is selected, the Swept Control window expands to display the View Plane sliders that you use to specify the normal of the viewing plane.

The following shows what happens when you change the View Plane slider values.

Using the Sweep Pivot options

Sweep Pivot

Click to the right of the Sweep Pivot heading to display the menu.

Sweep Pivot is used to define the intersection point between the path and the generation curves. It also acts as the rotation and scale pivots for the generation curve if rotation and scale transformations are to be applied to the generation curve during the sweep.

Sweep Pivot options determine whether the system should automatically use the closest intersection point between the two curves as the sweep pivots, or whether you want to interactively specify the pivot locations using either curve or space locators.

CLOSEST pivot points are automatically determined with a minimum distance between the generation and path curve.

ON CURVE a curve locator is displayed on each curve as it is selected. This locator lets you interactively define the sweep pivot anywhere on the curve. Sweep Pivot is used to define the intersection point between the path and the generation curves. It also acts as the rotation and scale pivots for the generation curve if rotation and scale transformations are to be applied to the generation curve during the sweep.

Sweep Pivot options determine whether the system should automatically use the closest intersection point between the two curves as the sweep pivots, or whether you want to interactively specify the pivot locations using either curve or space locators.

Once the generation curve is selected, the system prompts:

Select GO, or move generation curve sweep pivot, or input pivot position:
If desired, click-drag to move the locator on the generation curve, or type a new pivot position in the Curve Locator window.

When you are satisfied with the position of the sweep pivot, click the Go icon to select the path curve.

Once the path curve is selected, the system prompts:

Select GO, or move path curve sweep pivot, or input pivot position:
If desired, click-drag to move the locator on the path curve, or type a new pivot position in the Curve Locator window.

When you are satisfied with the position of the sweep pivot, click the Go icon to build the swept surface.

The following shows what happens when you move the sweep pivots on both the generation and path curves.

OFF CURVE a space locator is displayed for the generation curve once it is selected which lets you interactively define the sweep pivot anywhere off the curve. Sweep Pivot is used to define the intersection point between the path and the generation curves. It also acts as the rotation and scale pivots for the generation curve if rotation and scale transformations are to be applied to the generation curve during the sweep.

Sweep Pivot options determine whether the system should automatically use the closest intersection point between the two curves as the sweep pivots, or whether you want to interactively specify the pivot locations using either curve or space locators.

A curve locator is also displayed for the path curve once it is selected.

At the system prompt, click the Go icon once you are satisfied with the position of the sweep pivot points and the swept surface is constructed.

The following shows what happens when you move the sweep pivots on both the generation and path curves.

Fixed Curve

Click to the right of the Fixed Curve heading to display the menu from which you can select a GENERATION or PATH fixed curve method.

Although the GENERATION and PATH curves do not have to intersect to build a swept surface, one of these curves will be moved into position where the sweep pivots for both curves coincide before the surface is constructed. The Fixed Curve options let you choose which of the construction curves can be moved. The default is PATH.

Note: If the sweep pivots for both construction curves already coincide there is no translation of either curve.

Rebuild Gen. and Rebuild Path

Toggling these options ON reconstructs the generation or path curve before surface construction by reducing the number of edit points on the curve. These curves are rebuilt within the current Curve Fit Distance setting in the Construction Settings window (Preferences Construction Construction settings-).

This can help to improve parameterization and reduce the amount of data necessary to define the resulting surface. By default, Rebuild Gen. and Rebuild Path are toggled OFF.

Notes:

When Rebuild Gen./Path is ON...

If either the path or generation curve is linear (degree 1) geometry, the curves are raised to cubic (degree 3) geometry. This creates multiple knots that a rebuild attempts to remove.

If the rebuild fails...

If the rebuild fails on the path curve, the surface is constructed using the original degree 1 geometry, creating a surface that is linear in the U parametric direction.

If the rebuild fails on the generation curve, a cubic multiple knot surface is created in the V parametric direction.

When Rebuild Gen./Path is OFF...

If the path curve is linear geometry (degree 1), the resulting surface will be linear in the U parametric direction.

If the generation curve is linear geometry (degree 1), the resulting surface will be linear in the V parametric direction.

Tip: When attempting to construct a surface from construction curves that are heavy in data and contain a large number of spans, the system may display the error message:

Max Surf Spans exceeded
If this happens, reduce the curve data by toggling Rebuild Gen. ON. The Max Surf Spans factor can also be increased in the Construction Settings window (Preferences Construction settings-), which creates a larger number of spans on the resulting surface.

Rotate Xform

The Rotate Xform slider is used to change the rotation transformation of the generation curve in the local XY plane as it sweeps along the path curve. The rotation is linear from the start to the end of the path curve.

This is what the swept surface looks like with the default slider values.

This is what the swept surface looks like when you adjust the Rotate Xform slider value to 175.0000:

Scale Xform

The Scale Xform slider is used to change the scale transformation of the generation curve as it is swept along the path curve. This value applies a proportional scale in the local coordinate system to the generation curve as it sweeps along the path.

A value less than 1 causes the curve to scale down as it sweeps along the generation curve.

A value greater than 1 causes the generation curve to scale up as it is swept along the path curve.

Note: Negative values should not be used. For factors less than 1, use a decimal value such as.5.

Curve Segments

Curve Segments lets you use a specified portion only of the generation or path curves in the sweep operation.

When Curve Segments is toggled ON, you are prompted to select the start and end points of both the generation and path curve segments to be used.

Note: You are only prompted to select the edit points if the curve is a regular curve or surface isoparm, not for curves on surface or trim boundaries.

Pick the edit point locations to define curve segments for either curve. Only the portion of the curve between the picked edit points is taken as the generation path curve (this is equivalent to detaching at the two edit points and using the chosen portion of the curve).

The following is a step-by-step example.

  1. If Curve Segments is toggled ON, the system prompts:
    Select start of generation curve segment.

  2. Click on the start edit point on the generation curve.

The system then prompts:

Select end of generation curve segment.

  • Click on the end edit point on the generation curve.

    The system prompts:

    Select path curve.

  • Click on the path curve, and the system prompts:
    Select start of path curve segment.

  • Click on the start edit point on the path curve.

    The system then prompts:

    Select end of path curve segment.

  • Click on the end edit point on the path curve.

    Once selected, the swept surface is created and the Swept Control window expands to display generation and path curve segment sliders.

    The left sliders control the start of the segments and the right sliders control the segment end. These controls let you change the segment being used, and also allows portions of the curves not delimited by edit points to be used.

    The following shows what happens when you change the Gen. Segment slider value for the generation curve.

    The following shows what happens when you change the Path Segment slider value for the path curve.

    Control Options

    The Control Options section of the Swept Control window contains settings that don't affect how the surface is constructed, but how the surface construction interacts with what you are doing.

    Create History

    To toggle Create History ON, click in the box to display the check mark. When toggled ON, construction history is created for the current Swept surface. This lets you modify the generation or path curve, or any of the parameters in the Swept Control window at any time in the future, and the swept surface is automatically updated.

    Toggle Create History OFF if you are sure you don't want the swept surface to change in the future. Even if toggled OFF, you can still modify the parameters in the Swept Control window and the surface will update until you either exit Swept, build another Swept surface, or click the Next button.

    Tip: See An Introduction to Alias for a full description of construction history.

    Construction history can be removed from the surface by:

    1. Selecting Delete Del constr history.

    2. Deleting either the generation or path curve.

    3. Picking the surface and toggling Create History OFF in the Swept Control window. Note: If history is OFF, you cannot turn it ON when you either exit Swept, or start the next Swept surface (by selecting a generation curve or clicking the Next button).

    Auto. Recalc.

    Determines whether the current surface is automatically reconstructed when any parameter in the window is adjusted.

    If toggled ON, the surface is automatically rebuilt.

    If toggled OFF, the surface is not rebuilt until you click the Recalc. button located at the bottom of the window.

    Tip: Turning Auto. Recalc. OFF is useful if you want to modify a number of parameters before automatically reconstructing the surface, especially if the surface is complicated and time-consuming to reconstruct.

    Surface Evaluation

    Lets you perform a quickrender for surface evaluation or to create surface cross sections on the Swept surface. Click to the right of the Surface Evaluation heading to display the menu.

    By selecting either CURVATURE, HIGHLIGHT, or QUICK RENDER from the menu, the Swept surface is automatically Quick Rendered with the appropriate analysis tool.

    When CROSS SECTION is selected, the Swept surface is automatically cross-sectioned for evaluation and a Show Previous Xsect toggle is displayed.

    If Show Previous Xsect is toggled ON, any previous cross-sections are also displayed.

    Note: Previous cross sections will exist if you turn CROSS SECTION evaluation on, and then change one of the parameters to reconstruct the Swept surface. The previous cross sections are drawn on top of the current cross sections, so areas in which the cross sections haven't changed will just show the previous cross sections. The previous cross sections are automatically deleted when you exit the Swept function.

    Tips:

    Swept Control Window Buttons

    At the bottom of the Swept Control window are two buttons, Recalc. and Next.

    Recalc. Button

    The Recalc. button is usually disabled. It only becomes enabled when Auto. Recalc. is toggled OFF and a parameter that will change the surface is adjusted. Clicking the Recalc. button recalculates the Swept surface based on the current parameter settings.

    Next Button

    If you change any parameter in the Swept Control window that adjusts the current Swept surface, clicking the Next button disassociates the Swept Control window from the Swept surface just built. This lets you reset the parameters for the next Swept surface you want to build.

    Tip: You should set a parameter that affects the selection sequence in Swept, such as the SPINE Sweep Mode before selecting the generation curve.

    After you exit Swept

    The following shows you how to modify the settings that created a Swept surface after you exit Swept to go to another function.

    1. Create a swept surface and make sure that Create History is toggled ON in the Swept Control window.

    2. Exit Swept to go to another function (for example, Cameras World move camera Tumble).

    3. Make sure that the swept surface you created is picked (select Pick Object) and that it is the only object picked. Tip: It is important that only a single swept surface is selected. The swept surface will be the only object picked if it was just created and you didn't use any functions that change which objects are picked. If more than one object is selected, Swept will unpick everything when you select it.

    4. Select Swept again without selecting the to open the window. The Swept Control window is automatically displayed showing the settings that were used to create the selected swept surface.You can now modify these settings to create any swept surface with construction history. Notes:





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