Rhino iPhone, part 1: start surfacing a smartphone

Project scope and a trademark note

This is the extra-credit project from the Rhino Basics series: surface the body of a classic smartphone, the kind of rounded slab with a glass front that phones of the 2009 era made familiar. It is aimed at ambitious beginners. You have only had two weeks of Rhino, and real surfacing theory does not arrive until week 04, so expect to follow some steps before you fully understand why they work. That is fine. Doing it first and understanding it a week later is a good way to learn surfacing.

The project is split in two. In this part you set up references, draw clean profile curves, and build the main surfaces of the body. In part 2 you add the screen recess and button details, blend the edges, and close the model.

A quick note on names: "iPhone" is a trademark of Apple Inc. This lesson uses the name because it is the clearest way to describe the shape being studied. cadjunkie is not affiliated with Apple, and the model you build is a generic study of a phone-like form, not a reproduction of any product's internal design.

What you should already know

You should be comfortable with everything from week 01 and week 02:

  • Moving around the viewports and maximizing one.
  • Typing coordinates and lengths, and using End, Mid, Int, and Cen snaps.
  • Move, Rotate, Scale, and Mirror.
  • Trim, Join, and the difference between a solid extrusion and an open surface.

If any of those feel shaky, spend twenty minutes on the week 02 exercises first. Surfacing magnifies small drawing mistakes.

Gather references and set the scene

Pick an overall envelope

Every product model starts with a box it has to fit inside. Use the publicly listed outside dimensions of the phone you are studying. For the 2009-era model used in this lesson, the manufacturer's published size was about 115.5 mm tall, 62.1 mm wide, and 12.3 mm thick. You can use those numbers, or measure a phone you own with calipers and use those instead. Do not go looking for teardown drawings; the outside shape is all you need.

Start a new file from a millimeter template. Run Box and draw the envelope centered on the origin: in the Top view, type -31.05,-57.75 for the first corner and 31.05,57.75 for the opposite corner, then type 12.3 for the height. Put the box on its own layer, lock that layer, and set its display color to something pale. This box is a fence, not part of the model.

Place reference pictures

If you have clean side, top, and end photographs of a phone, taken from far away with a long lens so perspective is minimal, place them with the Picture command in the matching views. Scale each picture with Scale and two reference points so the phone in the image matches the envelope box exactly. Then put the pictures on their own locked layer.

If you do not have good photos, skip them. The dimensions and a sketch on paper are enough, and for a simple slab you will make better curves by drawing to numbers than by tracing a fuzzy image.

Diagram: Top, Front, and Right viewports. In each, a pale dashed envelope box sized 62.1 by 115.5 by 12.3 mm sits over a gray rectangle standing in for a scaled reference picture. A lock icon marks the envelope layer as locked.
The envelope box and reference pictures in place

Primary curves

The body of this phone is mostly a flat-sided slab with a rounded outline in plan and softly rounded long edges. You need three kinds of curves.

The plan outline

In the Top view, run Rectangle and choose the Rounded option. Snap the corners to the envelope box and set a corner radius of about 9 mm. A rounded rectangle is made of straight lines and circular arcs. That gives a slight visual jump where each arc meets each straight, which is acceptable for a first model. If you want a softer corner, rebuild the outline with the Curve command as a single degree-3 curve, using a few more control points near each corner. Week 04 explains why that looks smoother.

The side profile

In the Front view, draw the shape of the long side as seen from the edge. For this body it is a flat front, a flat back, and rounded long edges. Draw the front and back as straight lines at the thickness of the envelope, and draw each rounded edge as an arc or a short degree-3 curve that meets the straight line tangent. Tangency matters: if the curve kinks where it meets the straight line, the surface will show a visible crease.

The end profile

Repeat in the Right view for the short ends. For most phones of this style the end profile is close to the side profile, which keeps the surfacing simple.

Clean the curves before you surface

Select each profile curve and turn on its control points with F10. Look for points bunched together, points that zigzag, or a curve with far more points than its shape needs. Delete or move points until each curve is as simple as it can be while still matching the shape. Run CurvatureGraph on the outline and profiles to check for kinks; a smooth curve has a smooth graph with no sudden spikes. Five minutes cleaning curves here saves an hour fixing surfaces later.

Diagram: on the left, the rounded plan outline in the Top view with its control points and an orange curvature graph that is flat along the straight sides and steps up to a constant height around each 9 mm corner arc. On the right, the side profile in the Front view: straight front and back lines with rounded long edges that meet them tangent, control points showing.
Clean primary curves with control points showing

Primary surfaces

There are several reasonable ways to build this body. To keep the lesson followable, here is one recommended path. It uses tools you already know plus one new command, Sweep2.

Front and back faces

The front and back are flat. Keep one copy of the plan outline on the ground at Z 0 for the back, and use Move to place a second copy at the top of the envelope, 12.3 mm up, for the front. Run PlanarSrf on each to make flat faces. Now run Offset on each outline, inward by the size of your edge rounding (about 3 mm works), and use Trim so only the flat middle of each face remains. The space between the trimmed edges of the front and back faces is where the rounded band will go.

The rounded side band

The rounded band that runs around the edge is the main surface of this project. Build it with Sweep2:

  1. Use the trimmed edge of the front face as the first rail and the trimmed edge of the back face as the second rail. If the rails are made of several pieces, run Join on each so it is one continuous curve.
  2. Use the rounded part of the side profile, the curve that runs from the edge of the front face out to the widest point and back in to the edge of the back face, as the cross-section shape. Place it so its ends touch both rails at the same point, using End and Near snaps.
  3. Run Sweep2, pick the two rails, then pick the cross-section. Accept the default options for now.

Sweep2 drives the cross-section around both rails, so the rounded edge follows the plan outline all the way around. If the result twists or folds near the corners, the most common cause is that the two rails have different structures. Run Rebuild on both rails with the same point count and degree 3, then sweep again.

A simpler fallback

If Sweep2 fights you, there is an easier route that gives a slightly less refined shape. Extrude the plan outline as a closed solid at the full thickness of the envelope, then run FilletEdge on the top and bottom edges with a radius equal to your edge rounding. You will lose some control over the profile, but you will have a body to carry into part 2, and you can come back to the Sweep2 approach after week 04.

Diagram: on the left, an exploded view of the trimmed flat front face lifted above the trimmed flat back face, both 3 mm smaller than the plan outline, with their edges highlighted in orange as the two Sweep2 rails and one rounded cross-section curve between them. On the right, the Sweep2 side band fills the gap and closes the body.
Building the primary surfaces with Sweep2

Check the surfaces before you go on

Before you call part 1 finished, inspect what you have. This is the habit that separates clean models from messy ones.

  • Look at the edges. Run ShowEdges and choose Naked Edges. A naked edge is an edge that is not joined to anything. Right now you should see naked edges only where the front face, back face, and side band meet, because you have not joined them yet.
  • Join and recheck. Select the three pieces and run Join. Rhino reports how many pieces it joined. If the result is a closed polysurface, the command line says so. If not, run ShowEdges again and look for small gaps. A gap usually means a rail and a surface edge do not quite match.
  • Look at reflections. Run Zebra on the joined body. Zebra paints stripes on the surfaces as if they were reflecting a striped wall. Where the side band meets a flat face, the stripes should continue smoothly, perhaps with a slight bend, but without a jump. A jump means the two surfaces only touch; they do not flow into each other. For a first model, stripes that line up without a break are a good result.
  • Look at curvature. CurvatureAnalysis colors the surface by how strongly it curves. The flat faces should be one even color. The side band should change color smoothly around the corners.

If you see problems, go back to the curves. Fixing a surface by pushing control points directly is possible, but at this stage it is better to repair the curve and rebuild the surface.

Diagram: the joined phone body in an isometric view with Zebra stripes. Each black stripe runs straight across the flat front face and continues without a break as it bends over the rounded side band.
Zebra check on the primary surfaces

Save a checkpoint

Save the file as phone-part1.3dm. Before you start part 2, the file should contain:

  • The locked envelope box and any reference pictures on their own locked layers.
  • The clean plan outline, side profile, and end profile on a curves layer.
  • The trimmed front and back faces and the rounded side band, joined into one polysurface on a body layer.

It should not contain stray duplicate curves, hidden surfaces you forgot about, or construction lines scattered across the model. Run SelDup to find duplicates and delete them. A tidy file makes part 2, where you add the screen recess, button islands, and edge blends, much less painful.

When you are ready, continue to part 2. If you want more background on the tools you just used, the Rhino NURBS surfacing tutorial and the tool-neutral guide to CAD surfacing techniques are good companions, and week 04 of the series explains the theory behind curve degree and curvature. All Rhino lessons are listed on the Rhino hub.