Rhino iPhone, part 2: finish the surfaces and close the body

Where part 1 should have left you

This is the second half of the extra-credit smartphone project in the Rhino Basics series. In part 1 you set up an envelope, drew clean profile curves, and built the main body from a flat front, a flat back, and a rounded side band. Now you will add the details that make it read as a finished product and close it into a single, watertight body.

Open phone-part1.3dm and run through this checklist before you start. If anything fails, fix it in the part 1 file first. Details built on a broken body only multiply the problems.

  • The body is one closed polysurface. Select it and run What; the report should say closed polysurface.
  • ShowEdges with Naked Edges selected finds nothing on the body.
  • Zebra stripes flow across the joint between the side band and the flat faces without jumping.
  • Curves, references, and the body each live on their own layers, and the reference layers are locked.

Save a copy as phone-part2.3dm and work in the copy. Keeping each stage in its own file is a cheap form of undo.

Secondary surfaces

The front, back, and side band are the primary surfaces: they define the overall form. Everything you add now is secondary. Secondary surfaces sit on, cut into, or blend between the primary surfaces, and they must never distort them. If adding a button forces you to change the shape of the side band, something has gone wrong.

The screen recess

On a phone of this style the front glass sits very slightly below or flush with a thin rim. Model the glass as a shallow pocket in the front face.

  1. In the Top view, draw the glass outline as a rounded rectangle centered on the body, inset from the front face edge by about 2 mm all around. Use a smaller corner radius than the body outline so the rim looks even.
  2. Run Split on the front face using that outline. The front face splits into two pieces: the rim and the glass.
  3. Select the glass and use Move to drop it 0.3 mm. You now have a gap between the glass and the rim.
  4. Run Loft or ExtrudeCrv on the glass outline to build the short vertical wall that closes the gap. Join it to the rim and the lowered glass.

The recess is tiny, but it gives the front face a real edge to catch light, and that edge is what makes a render look like a product rather than a bar of soap.

The home button and speaker slot

Both details sit in the front glass, outside the display area: the speaker slot above the screen and the home button below it. Draw the display area as a reference rectangle on the glass, then draw a thin rounded slot for the speaker above it and a circle for the button below it. Split the glass with each curve. For the button, you can either push the circular piece down slightly like the screen, or delete it and loft a shallow dish that dips down and comes back up. For the speaker slot, delete the piece and extrude a short wall down into the body, then cap the bottom with PlanarSrf.

Side buttons and switches

Buttons on the side band can be modeled two ways:

  • As cuts. Draw the button outline in the Front or Right view, project it onto the side band with Project, use the projected curve to split the band, and push the piece in or out with a short extrusion. This keeps everything as one body.
  • As separate objects. Model each button as its own small rounded solid and place it so it sits slightly proud of the band, with a matching clearance hole in the body. This is closer to how real products are assembled, and it is easier to change later.

For a first project, cuts are simpler. Use separate objects if you plan to render the phone with different materials for the buttons. Whichever method you choose, keep each button outline on the curves layer so you can rebuild the detail later without redrawing it, and check the spacing between buttons with Distance before you cut anything.

Diagram: top view of the front face. A rim about 2 mm wide surrounds the front glass, which is split from the rim and dropped 0.3 mm; a small section shows the drop. Inside the glass a dashed rectangle marks the display area. The speaker slot sits in the glass above the display and the home button circle sits in the glass below it.
Secondary surfaces on the front face

Fillets and blends

Real products almost never have sharp edges. The edges you have now, around the screen rim, the speaker slot, and the side buttons, need small rounds to look believable.

Constant-radius fillets

Run FilletEdge, select the edges around the screen rim, and give a radius of about 0.3 mm. FilletEdge builds a rolling-ball round between the two faces and trims them back to meet it. Use a constant radius when the edge is uniform all the way around, which is most of the time.

Variable-radius fillets

FilletEdge also lets you add handles along an edge and give each a different radius. That is useful for a transition that should be soft in one place and crisp in another. Use it sparingly; variable fillets are harder to keep clean.

When a fillet fails

Fillets fail for a few common reasons, and Rhino rarely tells you which one.

  • The radius is too big. If the fillet is larger than one of the faces it touches, there is no room for it. Try half the radius.
  • The edge has a kink or a tiny segment. Run ShowEdges and look for short edges where two faces join. Merge them with MergeAllEdges, or go back and rebuild the curve that made them.
  • Two fillets meet at a sharp corner. This is the three-way corner problem, covered next.

BlendEdge is a cousin of FilletEdge that makes a smoother, curvature-continuous transition instead of a circular round. It looks softer in reflections. Try both on the same edge and compare them with Zebra.

Diagram: the same rim edge in section, rounded two ways. On the left, FilletEdge makes a circular arc whose orange curvature comb jumps from zero to a constant height, and the Zebra stripes below kink at the joints. On the right, BlendEdge makes a curvature-continuous transition whose comb rises and falls smoothly, and the stripes bend smoothly.
Fillet versus blend on the rim edge

The three-way corner problem

Any time three rounded edges meet at a single corner, you get a three-way corner. On a box, that is every corner. On the phone, it happens wherever a side button cut meets the rounded band and the flat face at once. Rhino, like most CAD tools, often struggles to fillet all three edges in one go, and when it does succeed the corner can show a pinch or a ripple.

There are a few practical ways out:

  1. Fillet in the right order. Fillet the largest radius first, then the smaller ones. Different radii are easier to resolve than equal ones, because the corner has a clear hierarchy.
  2. Use different radii on purpose. Three equal fillets meeting at a point is the hardest case. Making one of them slightly larger often lets the tool build a clean patch.
  3. Trim back and patch. Fillet the edges individually, trim each fillet back a short distance from the corner, and fill the hole with NetworkSrf or Patch using the trimmed edges as boundaries. Then check the patch with Zebra.

The dreaded three-way corner deserves more than a few paragraphs. When you use the trim-back method, start with a short trim and check the patch with Zebra before you accept it. If the stripes kink where the patch meets a fillet, undo, trim a little further back so the patch has more room to blend, and try again. The tool-neutral guide to CAD surfacing techniques goes into it in more depth.

Diagram: a three-way corner seen from outside. On the left, three fillet bands meet at one point and overlap in a tangle. On the right, each fillet is trimmed back a short distance from the corner and the opening is filled with an orange Patch or NetworkSrf surface.
Resolving a three-way corner with a trim-back patch

Joining and inspecting

When the details are in, select everything that belongs to the body and run Join. Then inspect it the same way you did in part 1, only more strictly:

  • ShowEdges, Naked Edges. Any naked edge means the body is not closed. Zoom to each one. Most are tiny gaps between a secondary surface and the primary surface it should meet. Rebuild the secondary piece using an edge of the primary surface as its boundary, so the two share exactly the same edge.
  • What. Confirm the body is a closed polysurface.
  • Zebra. Look at every fillet and blend. Stripes should bend smoothly across each one.
  • A render view. Switch a viewport to Rendered display, give the body a simple glossy material, and orbit around it. A rendered viewport exaggerates bumps and dents in reflections, which is exactly what you want while checking.

If the inspection passes, you have finished a real surfacing project. That is a significant milestone for anyone two weeks into Rhino.

Diagram: the finished closed phone body shown in a Rendered style isometric view with a simple glossy material: soft gradient shading, a dark screen area set into the rim, a home button, a speaker slot, a highlight along the rounded edge, and a soft shadow.
The completed smartphone body

Optional next step

A closed body like this one is close to printable, but a phone shell has problems a printer cares about, such as very thin walls around the screen recess and tiny details that a nozzle cannot reproduce. If you want to print it, do not rush it from here. The tutorial on how to prepare a Rhino model for 3D printing covers wall thickness, mesh export, and checks for watertight files.

What's next in the series

The extra-credit project is done. Return to the core sequence with week 03, which takes the precision drawing from week 02 into 3D. It starts a simpler phone-style massing with construction planes, so you will see some of the same ideas from a new angle. For other Rhino lessons, see the Rhino hub.