Align

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

Purpose

To modify two existing curves or surfaces to establish positional, tangent, or curvature continuity between the two elements.

Overview

Align lets you create freeform curves and surfaces then later establish continuity. This differs from the Attach function in that aligned elements remain as two separate components. Align also gives you more control over the modification of the elements being aligned.

The Align function always enforces at least positional continuity, and gives you the option to enforce tangent and curvature continuity. Once the selected elements are aligned, you can adjust the tangent magnitude at the junction of the two elements.

When Align is invoked, the selected elements are modified to positional continuity based on one option setting, then modified to tangent continuity based on a second option setting.

How to Use

  1. Select Align from the Object Edit menu or click this icon.

    The system prompts:

    Select first object near align location:

  2. Click on the first curve or an isoparm of the first surface you want to align.

Note: If you select nothing or an invalid element, the following message is displayed:

Must pick a curve or a surface isoparametric curve. Select first object:
Tips:

Aligning Curves

A curve can be aligned to a:

Aligning a Curve on Surface

A curve on surface can be aligned to another curve on surface provided it is on the same surface.

Aligning Surfaces

A surface boundary can be aligned to:

Align Limitations

Align Control Window

The Align Control window contains the following:

Align Control Window Buttons

Click and hold the buttons at the bottom of the Align Control window to display the associated menus.

Positional continuity means that two curves intersect, or two surfaces share a boundary. Position options let you specify how to achieve positional continuity for the two elements.

Off

Specifies that no positional continuity modification is to be enforced.

Tip: Select Off in both the Position and Tangent menus to undo the alignment.

Modify First

Only the shape of the first element you select is modified.

When you select curves...

...the CV at the endpoint of the first curve is moved to coincide with the CV at the endpoint of the second curve.

When you select surfaces...

...all the boundary CVs of the first surface are moved to coincide with the adjacent boundary CVs of the second surface.

Modify Second

Only the shape of the second element you select is modified.

When you select curves...

...the CV at the endpoint of the second curve is moved to coincide with the CV at the endpoint of the first curve.

When you select surfaces...

...all the boundary CVs of the second surface are moved to coincide with the adjacent boundary CVs of the first surface.

Modify Both

The shapes of both the first and second elements you select are modified.

When you select curves...

...the CVs at the endpoint of both curves are moved to coincide with each other. The CVs at the endpoints are moved halfway along the line of minimum distance.

When you select surfaces...

...all the boundary CVs of both surfaces are moved to coincide with each other. The adjacent CVs are moved halfway along the line of minimum distance.

Move First

Only the first element you select is moved. For curves, this setting preserves the shape of the curves.

When you select curves...

...the first curve is moved so that the CV at its endpoint coincides with the CV at the endpoint of the second curve. All other CVs on the first curve are moved by the same distance to avoid modifying the shape of the curve.

When you select surfaces...

...the first surface is modified in the same way as Modify First. All other CVs on the first surface are moved the same distance as one of the end CVs on the boundary has moved.

Move Second

Only the second element you select is moved. For curves, this setting preserves the shape of the curves.

When you select curves...

...the second curve is moved so that the CV at its endpoint coincides with the CV at the endpoint of the first curve. All other CVs on the second curve are moved (translated) by the same distance, to avoid modifying the shape of the curve.

When you select surfaces...

...the second surface is modified in the same way as Modify Second. All other CVs on the second surface are moved the same distance as one of the end CVs on the boundary has moved.

Move Both

Both elements you select are moved. For curves, this setting preserves the shape of the curves.

When you select curves...

...both curves are moved so that the CVs at the endpoints of both curves coincide with each other.

When you select surfaces...

...both surfaces are modified in the same way as Modify Both. All other CVs on the first surface are moved the same distance as one of the end CVs on the boundary has moved. Similarly, all other CVs on the second surface are moved the same distance as one of the end CVs on the boundary has moved.

Tip: If you want to preserve the end tangent magnitudes of curves through the positional alignment procedure, set Position to Move First, Move Second, or Move Both.

Tangent Menu

When positional continuity has been ensured, the system uses the current Tangent options to determine how the elements will be modified to ensure tangent continuity, and the Position options have no further effect.

Off

Specifies that no tangent continuity modification is to be enforced.

Tip: If you are only concerned with positional continuity, set Tangent to Off, and no tangent continuity modifications are made to either element.

Modify First

The first element is modified to ensure tangent continuity with the second element, without any modification of the second element.

When positional continuity has been ensured, the system uses the current Tangent options to determine how the elements will be modified to ensure tangent continuity, and the Position options have no further effect.

When you select curves...

...the first curve is modified to be tangent to the second curve at the existing endpoint location of the second curve. The tangent vector passes through the CVs at the common endpoint and the adjacent CV of the second curve. Then the adjacent CV of the first curve is moved to a point on this tangent vector so that the end tangent magnitude of the first curve is preserved.

When you select surfaces...

...the first surface is modified to be tangent to the second surface at the surface boundary of the second surface. The tangent vectors pass through the CVs at the common surface boundary and the adjacent CVs on the second surface. Then the adjacent CVs on the first surface are moved to a point on these tangent vectors so that the minimum change to the first surface is done.

Modify Second

The second element is modified to ensure tangent continuity with the first element, without any modification of the first element.

When positional continuity has been ensured, the system uses the current Tangent options to determine how the elements will be modified to ensure tangent continuity, and the Position options have no further effect.

When you select curves...

...the second curve is modified to be tangent to the first curve at the existing endpoint location of the first curve. The tangent vector passes through the CVs at the common endpoint and the adjacent CV of the first curve. Then the adjacent CV of the second curve is moved to a point on this tangent vector so that the end tangent magnitude of the second curve is preserved.

When you select surfaces...

...the second surface is modified to be tangent to the first surface at the surface boundary of the first surface. The tangent vectors pass through the CVs at the common surface boundary and the adjacent CVs on the first surface. Then the adjacent CVs on the second surface are moved to a point on these tangent vectors so that the minimum change to the second surface is done.

Free Intersection

Both elements are modified and moves the common endpoint or the surface boundary of the element as necessary to establish tangent continuity.

When positional continuity has been ensured, the system uses the current Tangent options to determine how the elements will be modified to ensure tangent continuity, and the Position options have no further effect.

When you select curves...

...the resulting modified curves are tangent at a new curve endpoint. The tangent vector passes through the two CVs adjacent to the common CVs at the endpoint of each curve (this common CV location is determined by the positional continuity alignment of the elements). Then the common endpoint CVs are moved to the closest point on this tangent vector.

When you select surfaces...

...the resulting modified surfaces are tangent at a new surface boundary location. To accomplish this, the tangent vectors pass through the two CVs adjacent to the common CVs at the existing surface boundary (these common CV locations are determined by the positional continuity alignment of the elements). These common CVs at the surface boundary are then moved to a point on the tangent vector so that the boundary undergoes the smallest change.

Fixed Intersection

Both elements are modified and the common curve endpoint or surface boundary is fixed.

When positional continuity has been ensured, the system uses the current Tangent options to determine how the elements will be modified to ensure tangent continuity, and the Position options have no further effect.

When you select curves...

...the resulting modified curves are tangent at the common curve endpoints that are established by the positional continuity modification while this common endpoint is fixed. The tangent vector passes through the common CVs at the fixed endpoint and is parallel to a line passing through the two CVs adjacent to the CVs at the endpoint. These two CVs are then moved to a point on this tangent vector so that the change to the tangent is the smallest.

When you select surfaces...

...the resulting modified surfaces are tangent at the common surface boundary location that is established by the positional continuity alignment while this common boundary is fixed. The tangent vectors pass through the common CVs at the fixed surface boundary and are parallel to a vector passing through the two sets of CVs that are adjacent to the CVs at the fixed surface boundary. These two sets are then moved to a set of points on the tangent vector so that the change to the tangent vector is minimal.

Curvature Menu

Curvature continuity is achieved by modifying the third row of CVs from the end to match the other curve's or surface's curvature. If On, curvature continuity is achieved by either modifying the first or second curve or surface, depending on the Tangent option you selected.

Toggles Menu

Partial Joins

If toggled on (indicated by a check mark), alignments like the following example are possible between two surfaces.

Note: Skews Allowed and Partial Joins are only applicable when aligning a surface.

If Partial Joins is on, a new section of the Align Control window is displayed.

If set to Hard (the default), the surface modification region is limited but creates a multiple knot (a crease) in the surface being modified.

Note: Only the shaded region of the first surface changes.

If set to Soft, only a single knot is placed, thus avoiding the crease, but then more of the surface is changed.

Skews Allowed

If toggled on, skewed (non-colinear) alignments are possible if the original surfaces are skewed, and two more sliders are displayed-Skew 1 and Skew 2. These sliders are used to control the skew amount at either end of the surface.

Note: An exact tangent or curvature continuous alignment might not be achieved if skews are allowed. Use Evaluate Curvature Surface continuity to check the result.

Insert at Param

If toggled on, an edit point is inserted at the join parameter.

Reset buttons

The Reset buttons in the Align Control window are used to reset the slider values to their initial defaults.

Aligning curves or surfaces

Control Sliders

When aligning curves or surfaces, the following three sliders are displayed.

Join Parameter

Initially, the end of a curve is aligned to the end of a second curve. This slider lets you align a curve to the interior of a second curve. When Toggles Insert at Param is toggled on, an edit point is inserted in the second curve at this param value, allowing a detach to be performed.

Note: The Join Parameter can only be adjusted if a curve or surface is not being modified. If the continuity settings are Modify First, the Join Parameter is displayed for the second object but not the first. If the Join Parameter is then adjusted to the interior of the object, the Tangent and Curvature Scale sliders are not displayed in the Align Control window. Also, if the scale sliders are adjusted, the Join Parameter slider is not displayed. Pressing the Reset button twice resets all the slider values.

Tangent Scale

Increases or decreases the tangent magnitude at the curve end.

Curvature Scale

The third CV from the end of the curve is modified, preserving the curvature at the end of the curve or surface.

Decay Sliders

These two sliders are used to modify more of a surface, similar to Xform Modify Proportional mod.

Extra CV Rows

If, for example, Extra CV Rows is set to 1 and curvature continuity is ON (from the Curvature menu), the fourth row of CVs from the boundary moves the same proportion of the distance the third row was moved (the curvature CV row).

Decay Degree

If, for example, the Decay Degree is set to 1, the fourth row of CVs moves half the distance that the third row of CVs moved. If set to 2.0, it moves a quarter of the distance, and if set to 3.0, it moves one ninth the distance.

Control Options

If toggled ON (indicated by a check mark), construction history is created and the two objects remain aligned if one is changed (for example, if you perform an Xform operation).

Tip: To delete construction history, either toggle it off in the Align Control window, or pick one of the objects and select Delete Del constr history.

If two objects are already aligned with construction history, you can change how they are aligned by using Align to realign them. Simply select the first object (using Align) and then the second object. If they are already aligned with history, the Align Control window is automatically displayed allowing you to change any of the alignment settings.

What is Positional and Tangent Continuity?

Positional Continuity

Positional continuity means that the ends of two curves or the edges of two surfaces meet exactly.

Tangent Continuity

Tangent continuity exists when two elements are placed end to end as with positional continuity, but the tangents at the two endpoints match as well.

Curvature Continuity

Curvature continuity exists when two elements that join with tangent continuity also have the same curvature at the joint.

Expert Advice

Q: Is there anything that I can do to align CV's directly between two surfaces when I attach them? Any help would be greatly appreciated.

A: The surfaces aren't aligning straight because the matching parameter values aren't across from each other (Align matches knots by ratio along the edges).

To begin with, start with a single curve (in the given direction) and reshape it using CVs to form the others. Notice where the knots lie. Keep the knots in corresponding locations. To check it, duplicate a curve off the edge of each and use the Information window (Windows Information window) to compare knot values. Remember they may not have the same value, but it's the ratios along the edge that matter.

If the surfaces share a common boundary curve (from which they were both constructed), you probably had Rebuild ON when you built one or both surfaces. Remember to set it OFF, unless you don't mind the result. Reversing the direction of U or V should have no effect on the relative knot values along the edges. If it did, the surface would change shape.





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