15 - Tutorial: Sweep, Loft, and Extrude - Headphones

This tutorial demonstrates how to create surfaces from profile curves.

You will learn how to:

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 Headphone.3dm.

Create the speaker shell

The speaker shell is created using a lofted surface, a one-rail sweep, a solid extrusion of a planar curve, and a surface fillet. The resulting geometry is joined into one solid.

One way to create a surface is to use existing curves as a guide. When lofting through curves, the curves are used as a guide for creating a smooth surface.

Loft curves to create a surface

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

    The Perspective viewport is now in the Shaded display mode.

  2. Select the three circular curves, with a crossing selection as illustrated.

  3. On the Surface menu, click Loft.

  4. At the Drag seam point to adjust… prompt, note the display of the curve direction arrows at the seam points.

    In this model, they are nicely lined up, so you do not need to adjust them.

    Press Enter.

  5. In the Loft Options dialog box, click OK to create the loft.

Sub-object selection

Hold down Ctrl and Shift, and click to select individual object features such as:

This action is called sub-object selection.

Extrude the surface edge

Extrude the lofted surface edge in the center to make a magnet housing on the convex side of the speaker shell.

  1. Hold down Ctrl and Shift to select the surface edge at the center of the lofted surface.

  2. On the Solid menu, click Extrude Planar Curve > Straight.

  3. At the Extrusion Distance… prompt, move the cursor to the convex side, type 2, and press Enter.

    This makes a solid cylinder for the magnet housing that is two units thick and extends from the original surface edge.

    Note: The cylinder you just created is an extrusion object (solid). The housing cylinder needs to be open on the bottom.
    In the next step, you will use sub-object selection to remove the bottom face.

Remove the bottom surface

  1. Hold down Ctrl and Shift, and click to select the bottom face.

  2. Press the Delete key.

Fillet or round off the edge of the cylinder surface

  1. On the Solid menu, click Fillet Edge > Fillet Edge.

    The current NextRadius setting should be 1.

  2. At the Select edges to fillet… prompt, select the edge at the top of the cylinder, and press Enter.

  3. At the Select fillet handle to edit... prompt, press Enter.

    Surfaces that share an edge can be joined into a polysurface.
    In the next step, you will join all the surfaces.

Join the surfaces

  1. Select the surface and the polysurface.

  2. On the Edit menu, click Join.

    To join surfaces, you must select surfaces that are adjacent to each other and the edges must match.

Create the padding and cover

Sweep a curve around the edge of the speaker cone to create the padding around the edge of the speaker.

Reset the view

  1. On the View menu, click Zoom > Zoom Extents All.

    All viewports are zoomed in or out to show all the objects.

  2. Hide or Delete the three curves used for the loft.

Sweep a curve along one rail

  1. On the Surface menu, click Sweep 1 Rail.

  2. At the Select rail prompt, select the loft surface outer edge.

  3. At the Select cross section curves prompt, select the cross section curve at the top of the speaker as shown, and press Enter.

  4. In the Sweep 1 Rail Options dialog box, enable Refit rail, and click OK.

Make a surface from planar curves

  1. Hold down Ctrl and Shift, and click to select the inner edge of the padding as illustrated.

  2. On the Surface menu, click Planar Curves.

    A planar surface is created at the base of the padding.

    This fills the area at the base of the padding with a planar surface created from the edge of the sweep.

Create the mounting bracket

The next part is the bracket that holds the speaker to the headband. Since the speaker unit is complete, you can turn its layer off and make the Bracket layer current.

Reset the layers

  1. On the status bar, click the Layer pane where it shows Speaker.

  2. Make Bracket the current layer, and turn on the layer Bracket Shape Curves.

  3. Turn all other layers off.

Reset the view

Extrude a curve into a solid

  1. Select the closed curve.

  2. On the Solid menu, click Extrude Planar Curve > Straight.

  3. At the Extrusion distance… prompt, move the cursor to the left, type 1, and press Enter.

Fillet the edges

  1. On the Solid menu, click Fillet Edge > Fillet Edge.

  2. At the Select edges to fillet… prompt, type 0.2, and press Enter.

  3. At the Select edges to fillet… prompt, click ChainEdges, and select the front edge of the bracket.

    The entire edge of the solid should highlight.

  4. Press Enter to close that edge selection.

  5. At the Select edges to fillet… prompt, click ChainEdges, and select the back edge of the bracket.

  6. Press Enter to close that edge selection.

    Illustration.

  7. Press Enter to finish the edge selection.

  8. At the Select fillet handle to edit... prompt, press Enter.

    This rounds all of the sharp edges.

Create a tubular surface from the shape curves

  1. Select the curve at the top of the bracket.

  2. On the Solid menu, click Pipe.

  3. At the Start radius… prompt, set the command-line options to Cap=Flat and Thick=No.

  4. Type 0.3, and press Enter.

  5. At the End radius… prompt, press Enter.

  6. At the Point for next radius... prompt, press Enter.

For the second tube

  1. Select the curve at the bottom of the bracket.

  2. On the Solid menu, click Pipe.

  3. At the Start radius… prompt, type 0.2, and press Enter.

  4. At the End radius… prompt, press Enter.

  5. At the Point for next radius... prompt, press Enter.

Create the headband

The headband consists of a series of ellipses swept along a path.

Reset the layers

  1. On the status bar, click the Layer pane.

  2. Make Headband the current layer, and turn on the layer Headband Shape Curves.

    Turn all other layers off.

Reset the view

Create an ellipse perpendicular to a curve

  1. Turn Ortho on.

  2. On the Curve menu, click Ellipse > From Center.

  3. At the Ellipse center… prompt, click AroundCurve.

  4. Select the curve.

  5. At the Center of ellipse prompt, snap to an endpoint of the headband curve and click.

    Use the End object snap.

  6. At the End of first axis prompt, type 0.5, and press Enter.

  7. At the End of first axis prompt, drag the cursor in the x‑direction and click.

  8. At the End of second axis prompt, type 2, and press Enter.

  9. At the End of second axis prompt, drag the cursor in the y‑direction and click.

Array a curve along a path

  1. Select the ellipse.

  2. On the Transform menu, click Array > Along Curve.

  3. At the Select path curve prompt, select the headband curve.

  4. In the Array Along Curve Options dialog box, under Method, set the Number of items to 3.

  5. Under Orientation, click Freeform, and click OK.

Scale the ellipse

  1. Select the center ellipse.

    Illustration.

  2. On the Transform menu, click Scale > Scale 1‑D.

    Scale1D stretches an object in one direction.

  3. At the Base point… prompt, press Enter.

  4. At the Scale factor or first reference point… prompt, type 2, and press Enter.

  5. At the Scale direction… prompt, drag the cursor in the y‑direction and click.

    Illustration.

    This makes the center ellipse larger.

Sweep along one rail

  1. On the Surface menu, click Sweep 1 Rail.

  2. At the Select rail prompt, select the headband curve.

  3. At the Select cross section curves prompt select the three ellipses, and press Enter.

  4. At the Drag seam point to adjust… prompt, examine the direction and seam points of the curves to make sure they are not twisted, and press Enter.

  5. In the Sweep 1 Rail Options dialog box, click OK.

Round the headband ends

Use the same ellipse that formed the first cross-section curve for the headband to create a rounded end for the headband. Start by splitting the ellipse in half.

Reset the view

  1. On the View menu, click Zoom > Zoom Window.

  2. In the Perspective viewport, drag a rectangle to enclose the left end of the headband to zoom in.

Split the ellipse in half

  1. In the Object Snap control, right-click the Quad object snap.

    The Quadrant object snap is enabled. All the others are disabled at the same time.

  2. On the Edit menu, click Split.

  3. At the Select objects to split… prompt, click the Point option.

  4. At the Select curve to split prompt, select the ellipse.

  5. At the Point to split curve prompts, snap to the two quadrants at the narrow axis of the ellipse and click, and then press Enter.

    Illustration.

    The ellipse is split into two halves.

Create a surface of revolution

  1. Select the left half of the ellipse.

    Illustration.

  2. On the Surface menu, click Revolve.

  3. At the Start of revolve axis prompt, snap to the end of the ellipse half and click.

  4. At the End of revolve axis prompt, snap to the other end of the ellipse half and click.

    Illustration.

  5. At the Start angle... prompt, snap to the ellipse at the outer edge of the headband and click.

  6. At the Revolution angle... prompt, rotate the view to see the other side.

    Swing the mouse cursor down and snap to the other side of the ellipse and click.

     

    A rounded surface is created at the end of the headband.

Mirror the rounded end

  1. Select the rounded end.
    Illustration.

  2. On the Transform menu, click Mirror.

  3. At the Start of the mirror plane prompt, type 0, and press Enter.

  4. At the End of the mirror plane prompt, drag the mirror line in the y‑direction as illustrated, and click.

    Hold down Shift to help move the cursor in the ortho direction.

    Illustration.

Join the surfaces

  1. Select the surfaces.

  2. On the Edit menu, click Join.

    Three surfaces are joined into one polysurface.

Create the speaker wire

Use a separate layer to create the speaker wire.

Reset the layers

  1. On the status bar, click the Layer pane.

  2. Make Wire Shape Curves the current layer and turn on the layer Wire.

    Turn all other layers off.

Reset the view

Make the helix

  1. On the Curve menu, click Helix.

  2. At the Start of axis… prompt, click AroundCurve.

  3. At the Select curve prompt, select the long free-form curve.

  4. At the Radius and start point… prompt, type 1, and press Enter.

    This sets the radius for the helix.

  5. At the Radius and start point… prompt, set Turns=30 and NumPointsPerTurn=8.

  6. At the Radius and start point… prompt, in the Right viewport drag the cursor to the left and click.

    Hold down Shift to help move the cursor in the ortho direction.

Reset the view

  1. On the View menu, click Zoom > Window.

  2. In the Perspective viewport, zoom in on the left end of the helix you just created.

Match and join the helix to the end curves

  1. On the Curve menu, click Curve Edit Tools > Match.
  2. At the Select open curve to change - pick near end prompt, select near the left end of the helix.
  3. At the Select open curve to match - pick near end… prompt, select near the lower end of the vertical curve.
    Illustration.
  4. In the Match Curve dialog box, under Continuity, click Tangency, and enable Join.
  5. Repeat steps 1 through 4 for the other end of the helix.
    Illustration. Illustration. Illustration.

Create the speaker wire

  1. On the Solid menu, click Pipe.

  2. At the Select rail prompt, select the extended helical curve.

  3. At the Start radius… prompt, type 0.2, and press Enter.

  4. At the End radius… prompt, press Enter.

  5. At the Point for next radius prompt, press Enter.

Create the second wire

  1. Select the curve at the top left.

  2. On the Solid menu, click Pipe.

  3. At the Start radius… prompt, type 0.1, and press Enter.

  4. At the End radius… prompt, press Enter.

  5. At the Point for next radius prompt, press Enter.

Mirror the headphone parts

Mirror the parts to create the parts for the other side of the headphones.

Reset the layers

  1. On the status bar, click the Layer pane.

  2. Turn on all layers.

Reset the view

Delete all the shape curves

  1. Press Esc to deselect anything currently selected.

  2. On the Edit menu, click Select Objects > Curves.

  3. Press the Delete key.

Mirror the left half of the headphones

  1. In the Front viewport, window-select the speaker, bracket, small wire, and rotated ellipse as illustrated.

  2. On the Transform menu, click Mirror.

    The Mirror command depends on which viewport is active. It uses the construction plane in the active viewport to define the mirror plane. The mirror plane is perpendicular to the construction plane. Two points define the line in this plane about which the selected objects are mirrored.

  3. At the Start of mirror plane prompt, type 0, and press Enter.

    This is the first point of the mirror line.

  4. At the End of mirror plane prompt, turn on Ortho, and drag the mirror line straight up and pick.

Vimeo video linkLearn more

For a video tutorial showing a more sophisticated modeling method for a headphone set using Rhino's Gumball feature, see: Modeling stereo headphones.

 

 

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