18 - Tutorial: Trace Images - Dragonfly

This tutorial demonstrates how to get started modeling an object using photographs as reference material.

You will learn how to:

Note: The top and side views are actually of different specimens of this dragonfly. In the side view, the wings are folded up. We will be using the side view image only to draw the side view curves of the body.

To download the tutorial files

  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 image files Dragonfly Top.jpg and Dragonfly Side.jpg.

Place the reference images

Start the model

  1. On the File menu, click New to begin a new model.

  2. In the Open Template File dialog box, select Small Objects - Millimeters.3dm, and click Open.

Place the top view image

  1. Drag the image file DragonFly Top.jpg from File Explorer and drop it onto a Rhino viewport.

  2. In the Image Options dialog, select Picture, and click OK.

  3. Move the cursor to the Top viewport, type 0, and press Enter.

    This places the first corner at the construction plane origin, 0,0,0.

  4. Type 50, and press Enter.

    This sets the length of the Picture plane to 50 mm.

  5. Move the cursor above the X axis, and click.

Place the side view image

Align the top view image

  1. On the Object Snap toolbar, check Mid and End.

  2. In the Perspective viewport, move the cursor near the tail of the top view image and hold the left mouse button.

    The Mid tooltip appears to indicate the middle point of the edge is snapped.

    Note: Do not release the left mouse button.

  3. Drag the Picture plane, snap to the lower-left corner of the other Picture plane, and release the left mouse button.

Align the side view image

  1. On the Status bar, turn on Gumball.

  2. In the Perspective viewport, select the side view Picture plane.
  3. Drag the blue arrow down and align the body in the side view image with the top Picture plane.
     
  4. Turn off Gumball.
More about gumball

For more information about using Rhino's gumball feature, review the Help topic for the Gumball command.

Two video tutorials also help with learning to use the gumball

Hello Gumball! (https://vimeo.com/84954262)

Gumball Advanced (https://vimeo.com/260472052)

Reduce visibility of Picture materials

The Picture command creates a Picture material with the selected image as the texture and assigns the material to the Picture plane. Reducing visibility of the Picture material makes tracing the image easier.

 

Black curves on the full color texture (left) and on a transparent grayscale texture (right).

  1. In the Materials panel, two materials have been added by the Picture command.

  2. Select both materials in the Materials panel.

    Tip: Select a material, hold Shift, and select the other.

  3. In the Texture settings below, check Grayscale.

  4. In the Transparency settings, drag the slider to 80%.

    You can also double-click the triangle slider, and enter 80.

Lock Picture planes

Trace the chest and body

Draw chest profiles

  1. Start the Curve command.

    (Curve > Free-Form > Control Points)

  2. In the Front viewport, start the curve at the neck (1).

  3. Trace along the upper profile of the chest and end the curve at (2) where the chest and body connect.

  4. Draw another curve along the lower profile of the chest.

    Use the End object snap to start and end the curve at the endpoints of the first curve.

Create body segment profiles

The body consists of several segments. We only need to draw the profiles of one segment.

  1. Start a curve at (1) in the chest and above the ends of the chest profiles.

  2. Reference the image and end the curve at the end of the first segment.

    Tip: Use five points to draw the curve. Place the last two points close to form a curly end (2).

  3. Select the curve, and start the Mirror command.

    (Transform > Mirror)

  4. Pick at (1) and then (2) to define the mirror plane.

    Tip: The mirrored curve has to intersect with the lower chest profile.

Duplicate body segment profiles

  1. Select the upper body segment profile, and start the Orient command.

    (Transform > Orient > 2 Points)

  2. Set command-line options to Copy=Yes and Scale=1D.

  3. Snap to the right end of the curve, and click to place the first reference point.

  4. Snap to the left end of the curve, and click to place the second reference point.

  5. Snap to the same end again, and click to place the first target point.

  6. Using the image as a reference, click at the end of the second body segment.

  7. Snap to the current end, click, and continue duplicating more curves along the upper body profile.

  8. Click at the end of the last body segment, and press the ESC key to end the command.

  9. Use the same procedure to duplicate the other curve along the lower body profile.

Fine-tune body segment profile curves

The last three lower body segment profile curves do not match the image. We will use control point editing to improve them.

  1. Select one of the curves.

    Its control points turn on automatically.

  2. Move the control points to make the curve match the image.

  3. Adjust the other two curves.

  4. Select all body segment profile curves, and Join them into two polycurves.

    (Edit > Join)

Create the body segments

Create the body cross-section

  1. Start the Circle command to draw a circle from its diameter.
    (Curve > Circle > 2 Points)
  2. At the command-line, click the Vertical option.

  3. In the Front viewport, snap to the two ends of the body profile curves to create a circle.

     

Create the body segment surfaces

  1. Start the Sweep2 command.

    (Surface > Sweep 2 Rails)

  2. In the Perspective viewport, select the two body profile curves (1) and (2), and the cross-section circle (3) in order. Press Enter when done.

  3. Press Enter one more time to accept the default seam location.

  4. In Sweep 2 Rail Options, set the options as shown below, and click OK to create the surface.

  5. On the Perspective viewport title menu, click Shaded to see the surface.

Create the tail

Draw the side profiles of the tail

  1. Start the Curve command.

    (Curve > Free-Form > Control Points)

  2. Use the Quad object snap to start the curve from the top quadrant point of the body edge.

  3. Continue drawing the curve in the Front viewport.

    Use four points to create the curve.

  4. Create another curve from the bottom quadrant point of the body edge.

  5. Continue drawing the curve in the Front viewport.

Create the end cross-section of the tail

  1. Create an Ellipse from its diameter.

    (Curve > Ellipse > Diameter)

  2. At the command-line click the Vertical option.

  3. To draw the ellipse vertical to the Front construction plane, in the Front viewport, use the End object snap to place the first and second points of the ellipse at the ends of the two curves.

  4. In the Top viewport, reference the image, and place the third point of the ellipse.

     

Draw the top profiles of the tail

  1. Start the InterpCrv command.

    (Curve > Free-Form > Interpolate Points)

  2. In the Perspective viewport, use the Quad object snap to start the curve from the left quadrant point of the body edge (1).

  3. End the curve at the left quadrant point of the ellipse (2).

  4. In the Front viewport, select the curve, and move the two control points up a small distance.

     

  5. In the Top viewport, move the two control points in the vertical direction to make an "S" shape.

    Tip: To maintain the curve's shape in the Front viewport, move the control points in the Top viewport only in the y‑direction.

     

  6. Mirror (Transform > Mirror) the curve to the other side.

Create the tail surface

Now we have a curve network that we can use to create the tail surface.

  1. Start the NetworkSrf command.

    (Surface > Curve Network)

  2. In the Perspective viewport, select the four curves, the ellipse, and the body edge, and press Enter.

  3. In the options dialog, set the options as shown below, and click OK.

     

Clean up the model

  1. Use the SelCrv command to select all the curves in the model.

    (Edit > Select Objects > Curves)

  2. Hold the Ctrl key and click on the two chest profile curves to deselect them.

  3. Hide all the curves that will not be used in the future.

    (Edit > Visibility > Hide)

Join body and tail surfaces

  1. Start the Join command.

    (Edit > Join)

  2. Select the body and tail surfaces, and press Enter.

    The body and tail are joined into a single object.

  3. While the new body-tail object is still selected, run the Cap command.

    (Solid > Cap Planar Holes)

    A planar surface is added to each open end to make it a closed object.
     

Create the trimming cylinder

We will create a cylinder and use it to trim the tail.

  1. Start the Cylinder command.

    (Solid > Cylinder)

  2. Set the command-line option Solid=Yes, and click 2Point.

  3. Use the Quad object snap to place the start (1) and end (2) of the cylinder base at the left and right quadrant points of the tail edge.

  4. Set the command-line options DirectionConstraint=None and BothSides=Yes.

  5. In the Front viewport, move the cursor to make the preview cylinder roughly perpendicular to the tail and click.

     

Trim the tail

  1. Start the BooleanDifference command.

    (Solid > Difference)

  2. Select the body-tail object as the object to subtract from, and press Enter.

  3. Select the cylinder as the object to subtract with, and press Enter.

Create the chest

Create the dummy surfaces

We will make two dummy surfaces to help create one side of the chest.

  1. Turn on Gumball.

  2. Select the two chest profile curves in the Perspective viewport.

  3. Drag the small dot on the green arrow of the Gumball widget for a short distance.

    The two curves are extruded into two surfaces. They are the dummy surfaces.

     

  4. While the curves are still selected, run the Hide command.

    (Edit > Visibility > Hide)

Create the chest surface

  1. Start the BlendSrf command.

    (Surface > Blend Surface)

  2. Select the two edges of the dummy surfaces.

    Tip: Select the two edges close to the same end.

     

  3. In the options dialog, click the lock icon to link the two sliders.

  4. Set the options as shown in the illustration below.

  5. Look at the Top viewport and drag the sliders to the left until the blend surface profile matches the chest profile in the top image.

     

  6. Click OK to create one side of the chest.

  7. Delete the two dummy surfaces.

Mirror the chest surface

  1. Select the chest surface, and start the Mirror command.

    (Transform > Mirror)

  2. With the Perspective or Top viewport active, click the command-line option XAxis.

  3. Join both sides into a whole chest.

    (Edit > Join)

Create the head

The head is deformed by control points editing from an ellipsoid.

Start the head from a sphere

  1. Start the Sphere command.

    (Solid > Sphere > Center, Radius)

  2. In the Front viewport, pick at (1) for the sphere center and (2) for the radius.

     

  3. In the Top viewport, select the sphere, and turn on Gumball.

  4. Drag the Y scale handle (the small green rectangle) down for a short distance.

    The sphere became an ellipsoid.

     

Rebuild the ellipsoid

  1. Rebuild the ellipsoid.

    (Edit > Rebuild)

  2. In the Rebuild Surface options dialog, set the options as shown in the illustration below, and click OK.

Shape the head

  1. Select the head, and press F10 to turn on its control points.

  2. Start the SelCircular command.

    (Edit > Select Objects > Area and Volume Select > Circular)

  3. In the Front viewport, as shown below, click at (1) to set the center of the selection circle.

  4. Click at (2) between the outermost two rows of control points to define the size of the selection circle.

     

  5. In the Top viewport, drag Gumball's X move control (the red arrow) to the left.
     

  6. In the Front viewport, window-select the control points as illustrated.

  7. Drag Gumball's XY plane control toward the lower-right.

  8. Press ESC to turn off control points.

Add the neck

The neck is a blend surface between the head and body. You will first combine the head and body, and then create a blend surface along the edges between them.

Combine the head, chest, and body

  1. In the Front viewport, move the head to enclose the endpoint of the chest as needed.

    If the endpoint of the chest is not inside the head, the neck surface will fail to create.

     

  2. Select the head, chest, and body, and run the BooleanUnion command.

    (Solid > Union)

  3. Start the BlendEdge command.

    (Solid > Fillet Edge > Blend Edge)

  4. Set the command-line options NextRadius=0.5 and Preview=Yes.

  5. Select the edges between the head and chest, and press Enter.

  6. Preview the result, and press Enter to create the neck.

Create the eyes

The eyes are simple ellipsoids.

Start the eye from a sphere

  1. Start the Sphere command.

    (Solid > Sphere > Center, Radius)

  2. In the Perspective viewport, pick two points around the head to create a sphere.

    The sphere size does not matter.

  3. Tune on Gumball and drag the Z scale handle (the small blue rectangle) up to squeeze the sphere into an ellipsoid.

     

  4. Turn off Gumball.

Position the eye

  1. Select the eye ellipsoid and start the OrientOnSrf command.

    (Transform > Orient > On Surface)

  2. In the Perspective viewport, snap to the center of the ellipsoid, and click.

     

  3. Pick another point on the construction plane as the reference point.

  4. Select the head as the target surface.

  5. In the options dialog, set the options as shown in the illustration below, and click OK.

     

  6. Move the ellipsoid on the surface to a proper location, and click.

     

  7. Disable all object snaps.

  8. Move the cursor to define the size of the eye, and click.

Mirror the eye

  1. Select the eye and start the Mirror command.

    (Transform > Mirror)

  2. On the Status bar click Record History .

  3. At the command-line, click the XAxis option.

  4. Use Gumball to adjust the position, size, and orientation of the first eye.

    History will update the mirrored eye on the other side.

Trace the wings

The wings are solids created from closed planar curves.

Draw the outline curve

  1. Hide the body.

    (Edit > Visibility > Hide)

  2. Double-click the Top viewport title to maximize the viewport.

  3. Use the Curve command to trace a wing on one side.

    (Curve > Free-Form > Control Points)

    Tip: Place the last control point at the first control point to make a closed curve.

  4. Draw the other wing on the same side.

Extrude the curves to make solids

  1. Select the two wing curves, and start the ExtrudeCrv command.
    (Solid > Extrude Planar Curve > Straight)
  2. Set the command-line options BothSides=No and Solid=Yes.

  3. Set the extrusion distance to 0.1, and press Enter.
    Two thin solid wings are created.

Relocate and mirror the wings

  1. Use Gumball to move the wings up.

    Place the front wing higher than the back wing.

  2. In the Top viewport, Mirror the wings to the other side.

    (Transform > Mirror)

  3. Hide the solid wings and the outline curves.

    (Edit > Visibility > Hide)

Create the legs

The legs are pipes created from polylines with various radii.

Draw the center polyline

  1. Start the Polyline command.

    (Curve > Polyline > Polyline)

  2. In the Top viewport, start every polyline close to the center line of the body.

  3. Trace down the center line of each leg with four points (three segments).

     

  4. In the Perspective viewport, select a polyline, and use Gumball to move the control points down.

    Tip: Look at the Front viewport to help locate the points.

    You will have to use your imagination a little for this since the two pictures do not show the legs of the same dragonfly.

Pipe the polylines

  1. Start the Pipe command and select a polyline.

    (Solid > Pipe)

  2. Type 0.4, and press Enter for the start radius.

  3. Type 0.1, and press Enter for the end radius.

  4. Use the End object snap to snap to the corner between the first and second segments and click.

  5. Type 0.3, and press Enter.

  6. Snap to the corner between the second and third segments and click.

  7. Type 0.2, and press Enter.

  8. Press Enter again to create the pipe.

  9. Create the other five legs with the same procedure.

Unhide the body and wings

  1. Start the ShowSelected command.

    (Edit > Visibility > Show Selected)

  2. Select the body and wings, and press Enter.

  3. Unlock the Picture planes and hide them.

    (Edit > Visibility > Unlock)

  4. Use Gumball to rotate the wings slightly to add realism.


 

 

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