Engineering & Architecture

Guidance

Design rules for 3D printing, clearances, joints that move, and how to check your constraints in Onshape. Keep this page open while you're modeling and at the printer.

The one idea

The printer builds your part one thin layer at a time, and each layer has to sit on the one below it. It's also not exact: holes come out a little small and edges come out a little fat.

Every rule on this page comes from those two facts. Design around them from the start, and your parts come off the printer and snap together. Ignore them, and you're sanding, taping, and reprinting — and the brief says none of that is allowed.

You already know the Onshape side. On the front end loader you made parts in part studios and put them together with mates. This project uses the same skills. What's new is that nobody hands you the dimensions. You decide them — and they have to work on a real printer.

A purple print building up layer by layer on the printer bed
Most of a print is empty space. The outside walls print solid. The inside gets only a light infill grid. Because it's part solid and part air, a print's density isn't simple — that's why you estimate its weight with 0.6 g/cm³, not the 1.24 of solid PLA.
A red cube printing tilted on its corner, starting from a small circle on the bed
Turn the part so it doesn't need supports. This cube is set on an angle. Everything builds up from the first layer and gets bigger from there, so every new layer sits on the one below it. No supports. See overhangs.

The design process

Same six steps as every project in this class. This page is in the same order.

The six steps of the engineering design process in a row: define the problem, research and brainstorm, pick a solution, prototype, test and evaluate, communicate. A loop arrow runs from test and evaluate back to prototype. 1 DEFINE THE PROBLEM 2 RESEARCH & BRAINSTORM 3 PICK A SOLUTION 4 PROTOTYPE 5 TEST & EVALUATE 6 COMMUNICATE repeat until it works
Steps 4 and 5 are a loop. Model, print, test, fix, print again. That loop is most of this project.
  1. Define the problem. Read the brief. In your notebook, write the problem, your goal, and every constraint in your own words.
  2. Research and brainstorm. Look at real toys, then sketch lots of ideas. See what to research and the design questions.
  3. Pick a solution. Compare your best ideas with a decision matrix, not a gut feeling.
  4. Prototype. Model it in Onshape using the design rules, then print it.
  5. Test and evaluate. Find what fails, fix it, and record it. See documenting every print.
  6. Communicate. Present your toy and your process. See how it's scored.

What to research

Take notes in your design notebook. For each thing you look up, write one line on what it means for your toy.

The questions your sketches must answer

Sketch lots of different toys first — not the same car five times. Cross off anything that breaks a constraint, and write down why. Then sketch your best one or two in more detail. By the end, your sketches should answer every one of these:

  1. What is the toy, and who is it for?
  2. What moves, and what makes it move — a push, a roll, a hand?
  3. How does each moving part attach? What's the clearance at each joint?
  4. How does it break into parts that each print flat, with little or no support? Which face of each part goes on the bed?
  5. Does it fit in the 6 × 4 × 4 in box? Draw the box around it.
  6. About how much will it weigh? Is that under 100 g?
  7. Which parts are PLA, which are TPU, and why?
  8. If one part breaks, can it be reprinted without reprinting the rest?

Pick a solution: the decision matrix

Take your best two or three ideas. First, cross off any that break a constraint — those aren't options. Then score the rest from 1 to 5 on each thing that matters, multiply by its weight, and add it up. Agree on the weights as a team before you score.

Criterion Weight Race car Robot dog Dragon
Fits the box and the budgetmust passyesyesno — wings too wide
Fun to play with× 34 → 125 → 15—
Prints with few or no supports× 25 → 103 → 6—
Joints we know how to make× 25 → 103 → 6—
Done in two weeks× 24 → 82 → 4—
Total4031out

An example, not the answer. Pick your own criteria and weights. The robot dog was the most fun idea, but the race car won because the team could actually finish it. Write that reason in your notebook — it's the kind of decision the rubric asks you to explain.

Design rules at a glance

These numbers are from the Hydra Research design rules for FFF printing — the kind of printer in our shop. They're starting points, not guarantees. Each one is explained below.

A pin standing in a matching hole, with a small gap around it
Clearance
0.2 mm loose · 0.1 mm tight
An overhanging face angled out from a wall
Overhangs
under 50° from vertical
A flat span printed between two pillars
Bridges
under 10 mm long
A round hole with small flats cut at the top and bottom
Sideways holes
add a small flat top and bottom
A block with holes of several sizes
Hole size
at least 2 mm across
A thin wall standing on a base
Walls
at least 0.9 mm thick
Thin ribs inside a box
Small features
at least 1.8 mm
A thin printed pin standing on a base
Pins
at least 1.8 mm across
A part with a small chamfer around its bottom edges
Base chamfer
about 0.3 mm on edges touching the bed
Two long parts, one with rounded base corners
Base corners
round them, R 4 mm or more, on big parts
A cube with rounded edges
Fillets
at least 1 mm; not on downward-facing edges
A flat ledge sticking out from a wall with nothing under it
Ledges
unsupported ledges under 0.9 mm
Raised letters on a flat top face
Text on a top face
lines 0.9 mm wide raised, 0.5 mm engraved
Raised letters on a vertical wall
Text on a side wall
up to 2 mm out or in
A screw going into a plain printed hole
Self-tapping screws
hole = 96% of the screw's diameter

Illustrations: Hydra Research, CC BY-SA 4.0. Tap a rule name to jump to the explanation.

Working in inches? Onshape takes any unit in any box. Type 0.2 mm into a dimension in an inch document and it converts it for you. For reference: 0.1 mm ≈ 0.004 in, 0.2 mm ≈ 0.008 in, 1 mm ≈ 0.04 in, 10 mm ≈ 0.39 in.

Clearance: the gap that makes it move

Draw a 5 mm pin and a 5 mm hole, and they won't go together. Printed holes come out small, printed pins come out fat, and two parts the same size have zero room to move. Anywhere two parts touch, you design in a gap on purpose. That gap is the clearance.

A pin inside a hole with the clearance gap marked. Beside it, a tight fit with a very small gap that holds the pin still, and a loose fit with a bigger gap that lets the pin turn. pin gap on each side = clearance ÷ 2 pin Ø hole Ø = pin Ø + clearance TIGHT 0.1 mm holds still press fit LOOSE 0.2 mm turns and slides wheels, joints gaps drawn much bigger than real
Clearance is the total difference in diameter, split between the two sides. Tight holds a part still. Loose lets it turn.
Sizing a hole for a pin

hole Ø = pin Ø + clearance

Start at 0.2 mm for anything that moves and 0.1 mm for anything that shouldn't, then check them on the Tolerance Blocks. Clearance is a total, not per side. A 5 mm axle that needs to spin gets a 5.2 mm hole.

Which fit goes where on a toy

Joint Fit Start at
Wheel spinning on its axleLoose0.2 mm
Axle held in the body so it can't turn or slide outTight0.1 mm
Arm, leg, or head that turns on a pegLoose0.2 mm
Two flat faces that rub, like a wheel beside the bodyLoose0.2 mm or more between the faces
Part that slots into another and staysTight0.1 mm
Onshape's Variable dialog with Name and Value fields, then a sketch dimension typed as #x*2, then the same dimension solved to 8
Left: the Variable dialog — name it clr, value 0.2 mm. Middle: type the variable into any dimension with a #. Right: Onshape does the math. Change #clr once and every hole updates. (Images: Onshape Help.)

Find your real number: the Tolerance Blocks

0.1 and 0.2 mm are starting points. Every printer is a little different. Each of our three printers has its own set of 3D Printer Tolerance Blocks next to it — test pieces printed on that printer, with the same pin in holes at different clearances.

The 3D Printer Tolerance Blocks next to a printer
The Tolerance Blocks at a printer. Two minutes of testing here saves two hours of reprinting.

Overhangs and bridges

Each layer has to sit on the one below. A wall can lean a little, because each layer still mostly rests on the last one. Lean it too far and the new layer is printing on air — it droops and curls. Angles are measured from straight up.

A bridge is a flat span between two supports. The printer can stretch plastic across a short gap like a string. A long one sags.

Four features on a print bed: a wall leaning 40 degrees that prints clean, a wall leaning 65 degrees that droops unless it has support, a short bridge between two pillars that prints clean, and a long bridge that sags in the middle print bed 40° 65° <10 mm under 50°: clean over 50°: droops or needs support short bridge: clean under 10 mm long bridge: sags angles measured from vertical
Keep overhangs under 50° and bridges under 10 mm (about 0.4 in). Some printers can push overhangs to 70°, but design for 50° and you won't have to find out.

Round parts need a flat side

A round part lying on the bed touches it along one thin line. It wobbles, it doesn't stick, and the whole bottom half is an overhang that needs support. Slice a little off the bottom and it sits flat. Cut off the bottom fifth of the diameter and the steepest overhang left is about 37° — under the 50° limit, so it prints with no support at all.

Two round parts on a print bed, cut in half. A full circle touches the bed at one point and needs support under its lower half. A circle with its bottom fifth cut off sits on a wide flat, and its steepest overhang is about 37 degrees from vertical. support 37° ⅕ of Ø cut off ROUND touches on one line · needs support FLAT SIDE sits flat · steepest overhang 37° · no support
Cut the bottom fifth off a round part and it prints with no support. Nobody notices a flat on the underside of a toy.

Holes

Holes going straight up (the axis points at the ceiling while printing) come out a little small and slightly faceted. Your clearance takes care of that.

Holes going sideways are trickier. The top of a round hole is a flat overhang — right at the top it's 90° — so it droops. On a wheel or an axle hole, that droop is a bump that catches every turn.

Three sideways holes. A round hole whose top droops, a teardrop hole with a pointed 45 degree roof that prints clean, and a round hole with a small flat top that prints as a short bridge. droop 45° ROUND top droops, bump inside TEARDROP roof is 45°: prints clean FLAT TOP a tiny bridge: prints clean layers build up
Two fixes for a sideways hole. The teardrop's pointed roof is a 45° overhang. The flat top is a bridge a few millimeters long — Hydra puts it about 0.3 mm outside the circle, with 40° slopes into it, and does the same at the bottom. Either way, the round part the axle actually rides on stays round.

Smallest hole: 2 mm. Anything smaller may close up. If you need a small hole to be exact, print it a little undersize and drill it to size.

A hole that starts in mid-air

A small hole at the bottom of a wider pocket — like a screw hole under a counterbore — has nothing to print its first layer on. Hydra's fix: at the step, extrude two thin rectangles that just touch the hole. The first is one layer tall. The second, turned 90°, is two layers tall. The printer bridges each one cleanly, and the hole comes out square-edged but open. Or just flip the part over.

A counterbored hole shown before and after, with step 1: a rectangle one layer tall tangent to the hole, and step 2: a second rectangle two layers tall at 90 degrees
Step 1: extrude = layer height. Step 2: extrude = layer height × 2. (Image: Hydra Research, CC BY-SA 4.0.)

Thin walls, pins, and small features

The nozzle lays down a bead of plastic about 0.45 mm wide. That's the smallest thing the printer can draw. Everything you make is built from those beads side by side.

Cross-sections of printed plastic beads. One bead wide is too thin to print well. Two beads wide, 0.9 millimeters, is the thinnest wall. Four beads wide, 1.8 millimeters, is the smallest pin or feature. 0.45 mm 0.9 mm 1.8 mm 1 BEAD too thin: gaps, may not print 2 BEADS thinnest wall 4 BEADS smallest pin or feature
Walls at least two beads thick (0.9 mm). Pins and small features at least four beads across (1.8 mm). Anything thinner than a bead may just vanish in the slicer.
Minimum sizes

wall ≥ 2 × bead  ·  feature ≥ 4 × bead

With a 0.45 mm bead: walls at least 0.9 mm, pins and small features at least 1.8 mm. These are the smallest the printer can make — not the smallest a toy can survive.

A toy gets dropped, stepped on, and chewed. Treat the minimums as a floor. A wall a kid will squeeze wants 1.5–2 mm. An axle that carries the weight of the toy wants 3 mm or more — or a dowel or rod you don't print at all.

Edges: chamfers and fillets

The first layer gets squished onto the bed so it sticks. That squish spreads it a little wider than you drew — a lip called elephant's foot. On a part that slides into another one, that lip jams the fit. A tiny chamfer on every bottom edge fixes it.

Fillets (rounded edges) look great and make a toy safer to hold. But a fillet on the underside of a ledge starts out perfectly flat — a 90° overhang — so it droops. Use a 45° chamfer there instead.

Four side views on a print bed. A block with a lip flared out at its base from elephant's foot. The same block with a small base chamfer that prints straight. A ledge whose underside is a fillet, which droops where it starts flat. The same ledge with a 45 degree chamfer underneath, which prints clean. lip 0.3 mm flat here: droops 45° ELEPHANT'S FOOT first layer spreads out BASE CHAMFER prints straight FILLET UNDERNEATH don't CHAMFER UNDERNEATH do
Left pair: add a 0.3 mm chamfer to edges that touch the bed. Right pair: under a ledge, chamfer at 45° instead of filleting. Fillets are fine on top and on the sides.

Text and surface details

A logo, a name on the side of a car, the cross on a shield — details make a toy. Keep them big enough to print.

Layers are the weak direction

A printed part is strong along its layers and weak between them. Push sideways on a thin peg that printed standing up, and it snaps cleanly along one layer line — usually at the root, where the stress is highest. The same peg printed lying down is several times stronger, because now the layers run the length of it.

Two pegs pushed sideways. A peg printed standing up, with layers running across it, cracks at its root. The same peg printed lying down, with layers running along its length, holds. push push PRINTED STANDING UP layers across the peg: snaps at the root PRINTED LYING DOWN layers along the peg: holds
Before you print a part with a peg, pin, or snap arm, ask which way the layers will run through it. If they cross it, turn the part, thicken the peg, fillet its root, or make the peg a separate part.

Joints for a toy that moves

The brief says no tape and no sanding. So every connection is a joint you designed in CAD. Here are three that work well for printed toys. Mix and match.

Three printed joints. A wheel on an axle, cut in half: the axle is held tight in the body wall, the wheel turns loosely on the axle, and a cap on the end keeps it on. A C-shaped clip whose opening is narrower than the rod inside it, so the rod snaps in and turns. A split snap pin whose two halves squeeze through a hole and whose barbs catch on the far side. body: tight wheel: loose cap axle gap at the side so it doesn't rub opening < rod Ø arms flex then close barbs catch slot lets it squeeze WHEEL ON AXLE C-CLIP SNAP SPLIT SNAP PIN
Left, cut in half: tight where the axle sits in the body, loose where the wheel turns, and a cap so it can't walk off. Middle: the rod pushes the arms open and they snap back around it. Right: the two halves squeeze together to pass through the hole, then spring open.

Wheel on an axle

C-clip snap

Split snap pin

TPU: the flexible one

TPU is rubbery. It bends, grips, and bounces back. Use it where PLA would crack or slip — and nowhere else.

A TPU tire next to a PLA wheel, and the tire stretched onto the wheel
A TPU tire is smaller than its rim. It stretches on and grips without glue.

Parts you don't print

Not every part has to come off the printer. Wooden dowels, screws, washers, and other parts we already have in the shop are often stronger, smoother, and faster than anything you could print. Hydra's own advice on pins: if a pin has to work hard, use a real one and model holes for it on both sides.

Ask Mr. Hubbard what's in stock before you design around it. Then design your printed parts to fit the real thing.

Two joints using parts that aren't printed. Left, cut in half: a wooden dowel axle passes loosely through holes in the body walls, and printed wheels fit tightly on its ends. Right, cut in half: a screw passes through a clearance hole in a moving arm and a washer, then threads into a smaller hole in the body. wooden dowel axle wheel: tight on the dowel body: loose — it spins arm: clearance hole — it turns on the screw washer body: 96% of screw Ø — the screw bites here only screw DOWEL AXLE SCREW PIVOT
Left: the dowel spins in loose holes in the body, and the printed wheels grip its ends. Right: the screw threads into the body only. The arm turns freely on the smooth part of the screw, and a washer keeps the faces from rubbing.

Wooden dowels

A long, thin printed cylinder is about the hardest thing to print well. Lying down, it's round on the bed with nothing holding it. Standing up, every layer is a weak spot, and it snaps. A wooden dowel is straight, round, strong, and free. That's why the snake car uses one for its axle.

Screws, nuts, and washers

Designing around them in Onshape

Break it into modules

One giant part is hard to print, impossible to fix, and wasteful when it fails. Split the toy into smaller parts that each print flat and connect with the joints above.

Checking the constraints in Onshape

Check the box and the budget in CAD, before anything touches the printer. It's the cheapest place to find out you're too big.

The box

6 × 4 × 4 in ≈ 152 × 102 × 102 mm

Model a box this size in its own part studio and insert it into your assembly. Make it see-through by lowering its opacity in the part's appearance. If anything pokes out — a sword tip, a spoiler, a wheel — you're too big. Don't print the box.

The budget

printed mass ≈ volume × 0.6 g/cm³

Solid PLA is 1.24 g/cm³, but your parts aren't solid. We print at 15–20% infill: the outside walls and the top and bottom layers are solid, and the inside is a light grid. A typical toy part comes out about half the weight of a solid one, so use 0.6 g/cm³ to estimate. Read each part's volume from the Mass properties tool in Onshape and multiply.

Document in inches? Onshape shows volume in in³. One in³ is 16.4 cm³, so a printed part weighs about 10 g per in³ (20 g per in³ for thin parts).

Onshape's Mass and section properties panel showing a part's mass and volume, with a red arrow pointing to the scale icon in the bottom-right corner
The Mass properties tool is the scale icon in the bottom-right corner. Select a part and read its Volume. Ignore the Mass line — it assumes a solid part. (Image: Onshape Help.)

At the printer

Two from previous years

Both are real student projects. Names are cropped out of every image.

The snake car

A snake on wheels, inspired by jointed toy snakes. Each body segment pivots on the next, so the snake bends as it rolls.

Onshape assembly of a snake car: four half-round body segments linked end to end, with two axles and four blue wheels
The final assembly: jointed segments linked by a wire pin, riding on two wooden-dowel axles.
A notebook page with notes on 3D printing, several brainstorm sketches, and dimensioned sketches of a half-round segment, with the note: for the printer make sure to cut off the bottom fifth so it can stick
Notes, brainstorms, and dimensioned sketches on one page. Look at the middle left: "for the printer make sure to cut off the bottom fifth so it can stick." The printing was planned in the sketch, before any CAD.
One snake segment in Onshape: a long half-round body with a flat underside, and a tab with a pin hole at each end
One segment. It started round; the bottom was cut flat so it sits on the bed. The tabs at each end hold the pin.
The snake segment from above: the ends taper at an angle into the narrow tabs that hold the pin
The ends angle in toward the tabs. That lets the snake turn tighter — and the slope under each tab means it never prints over thin air.
An early version of the axle connection: a segment sitting on a separate connector on the axle, between two wheels
An early axle connection: a separate connector meant to be glued on.
The final axle connection: the dowel axle passes straight through a hole in the segment, with a wheel on each end
The final version: the dowel passes straight through a hole in the segment. Stronger, and no glue joint to fail.

What changed after the first prints, from the student's notes:

What's good here, and what's missing

Good: every part was designed for the printer. Round parts got a flat side. Tabs got a slope underneath, so nothing needs support. The axle is a wooden dowel, and the pin is music wire, because a long thin printed cylinder would be weak. The iteration notes say what failed, why, and what changed. The reflection is honest: the snake sags in the middle, and a stiffer spine would fix it.

Missing for this brief: the build used superglue and rubber bands, and this brief allows neither. The student already named the fix — printed stop collars on the axle instead of rubber bands. Snaps or a tight fit would replace the glue. No clearance numbers are written down, and there's no weight total.

The building-block knight

A building-block knight that moves: the head turns, the arms swing, the hands turn and grip, the legs swing. About 6 inches tall.

It started as something else. The first idea was a mummy. The pharaoh's mask turned out to be too hard to model, so the design changed to a knight. That's a real design decision — write yours down, too.

Pencil sketch of a building-block figure in front and side views, labeled 6 inches tall and 2.4 inches wide
The first sketch — still the mummy. Front and side views, with the overall size labeled: 6 in tall, 2.4 in wide. That's the box check, done on paper before any CAD.
An Onshape sketch of a trapezoid for the knight's upper body, with every side dimensioned
The upper body sketch: every line dimensioned, so it can't shift.
The knight's hip part: two blocks on top, with a rod underneath that the legs turn on
The hip. The legs turn on the rod underneath — a pin joint.
The knight's arm in Onshape with a 0.7 inch circle sketched for the hole that holds the hand
The arm, with a Ø0.7 in hole for the hand's peg.
The knight's hand: a C-shaped clip with a round peg sticking out the back
The hand: a C-clip that grips the sword, on a peg that turns in the arm.

What's good here, and what's missing

Good: the overall size was sketched before modeling. Every part has its own part studio — head, body, hip, both legs, both arms, both hands, helmet, sword, and shield — so any one can be reprinted. The sketches are fully dimensioned. And the moving parts use real joints: a pin at the hips, pegs at the shoulders and wrists, and a C-clip that grips the sword.

Missing: no clearance anywhere in the slides. If the hand's peg is also Ø0.7 in, it won't go into a Ø0.7 in hole. There's no print orientation — which face of that angled arm goes on the bed, and which way do the layers run through the wrist peg? No weight estimate. And at exactly 6 in tall, the knight has zero margin in a 6-inch box.

Also missing: test prints and iteration. The slides stop at CAD. Your notebook needs what happened at the printer — see below.

Test and evaluate: document every print

Your first print won't be perfect. That's not failing — that's the project. The notebook is how you prove you fixed things on purpose instead of by luck. For every test piece and every prototype, record:

Tuning: problems you will have

It won't go together. Too little clearance, elephant's foot on a bottom edge, or a drooped sideways hole. Find the exact spot that's tight. Check that fit on the Tolerance Blocks for your printer. Raise #clr, add a base chamfer, or change the hole to a teardrop — don't sand it.

It's floppy, or parts fall off. Too much clearance, or nothing holding the part on. Tighten that fit to 0.1 mm, add a cap or a snap, or make the hub longer.

It doesn't roll straight. Axles aren't parallel, a wheel wobbles, or a wheel rubs the body. Check the assembly from the top view, lengthen the hubs, and add a gap between wheel and body.

A snap or peg keeps breaking. Look at which way the layers run through it. Turn the part, thicken it, fillet the root, or make the arm longer so it bends less sharply.

It's over budget. Lower the infill, hollow out thick parts, thin walls that are way over the minimum, or shrink the toy a little. Re-check the weight in the slicer after each change.

Before you print, read Making Parts in the shop procedures. Failed prints are wasted material, and wasted material counts on your daily grading page score.