🎉 75% of content is free forever — Unlock Premium from $10/mo →
CW
NEWSLIVESearch All Content
đŸ’ŧ Servicesâ„šī¸ Aboutâœ‰ī¸ ContactView Pricing Plansfrom $10

Assembly Modeling, Mates, and Constraints

CAD & Mechanical DesignCAD Modeling and DocumentationđŸŸĸ Free Lesson

Assembly Modeling, Mates, and Constraints

What You'll Learn

  • 1Write the spatial degree-of-freedom budget for an assembly
  • 2Assign a removal count to every common mate type
  • 3Solve a gear mate ratio and confirm the assembly has one input freedom
  • 4Screen an assembly for interference and minimum clearance

An assembly that looks right can still be wrong, because a component with one unconstrained direction will move the moment someone drags it or the model regenerates in a new feature order. Overconstrained assemblies are equally bad: they report errors and hide genuine mistakes inside a wall of warnings. This lesson gives assembly constraining a budget you can audit: how many degrees of freedom exist, how many each mate removes, and how to prove the balance closes at zero.

Theory and Foundations

where is the number of independent freedoms removed by mate . This is the spatial form of the Gruebler or Kutzbach mobility criterion, and it is the single most useful number to track while you build.

Ground the first component so it consumes all six, then every subsequent part must be reduced to zero freedom by its mates. The removal counts for the standard mates are fixed by geometry:

Concentric is the one people get wrong. It aligns two axes, which removes two translations and two rotations, but deliberately leaves sliding along the axis and spinning about it, giving free directions. That is exactly right for a shaft in a bushing and exactly wrong if you expected the mate to fix the part.

Counting is a discipline, not a feeling. A pin in a hole still slides and spins until you add a distance or a coincident face, and a lid that only sits flush on a rim still slides in two directions. Mates should reflect the real joint, not just make the picture look assembled.

The solver reads this as a system of constraint equations. Let be the Jacobian of the mate equations with respect to the component poses. The assembly is exactly determined when after grounding, and the number of redundant mates is:

A redundant mate adds a row that does not increase the rank, so the CAD flags it while still solving. Standard practice is to rebuild the whole mate group rather than patch warnings one at a time: delete the suspicious set, reapply three mates that describe the physical joint, and check that the status bar reports fully defined.

Motion couples are the exception to the zero-balance rule, because a designed mechanism is supposed to move. A gear mate adds one equation linking the two angular velocities, and for an external pair the direction reverses:

The minus sign records that external spur gears turn opposite ways. The assembly then holds exactly one free input direction, which is the desired state, not an error.

Verification is arithmetic too. Interference means the overlap volume of two solids is non-zero, and a clearance check asks whether the minimum gap survives the tolerance stack:

In context mates let one part adapt to another, which is powerful for covers and brackets but dangerous across files, because moving the parent silently rebuilds the child. Limit external references and lock them once a design is stable.

Key Formulas

Worked Examples

MateRemovesTypical Use
Coincident3Stack plates on a base
Concentric4Pin inside a bore, leaves slide and spin
Parallel2Keep a bracket square
Distance1Clearance without contact
Angle1Lever against a stop
Lock6Freeze a purchased part
CheckCriterionFail action
Fully definedF equals 0Add the missing mate for the free direction
No redundancyr equals 0Delete duplicate mates, rebuild the group
No interferenceoverlap volume equals 0Move the feature or add clearance
Clearance marging min at least requirementLoosen one tolerance in the stack

Real-World Examples

  • Hinge subassembly - Two concentric mates on one axis plus one axial distance fully define a door with only the swing left free, which is one degree of freedom by design.
  • Gear pair - A gear mate at 40 to 16 teeth holds a 2.5 to 1 ratio as either part is resized, and the minus sign reverses direction automatically.
  • Centered plate - A width mate between the plate and the frame centers it with 30 mm on each side automatically and removes the last translation in one click.
  • Fan and shroud - Interference detection finds a 0.8 mm overlap over 250 mm2 of blade tip, which is 200 mm3 of virtual material no visual review would catch.

💡Ground Early, Count Always

Ground the first part immediately, then watch the freedom count drop as you mate. Fully defined is a number, not an opinion.

Common Mistakes

Leaving parts under defined because they look right

Fix: Check the status bar; an ungrounded part will move during the next edit.

Adding mates until errors disappear

Fix: Rebuild the mate group from the physical joint instead of patching warnings.

Overusing in context references

Fix: Lock external references as soon as the parent geometry is stable.

Key Takeaways

  • The spatial budget is F equals 6 times n minus 1 minus the sum of mate removals, and it must reach zero.
  • Concentric removes 4 and leaves exactly 2: sliding along the axis and spinning about it.
  • Redundancy is r equals m minus the rank of the mate Jacobian, so rebuild rather than patch.
  • A gear mate adds one equation, giving the assembly one input freedom and a ratio of N1 over N2.

Frequently Asked Questions

Why ground only the first component?

Grounding several parts overconstrains the assembly, since the mates between them then fight two fixed references at once. With components the budget is , and two grounded parts spend 12 of it before any mate is applied.

How many mates does a typical part need?

Usually three that remove six degrees of freedom, though patterns and symmetry mates can cover many parts with one relation. Count the removals: 3 plus 1 plus 1 plus 1 closes a sliding block, and 5 plus 5 plus 1 closes a two gear train.

What is the difference between interference and clearance analysis?

Interference finds overlapping solids, so the criterion is a zero overlap volume, while clearance reports the minimum gap against a threshold through . Both should run before drawings are released.

Interview Questions

Q1: A part still rotates after mating. What is missing?

One degree of freedom is free, so check F: a concentric mate alone leaves 2, and you need a parallel, angle, or offset distance mate to remove the spin.

Q2: How do you handle a purchased component in an assembly?

Ground it or apply a lock mate worth 6 removals so it never drifts, then mate everything else to it using the remaining budget of 6 times n minus 1.

CW

ChatWhole Learn Editorial Team

Written by experienced data scientists, software engineers, and educators. All content is reviewed by industry professionals to ensure accuracy and relevance.

Last reviewed: 2026-09-27

—
☆☆☆☆☆
0 ratings

Rate & Feedback

Need Expert CAD & Mechanical Design Help?

Get personalized tutoring, project support, or professional consulting.

Advertisement