1-Rail Sweep Surface

Sweep surfaces are constructed from curves. A 1-rail sweep surface uses at least two curves. One curve, the "rail," defines one edge of the surface. The other curves define the surface's cross sections.

1-rail sweep surface

.

Changing the position of the rail can change the shape of the surface.

The cross-section curves should intersect the rail curve. If the cross-sections don't intersect the rail, the resulting surface is unpredictable. In addition, the initial point of the rail and the initial point of the first cross-section curve must be coincident. Use NURBS Snaps to accomplish this.

Automatic Curve Attachment

When you create a 1-rail sweep, you can select curves that are not already sub-objects of the active NURBS model. You can select another curve or spline object in the scene. When you select that curve, it attaches to the current object as if you had used the Attach button.

Warning: If the curve you attach is a sub-object of another NURBS model, the entire model (that is, the curve's parent NURBS object) is attached as well.

As you move the mouse over a curve that is not part of the active NURBS object, the cursor changes shape to indicate that you can pick the curve, but the curve is not highlighted in blue.

Procedures

To create a 1-rail sweep:

  1. Create the curves that define the surface you want to create.
  2. In the NURBS toolbox, turn on (Create 1 Rail Sweep).
  3. Click the curve to use as the rail, then click each of the cross-section curves. Right-click to end creation.

    The sweep is interpolated smoothly between the cross sections, following the outline defined by the rail.

    As you click curves, their names appear in the lists on the 1 Rail Sweep Surface creation rollout. The order in which you click the curves can affect the shape of the sweep surface.

Example: To create a 1-rail sweep with automatic attach:

  1. Go to the Create panel, create two independent CV or Point NURBS curves.
  2. Go to the Modify panel. In the NURBS toolbox, click to turn on (Create 1-Rail Sweep).
  3. Select the curves in the appropriate order for the sweep.

    The sweep is created. You don't need to collapse the curves to a NURBS surface or Attach them to an existing NURBS model.

    As you move the mouse over a curve that is not part of the active NURBS object, the cursor changes shape to indicate that you can pick the curve, but the curve is not highlighted in blue.

Interface

While a 1-rail sweep sub-object is selected, a rollout with the 1-rail sweep parameters appears. This rollout appears only when one 1-rail sweep sub-object is selected. It isn’t possible to edit more than one 1-rail sweep at a time, so unlike some other NURBS sub-objects, the rollout doesn’t appear when multiple 1-rail sweep sub-objects are selected.

Tip: When you edit a 1-rail sweep sub-object, close the Surface Common rollout to see the 1-rail sweep Surface rollout more easily.

1-Rail Sweep Surface rollout (creation time)

Rail Curve

Shows the name of the curve you chose to be the rail.

Replace Rail

(Disabled.)

Section Curves

This list shows the names of the cross-section curves, in the order you click them. You can select a curve by clicking its name in the list. Viewports display the selected curve in blue.

Arrow Buttons

Use these to change the order of section curves in the list. Select a curve in the list, and then use the arrows to move the selection up or down.

Curve Properties group

These controls affect individual curves you select in the Section Curves list, as opposed to properties of the sweep surface in general. They are enabled only when you have selected a curve in the Section Curves list.

Reverse

When set, reverses the direction of the selected curve.

Start Point

Adjusts the position of the curve's start point. This can help eliminate unwanted twists or "buckles" in the surface.

This control is disabled if the curve is not a closed curve.

While you're adjusting start points, a dotted blue line is displayed between them, to show the alignment. The surface is not displayed, so it doesn't slow down adjustment. When you release the mouse button, the surface reappears.

Insert

(Disabled.)

Remove

Removes a curve from the list. Select the curve in the list, and then click Remove.

Refine

(Disabled.)

Replace

(Disabled.)

Sweep Parallel

When on, ensures that the sweep surface's normal is parallel to the rail.

Snap Cross-Sections

When on, cross-section curves are translated so they intersect the rail. The first cross section is translated to the start of the rail, and the last to the end of the rail. The cross sections in the middle are translated to touch the rail at the closest point to the end of the cross-section curves.

When Snap Cross-Sections is on, the sweep follows the rail curve exactly. This makes it easier to construct 1-rail sweep surfaces.

Road-Like

When on, the sweep uses a constant up-vector so the cross sections twist uniformly as they travel along the rail. In other words, the cross sections bank like a car following a road, or a camera following a path constraint. Default=off.

When you edit the surface, you can control the angle of banking. The up-vector is displayed as a yellow gizmo (similar to the gizmo that lathe surfaces use for the center of rotation). To change the up-vector angle, use Rotate to change the gizmo's angle.

Display While Creating

When on, the sweep surface is displayed while you create it. When off, the sweep can be created more quickly. Default=off.

Flip Normals

Reverses the direction of the sweep's normals.

1-Rail Sweep Surface rollout (modification time)

Rail Curve

Shows the name of the curve you chose to be the rail.

Replace Rail

Lets you replace the rail curve. Click this button, then in a viewport click the curve to use as the new rail.

Section Curves

This list shows the names of the cross-section curves, in the order you click them. You can select a curve by clicking its name in the list. Viewports display the selected curve in blue.

Arrow Buttons

Use these to change the order of section curves in the list. Select a curve in the list, and then use the arrows to move the selection up or down.

Curve Properties group

These controls affect individual curves you select in the Section Curves list, as opposed to properties of the sweep surface in general. They are enabled only when you have selected a curve in the Section Curves list.

Reverse

When set, reverses the direction of the selected curve.

Start Point

Adjusts the position of the curve's start point. This can help eliminate unwanted twists or "buckles" in the surface.

This control is disabled if the curve is not a closed curve.

While you're adjusting start points, a dotted blue line is displayed between them, to show the alignment. The surface is not displayed, so it doesn't slow down adjustment. When you release the mouse button, the surface reappears.

Insert

Adds a curve to the section list. Click to turn on Insert, then click the curve. The curve is inserted before the selected curve. To insert a curve at the end, first highlight the "----End-----" marker in the list.

Remove

Removes a curve from the list. Select the curve in the list, and then click Remove.

Refine

Refines the 1-rail sweep surface. Click to turn on Refine, then click an iso curve on the surface. (As you drag the mouse over the surface, the available section curves are highlighted.) The curve you click is converted to a CV curve and inserted into the sweep and the section list. As when you refine a point curve, refining a sweep can change the curvature of the surface slightly. Once you’ve refined the surface by adding a cross-section curve, you can use Edit Curves to change the curve.

Replace

Lets you replace the selected curve. Select a curve in the list, click this button, and then select the new curve.

Sweep Parallel

When on, ensures that the sweep surface's normal is parallel to the rail.

Snap Cross-Sections

When on, cross-section curves are translated so they intersect the rail. The first cross section is translated to the start of the rail, and the last to the end of the rail. The cross sections in the middle are translated to touch the rail at the closest point to the end of the cross-section curves.

When Snap Cross-Sections is on, the sweep follows the rail curve exactly. This makes it easier to construct 1-rail sweep surfaces.

Road-Like

When on, the sweep uses a constant up-vector so the cross sections twist uniformly as they travel along the rail. In other words, the cross sections bank like a car following a road, or a camera following a path constraint. Default=off.

When you edit the surface, you can control the angle of banking. The up-vector is displayed as a yellow gizmo (similar to the gizmo that lathe surfaces use for the center of rotation). To change the up-vector angle, use Rotate to change the gizmo's angle.

Display Iso Curves

When set, the 1-rail sweep's V-axis iso curves are displayed as well as the U-axis curves used to construct the loft. The V-axis curves are only for display. You can’t use them for surface construction.

Edit Curves

Lets you edit the currently selected curve without switching to another sub-object level. Click to turn on Edit Curve. The points or CVs of the curve are displayed, as well as the control lattice if the curve is a CV curve. You can now transform or otherwise change the points or CVs as if you were at the Point or Curve CV sub-object level. To finish editing the curve, click to turn off Edit Curves.

Tip: When you edit curves in a 1-rail sweep, turning off display of the sweep itself can make the curves easier to see and improve performance. Use Ctrl+D (while the Keyboard Shortcut Override Toggle is on) to toggle display of dependent sub-objects, including sweeps.

The sweep surface can deviate from the curve if you edit a curve in a sweep by increasing the weight of the curve CVs. You can work around this by refining the curve at the point where the surface deviates.