Rhino Basics, week 06: model the insides of the clock
Why you model the parts yourself
Last week you wrote a brief and made a rough massing for an object that marks time in an unexpected way. This week you make it buildable. That means modeling the electronic parts inside it accurately enough that a housing designed around them will actually fit.
You can find downloadable CAD files for most popular boards and motors. This lesson follows one firm rule about them: use downloaded files to check your work, but build everything yourself. A downloaded file is a reference, not a deliverable. It often carries far more detail than a housing needs, it may be slightly wrong, and, most importantly, you learn nothing about the part by importing it.
When you model a part yourself, you are forced to find out the things a housing depends on: where the mounting holes are, how tall the tallest component is, where the connectors stick out, and how much room a cable needs. Those are the facts that decide whether your design works.
What counts as accurate enough
You are not modeling every resistor. You are modeling the envelope that matters to the housing:
- The board outline and thickness.
- Mounting hole positions and diameters.
- The height of the tallest components.
- Every connector that must be reached from outside, plus space for the plug that goes into it.
- Any part that moves, with its full range of motion.
Everything else can be a simple block. A good component model for housing design is plain but precise.
Arduino board, from reference to a clean model
Choose a board and find its drawing
This lesson uses the Arduino Uno as the example, because it is common, well documented, and shares the same basic footprint and hole pattern style as older boards such as the Diecimila. If you are using a different board, the method is identical.
Find the official board documentation from Arduino. It includes a dimensioned drawing with the board outline, hole positions, and connector locations. The Uno board outline is about 68.6 by 53.4 mm. Take every other number from the official drawing, not from memory or a forum post, and note which revision you are working from.
Build the model
- Start a millimeter file. On a layer called board, draw the board outline in the Top view with Rectangle, using typed coordinates so its lower-left corner sits at the origin.
- Place each mounting hole with Circle, using the coordinates from the drawing. Measure from the same corner the drawing uses. The Uno R3 datasheet shows four holes, each 3.2 mm in diameter.
- Extrude the outline as a solid to the board thickness, and subtract the holes with BooleanDifference. The official specifications do not list the board thickness, so measure your own board with calipers.
- Model the USB connector and the power jack as simple boxes and cylinders at their documented positions and heights. These are the parts that will punch through your housing wall.
- Add one or two blocks for the tallest components and the header rows, so you know how much height the housing needs above the board.
Add keep-out volumes
On a separate layer called keepout, add transparent boxes in front of each connector that show the space a plug and cable will occupy. A USB cable plug is much larger than the socket it goes into. If you design the housing wall right up to the socket, the cable will not fit. Keep-outs make that mistake visible.
A small stepper motor
Choose a stand-in
Small hobby steppers come and go, so rather than chase one exact part, this lesson uses a NEMA 17 stepper as the example. NEMA 17 is a common frame size for hobby steppers, and its mounting face is standardized, which makes it ideal for practice. If you choose a smaller motor, the method is the same.
Download the datasheet for the specific motor you plan to buy. Body length, shaft length, and shaft details vary between models even within the same frame size, so always model from the datasheet of the part you will actually use.
Model the body, shaft, and mount pattern
- On a typical NEMA 17 motor datasheet, the square face is 42.3 mm across, with four M3 threaded mounting holes on a 31 mm square pattern, a raised round boss 22 mm in diameter around the shaft, and a 5 mm shaft. Confirm every number against the datasheet for your motor.
- Draw the face outline with Rectangle, add the four hole circles and the boss circle, and extrude the body to the length given on the datasheet.
- Extrude the boss a short distance forward, then model the shaft as a cylinder at its documented diameter and length. If the shaft has a flat, add it with a simple BooleanDifference.
- Add a block at the back for the cable exit, with a keep-out volume for the wires.
The shaft height above the mounting face is the number that matters most. Whatever the motor turns, whether a hand, a disk, or a gear, has to line up with it.
Assembly in Rhino
Now bring the parts together and start the housing.
- Place the parts. Import or copy the board and motor into your week 05 massing file. Use CPlane with the Object option to set a construction plane on the face where each part will mount, then move the parts into place with snaps, not by eye.
- Check clearances. Turn on the keep-out layer. Nothing, including the outer form from your massing, should intrude on a keep-out volume. Use Distance to check gaps between parts.
- Shell the housing. Turn the outer massing into a closed solid if it is not one already. Use Shell, or OffsetSrf with the Solid option, to give it a wall thickness. Around 2 mm is a sensible starting point for a printed housing.
- Add standoffs. Under each mounting hole on the board, model a cylinder standoff from the inside of the housing floor up to the underside of the board, with a hole for a screw. Do the same for the motor's mounting face.
- Cut openings. Use the keep-out volumes as cutters with BooleanDifference to make openings in the wall for the connectors and the motor shaft.
Check the whole assembly with ShowEdges and your back-face color from week 03, then save it.
Hand-off to making
If you plan to build the object, the housing has to survive the trip from CAD to a real part. If you will 3D print it, read CAD for 3D printing for wall thickness, overhangs, and fit tolerances, and then prepare the Rhino model for 3D printing to export a clean, watertight file. Plan for screw clearance, and expect to print a test fit of the standoffs before printing the full housing. More build projects are collected on the Maker projects hub.
Series wrap
You have reached the end of the core six weeks. Look back at what you can do now: navigate and build simple solids, draw to exact dimensions, work on construction planes anywhere in space, understand NURBS well enough to choose the right surfacing tool, light and judge a model honestly, and design a housing around real parts. If you took the extra-credit route, you have also surfaced a complete smartphone body.
That is a solid foundation for any kind of Rhino work. There is no week 07 in this series. Instead, return to the series index to revisit any week, or go to the Rhino hub for newer lessons on Rhino tips, NURBS surfacing, and 3D-print preparation.