14 - Tutorial: Revolve Curves - Flashlight

Creating surfaces from curves and joining the surfaces together allows you greater freedom for modeling the shape.

This tutorial introduces the concept of drawing curves and one method of creating surfaces from those curves.

You will learn how to:

You will use guides as a frame of reference for drawing the profile curves of the flashlight.

To download the tutorial model

  1. On the Rhino Help menu, click Learn Rhino, and then click Tutorials and Samples.

  2. In the Tutorials panel, under User's Guide, double-click the tutorial model file Flashlight.3dm.

Set up the guides

Guides are infinite construction lines that only display when you are picking a point for a command or when you are dragging objects with an object snap active.

Add guides

  1. Click anywhere in the Front viewport to make it active and press F7.

    This hides the construction plane grid so you can easily see the guides you are going to add.

  2. On the status bar, turn on SmartTrack.

    Note: To use guides, SmartTrack and OSnap have to be turned on at the same time.

  3. Type AddGuide, and press Enter.

  4. At the Guide base point prompt, in the Object Snap control, right-click on the Point checkbox.

    This turns on the Point object snap and turns off all the others.

  5. Snap to a point, move the cursor vertically or horizontally, and click to add a guide.
    If the cursor cannot move vertically or horizontally, hold down Shift to temporarily enable Ortho mode.

  6. Add more guides as illustrated.

    Tip: If a guide is not added properly, use the RemoveGuide command to remove the guide.

Draw the body profile curve

You are going to draw a profile curve that you will use to revolve and create the flashlight body.

Draw the body curve

  1. On the status bar, click the Layer pane, and click the light bulb of the Points for guides layer to turn it off.

  2. On the Curve menu, click Free-Form > Control Points.

  3. Set command-line options to Degree=3 and PersistentClose=No.

  4. At the Start of curve… prompt, in the Front viewport, snap to the lower-left intersection of the guides and click.

    Note: When guides display, Int and Near object snaps are always turned on.

  5. At the Next point... prompt, continue placing points as illustrated. Press Enter when done.

    All the points will be placed either on a guide or at an intersection of two guides.

    Note: The first and last two points must be placed along the y‑axis so the surface created from the curve will be smooth at both ends.

Draw the lens profile curve

Make another profile curve for the lens.

Create the outer lens profile curve

  1. On the Curve menu, click Free-Form > Control Points.

  2. At the Start of curve… prompt, in the Front viewport, hold down Alt and place the first point as illustrated.

    Note: Holding down Alt hides the guides and avoids snapping to the guides.

  3. At the Next point... prompt, release Alt and place the second point.
  4. For the third point, hold down Shift, snap to the lowest guide, click, and press Enter to end the curve.

    Note: Holding down Shift enables Ortho mode. The second and third points are placed along the y‑axis.

Offset to create the inner lens profile curve

  1. On the status bar, turn SmartTrack off to disable guides.

  2. On the Curve menu, click Offset > Offset Curve.

  3. At the Select curve to offset... prompt, set the command-line options
    Distance=1.5 and Cap=None.

  4. Select the outer lens profile curve in the Front viewport, move the cursor to the left and click.

Connect the inner and outer lens profile curves

  1. On the Curve menu, click Line > Single Line.

  2. In the Object Snap control, check End.

  3. Snap to the upper ends of the lens profile curves.

    This creates a line to fill the gap.

  4. Select the line and the lens profile curves.

  5. On the Edit menu, click Join.

    The curves and line are joined into a polycurve.

Build body and lens surfaces

To make the body and lens surfaces, you will revolve the body and lens profile curves 360 degrees. You will use two curve ends to establish the revolve axis.

Create the flashlight body and lens

  1. Right-click on the Perspective viewport title, and select Shaded.

    Note: The Shaded display mode uses render meshes to display surfaces so you can see the surfaces when they are created.

  2. Select the body and lens profile curves.

    Tip: Drag the cursor from right to left, the dashed rectangle is the crossing selection window. All objects that intersect or are within the rectangle will be selected.

  3. On the status bar, click Record History.

    The next command will have History recorded.

  4. On the Surface menu, click Revolve.

  5. At the Start of revolve axis prompt, snap to an end of the body profile curve and click.

  6. At the End of revolve axis... prompt, snap to the other end and click.

  7. At the command line, click the FullCircle option.

Use History

We recorded History when building the flashlight body and lens surfaces. In the next section, we will change the shape of the body profile curve and let History update the body surface.

Edit the body profile curve

  1. In the Front viewport, select the body profile curve.

    The body profile curve and surface are overlapped. The Selection Menu pops up because Rhino cannot tell what you are going to select. You will have to select curve from the list.

    Note: When you select a single curve, its control points turn on automatically. The control points turn off when you deselect the curve. If you need control points to stay on when a curve is deselected, select the curve, and press F10.

  2. Drag the control points to change the shape of the body profile curve.

    History updates the body surface for you.

 

 

Rhino for Windows © 2010-2018 Robert McNeel & Associates. 24-Nov-2021