Assemblies and mates
Combine parts into an assembly, use mates to remove degrees of freedom until only the intended motion is left, and check for interference before anything is made.
Lesson 4 of 6 · 35 min · Self-paced · Free
Why parts must be checked together
A robot gripper might contain a dozen parts: fingers, pins, a base plate, a linkage, spacers and screws. Each can be modelled perfectly on its own and still fail as a group: a hole that sits 2 mm from its pin, a finger that crashes into the base halfway through its swing, a screw that is too long for the thread it goes into. An assembly brings parts together in one model so that you can find those problems on screen rather than at the workbench.
Parts, instances and the assembly tree
An assembly does not usually copy the geometry of its parts. It references them. If the same spacer appears four times, the assembly holds four instances of one part file. Edit the spacer once and all four update. Larger designs are organised into sub-assemblies, such as "left finger" and "base", just as a real machine is built in stages.
Degrees of freedom in 3D
In the sketch lesson, a point in a plane had 2 degrees of freedom. A rigid part floating freely in 3D space has 6 DOF:
- 3 translations: sliding along x, y and z.
- 3 rotations: turning about x, y and z.
When you add a part to an assembly, it starts with all 6. Usually the first part is fixed (or grounded) in place, so it acts as the reference for everything else. Every other part is then positioned with mates (also called constraints or joints, depending on the tool).
Mates remove freedoms
A mate is a geometric relationship between two parts. Each one removes some DOF. The exact names vary between tools, but the ideas are the same:
- Coincident (face to face): two flat faces touch and stay in the same plane. This removes 3 DOF: sliding away from the face, and the two tilts. The part can still slide in two directions across the face and spin about an axis perpendicular to it.
- Concentric: two cylindrical surfaces, such as a pin and a hole, share an axis. This removes 4 DOF, leaving 2: sliding along the axis and rotating about it.
- Distance and angle: like coincident, but with an offset or an angle.
- Many tools also offer joint mates that state the intended motion directly: a revolute (hinge) joint leaves only 1 rotation; a slider (prismatic) joint leaves only 1 translation; a fastened or rigid joint leaves none.
Worked example: a hinge
A gripper finger turns on a pin fixed in the base. Count its freedoms:
- Free finger: 6 DOF.
- Concentric mate between the finger's hole and the pin: 6 − 4 = 2 DOF. The finger can spin on the pin and slide along it.
- Coincident mate between the finger's side face and the face of the base: this stops the sliding. Because the faces are perpendicular to the pin, the remaining rotation is already allowed, so in effect this mate removes only the one freedom that was left to remove: 2 − 1 = 1 DOF.
One DOF remains: rotation about the pin. That is exactly the motion the finger should have. Notice that the second mate did not remove its usual 3 DOF, because 2 of them had already been removed by the first. This is why simple counting gives a guide rather than a rule: mates can overlap.
Under- and over-constrained assemblies
As with sketches, an assembly can be:
- Under-constrained: a part has more freedom than intended. It may drift when you drag something else, and you cannot trust measurements between parts.
- Correctly constrained: each part has exactly the DOF of its real motion. A fixed bracket has 0. A hinge has 1. A wheel on an axle has 1.
- Over-constrained: mates repeat or contradict each other. A redundant mate might solve today, then fail when a dimension changes slightly. Real machines can suffer from the same problem: a shaft held in three bearings that are not perfectly in line can bind. If an assembly needs many redundant mates to hold together, ask whether the real mechanism is over-constrained too.
A useful habit is to drag each moving part after mating it. If it moves the way the real one would, and no other way, the mates match the design intent.
Interference and clearance
Once parts are positioned, the CAD tool can check for interference: places where two solids occupy the same space. Interference is sometimes intended (a press-fit pin is slightly larger than its hole) but usually it is a mistake that would stop the parts going together.
Check interference in more than one position. A finger that clears the base when open may hit it when closed. Many tools let you move a mechanism through its range and check for collisions, or you can step a hinge through several angles yourself.
The opposite question is clearance: is there enough gap where parts must move freely, or where a finger or a tool must reach in? A screw that technically fits but cannot be reached with a screwdriver is still a design failure.
Bottom-up and top-down design
There are two common ways to build an assembly:
- Bottom-up: model each part separately, then bring them together. This is simple and keeps parts independent, which suits standard parts such as screws and bearings.
- Top-down: design parts in the context of the assembly, so that a hole in one part is defined by the position of a pin in another. Change the pin and the hole follows. This is powerful but creates links between files that can be confusing to manage.
Most real projects mix the two. Whichever you use, a skeleton sketch, a simple layout of key points and lines that parts reference, is a good way to keep the main dimensions of a mechanism in one place.
Recap
- An assembly references parts; repeated parts are instances of one file.
- A free rigid part has 6 DOF: 3 translations and 3 rotations. Fix one part, then mate the rest.
- Mates remove DOF; coincident faces remove 3, concentric cylinders remove 4, and mates can overlap.
- Aim for each part to have exactly the DOF of its real motion, and drag parts to check.
- Check interference and clearance across the whole range of motion, not just in one position.
Project
Paper project: count the freedoms of a desk lamp
Choose a mechanism you can look at safely without taking it apart: an adjustable desk lamp, a folding chair, a pair of scissors or a door with hinges. Do not dismantle anything.
- Sketch the mechanism and number each separate rigid part. Choose one part to be fixed.
- For every joint, name the type of mate you would use in CAD (revolute, slider, concentric plus coincident, fastened) and how many DOF it leaves.
- Count the total DOF of the mechanism. Check your answer by moving the real object gently: how many independent ways can you move it?
- Find two places where parts could interfere and two places where you would check clearance, including any pinch point.
- Optional: model a simple two-part hinge in any free CAD tool and drag it to confirm it has one DOF.
Deliverables
- A numbered sketch of the mechanism
- A table (as a list) of joints, mate types and DOF removed
- Your DOF count and how it compares with the real object
- A list of interference, clearance and pinch-point checks
Adult supervision requiredOnly observe and gently move mechanisms that are designed to be moved by hand. Keep fingers away from hinges and closing gaps, do not test scissors' blades, and do not dismantle lamps or anything connected to mains electricity. Ask an adult before handling any tool or appliance.
Knowledge check
Check your understanding
Lesson materials · free to download
Sign in to track your progress. Reading is free without an account.