School of Engineering · Playlist

CAD Assemblies

Assembly files and mates, checking an assembly, and exploded views with bills of materials.

  1. Assembly Files and Mates
  2. Checking CAD Assemblies
  3. Exploded Views and Bills of Materials
Engineering Graphics and CAD/Assemblies

Assembly Files and Mates

Keep component references intact and choose mates that locate parts while preserving their intended motion.

An assembly records which parts belong together and how they fit

An assembly records which parts belong together and how they fit

A part defines a component's shape. An assembly places instances of parts and subassemblies and records relationships between them. Two instances of one part can occupy different positions while using the same part definition.

In a file-based SOLIDWORKS assembly, the .SLDASM normally references external .SLDPRT and other assembly files. An assembly drawing references the assembly. Sending only the assembly file can leave the recipient without its components. Virtual components are an exception: their definitions can be stored inside the assembly.

Onshape organizes Part Studios, Assemblies, and Drawings as tabs in documents. Inserted instances reference their source definitions; a tab name is not a Windows filename. Share the document with the appropriate access and identify the intended version when a fixed design state matters.

Supporting detail: Addendum 1 — Definitions, instances, and design changes.

Rename and package files with their references; Checklist

Rename and package files with their references

Renaming or moving a component in ordinary File Explorer can leave an assembly looking for its old name or location. Use the CAD system's reference-aware rename or move workflow. Changing a display name in the tree is not necessarily changing the file name.

  • Save a recoverable copy before reorganizing an assembly's files.
  • Use the supported rename workflow, include affected assemblies and drawings, and save the referencing documents.
  • For file-based SOLIDWORKS sharing, use Pack and Go where available. Review the file list, drawing inclusion, library components, and destination.
  • Open the packaged assembly from its destination and inspect the resolved reference paths. Confirm it is not quietly loading parts from the original folders.

Supporting detail: Addendum 2 — Vendor help for renaming and sharing.

Ground a base, then count the motion you intend to keep

Ground a base, then count the motion you intend to keep

A free rigid component in three-dimensional space has six degrees of freedom (DOF): translation along three axes and rotation about three axes. A degree of freedom is an independent motion, not a count of arrows or mates.

A free block can translate along x, y, and z and rotate about x, y, and z. After grounding the same block, none of those motions remains.
Grounding removes motion relative to the assembly reference frame.

Choose a base or housing as the reference. Fix it, or fully locate it to the assembly origin and planes. In SOLIDWORKS, insertion options include fixing only the first component, fixing inserted components, or leaving them floating. Check the actual state; do not assume that the first component is always fixed. Fixing a base away from the origin holds it there; it does not move it to the origin.

A lever should still rotate about its pivot. A cover should stay put. Fully locating every moving part would turn a mechanism into a rigid model.

Supporting detail: Addendum 3 — Check the insertion setting.

Use geometric mates to describe the intended contact

Use geometric mates to describe the intended contact

Select the actual locating faces, axes, or reference planes. The same mate name can accept different geometry, so its effect depends on what you select. The diagrams below are schematic before/after comparisons, not complete constraints for whole assemblies.

Coincident
For two planar faces, put their supporting planes together. The faces can still slide in that plane and rotate about its normal. Coincident planes do not guarantee that finite faces overlap.
Concentric
Put two cylindrical axes on the same line. Without a rotation lock or other mates, a shaft can still slide along and rotate about that line.
Before: two separated planar faces. After: their planes coincide; in-plane sliding and spin remain.
Before: a shaft axis is offset from a bore axis. After: the axes coincide; axial slide and spin remain.

Supporting detail: Addendum 4 — Why subtracting one DOF per mate gives the wrong answer.

Test a shaft joint: keep the motion the design needs; Interactive; Practice

Test a shaft joint: keep the motion the design needs

The housing is grounded. The shaft and its attached lever start with their axes aligned to the housing bore. Predict the motions left, test them, then seat the shoulder. Finally add angular alignment: does a hinge still work?

Worked experiment: 2 → 1 → 0 independent motions

This original ideal joint begins after axis alignment, not as a free rigid body. Its only coordinates are axial position z in millimeters and spin θ in degrees. The housing is grounded; the lever moves with the shaft.

SIDE · +z →END · toward −Z z = 0; slide blockedθ = 65°; spin free
Worked hinge state: shoulder at the housing datum, z = 0 mm; lever at θ = 65°. Looking toward −Z in the end view, positive spin is counterclockwise. Dashed lines show the joint axis and reference datums.
Conditions remove independent motions, not one freedom per mate icon
Condition after built-in axis alignmentExample coordinatesWhat can move?
Neither additional conditionz = 12 mm, θ = 35° → test: 22 mm, 65°Slide + spin: 2 DOF
Seat shoulder at z = 0z = 0 mm, θ = 65°Spin only: 1 DOF. Hinge goal met.
Also align lever at θ = 0°z = 0 mm, θ = 0°Neither: 0 DOF. Fixed goal met; hinge goal defeated.
Angular alignment onlyz may vary, θ = 0°Slide only: 1 DOF. Slider goal met.

Diagnose and recover: to restore the hinge, remove angular alignment while keeping the shoulder seated. The shaft can turn again. For a slider, remove the shoulder condition and retain angular alignment. Choosing a goal alone does not change conditions.

The shoulder condition enforces z = 0; angular alignment enforces θ = 0°. They do not freeze an arbitrary current placement. Removing a condition permits motion without itself moving the component. Angles wrap every 360°.

Model limits: axial travel −30 to +30 mm is a declared lab range, not physical stops. Axis alignment and rigid components are built in. Shoulder seating means ideal plane coincidence, holding z = 0 in both directions; physical shoulder contact alone would not retain a shaft against separation. Contact, collision/interference, friction and load capacity are outside this model. Schematic overlap does not establish a fit or clearance.

In a SOLIDWORKS geometric-mate sequence, concentric alignment followed by shoulder-face coincidence can leave shaft rotation free. This lab's conditions illustrate the resulting motion; they are not a vendor command recorder. Onshape expresses joint motion through mate connectors: Cylindrical permits axial translation and rotation (Tz, Rz), while Revolute permits rotation (Rz). These are not a one-to-one mapping of the SOLIDWORKS steps.

For coupled shaft rotations, continue with Gear Ratios. Diagnose a locked hinge Preserve slider motion

Parallel and perpendicular mates set orientation

Parallel and perpendicular mates set orientation

Parallel keeps selected planes parallel without setting their separation. Perpendicular keeps selected planes at a right angle. Neither condition alone fully locates the part. These diagrams show the planes edge-on.

Before: two planes have different orientations. After: the planes are parallel with a gap that is not fixed by this mate.
Before: two planes meet at an oblique angle. After: the planes are at 90 degrees, without a complete location constraint.
Distance, angle, and tangent mates control gaps and contact

Distance, angle, and tangent mates control gaps and contact

Distance sets a separation between selected entities. For parallel planar faces, use the normal gap, not a slanted edge length. Angle sets the angle between selected entities; check alignment and direction so the model uses the intended side of the angle.

Before: parallel faces have an unspecified gap. After: the normal gap is the specified distance d.
Before: planes have an unspecified angle. After: their angle is set to 30 degrees.

Tangent keeps compatible curved and planar or curved surfaces touching tangentially. Tangency alone does not enforce rolling without slipping.

Before: a circular surface is separated from a plane. After: it touches the plane tangentially; rolling is not implied.
Choose a joint or mechanical relationship when motion is the point

Choose a joint or mechanical relationship when motion is the point

For a simple lever on a grounded pin, align the pivot axes and locate the lever axially. Leave rotation free. A hinge mate expresses this single rotational freedom directly. In Onshape, a Revolute mate serves that joint purpose; Cylindrical allows axial slide and spin, Slider allows one translation, and Fastened allows no relative motion. Mate connectors establish the joint frames.

A slot mate locates a pin or similar feature relative to a slot. Select free travel or a prescribed position to match the design; other motions depend on the selections and remaining mates. Onshape's Pin Slot mate allows rotation about the connector's Z axis and translation along its X axis. Set appropriate travel limits; it is not an identical set of SOLIDWORKS slot options.

A gear mate or gear relation couples rotations by a ratio. Locate the shafts first. The relation does not create teeth or prove they mesh without interference. Use Gear Ratios for the ratio calculation and Torque for the separate question of turning effort.

Before and after comparisons: a loose lever becomes a hinge with only pivot rotation; an offset pin is guided into a slot; independently turning shafts become ratio-coupled.

Supporting detail: Addendum 5 — Compare vendor joint vocabulary.

Build reusable parts and subassemblies with deliberate dependencies; Practice

Build reusable parts and subassemblies with deliberate dependencies

Bottom-up design starts with existing parts and brings them into an assembly. Top-down design starts with an overall layout or shared design references and develops parts around them. A mixed approach is common: use a shared layout for custom plates and insert purchased hardware.

A subassembly groups parts into a reusable unit. Give it a useful function, such as a pivot cartridge, rather than hiding unrelated parts in it. Check whether its internal joints are allowed to move at the parent level; a rigid subassembly can make a working joint appear locked.

Top-down references can keep mating holes aligned when the layout changes, but they also create dependencies. Keep the direction of those dependencies understandable and check them when copying or sharing the design.

Supporting detail: Addendum 6 — What makes a feature top-down?.

Use SOLIDWORKS Toolbox or Onshape Standard Content, where available, for standard hardware. Choose the standard, size, thread pitch, length, and material or grade deliberately. A visually similar bolt or an automatic size suggestion is not a completed fastener selection.

Supporting detail: Addendum 7 — Library hardware still needs checking.

For sketching and part-modeling topics, browse Engineering Graphics and CAD. Continue with Checking CAD Assemblies and Exploded Views and Bills of Materials.

Practice shaft freedom Choose locating mates

Engineering Graphics and CAD/Assemblies

Checking CAD Assemblies

Diagnose mate errors, inspect overlap and clearance, and test the intended motion before trusting an assembly model.

Judge remaining motion against the design intent

Judge remaining motion against the design intent

A successful rebuild means the CAD system can solve the model. It does not mean the model describes the mechanism you intended. Try moving each component and name the motion that should remain.

Under-mated means freedom remains. That is a defect for a loose cover, but rotation at a lever pivot can be intentional. Over-mated or conflicting constraints ask for relationships that the solver cannot satisfy together. A redundant constraint repeats an existing condition; it adds no useful location and can complicate diagnosis.

For a shaft with concentric axes and seated shoulder faces, one rotation remains. Adding another mate that merely keeps those axes parallel is redundant. Adding an angle mate to lock that remaining rotation may be correct for a stationary shaft and wrong for a rotating lever. Review Assembly Files and Mates for the geometry.

Repair the cause of a mate error before adding more mates; Checklist

Repair the cause of a mate error before adding more mates

  • Read the reported mate error and identify the first failed relationship, rather than only the later errors it causes.
  • Check which component is grounded and whether a moving part was fixed accidentally.
  • Inspect selected faces and axes, alignment direction, offsets, and angle values.
  • Check whether an edit removed or replaced the geometry used by a mate.
  • Temporarily suppress a suspect mate to isolate the conflict, then repair or remove the unnecessary relationship.
  • Rebuild and test motion again, including motion inside subassemblies at the parent level.

Do not force incompatible hole locations together by adding duplicate constraints. Determine whether the parts, the chosen references, or the intended fit are wrong.

Check interference and clearance as different questions

Check interference and clearance as different questions

Interference is shared volume: two solid parts occupy the same space. Clearance is the gap between parts. A model with no overlap may still lack enough room for movement, manufacturing variation, or tool access.

Three comparisons show overlapping parts, touching parts, and parts separated by a gap. No overlap alone does not prove adequate clearance.

Run interference detection on the relevant components in the intended configuration and position. Inspect each result. An intentional press fit or simplified thread representation can produce overlap, but an unwanted bolt tip inside a moving path needs attention. Record the reason for any accepted interference.

Supporting detail: Addendum 8 — Selection scope can hide an interference.

Move the mechanism through its intended range; Checklist; Practice

Move the mechanism through its intended range

Move the input joint slowly and watch the connected parts. Test intermediate positions as well as endpoints: a lever can clear a housing at both ends and strike it halfway through. Check which mate limits apply and whether the model passes through solid geometry because collision checking is not active.

A motion preview checks the constraints represented in that preview. It does not automatically prove contact behavior, load capacity, friction, or real-world operation. In particular, a gear relation can drive two rotations even when the modeled teeth do not mesh correctly.

  • Confirm that the input moves and connected parts follow in the expected direction.
  • Inspect travel limits and intermediate positions for collisions and small gaps.
  • Check that the components can be assembled and tools can reach the fasteners.
  • Rebuild after changes and repeat the affected motion and interference checks.
  • Review the final drawing and BOM against the checked assembly.

Supporting detail: Addendum 9 — A joint preview is not always a full-assembly test.

Spot a redundant mate Plan a motion check

Engineering Graphics and CAD/Assemblies

Exploded Views and Bills of Materials

Show how components fit together and connect drawing balloons to clear part identities and quantities.

An exploded view separates parts to explain their relationship

An exploded view separates parts to explain their relationship

An assembled view shows the working arrangement. An exploded view spaces components apart so the reader can identify them and follow how they fit. The separation is for communication; it is not an operating clearance or a change to the part geometry.

Separate components along understandable directions, keep related parts aligned, and use explode lines where the connection would otherwise be unclear. Preserve the working assembly and create a saved exploded view rather than deleting mates to pull the model apart.

Side schematic of a pivot stack, assembled and exploded along one axis. Balloons identify support 1, lever 2, pin 3, washers 4 at two positions, and retainer 5.
Original teaching schematic: the pin passes through the aligned holes; a retainer holds its end. Both washers use item 4. No manufacturing dimensions or fit are implied.

Supporting detail: Addendum 10 — Use the saved view in a drawing.

A balloon finds a BOM row; a part number identifies the component

A balloon finds a BOM row; a part number identifies the component

A bill of materials (BOM) lists the components required for the stated assembly. A drawing balloon points to a component and usually shows its BOM item number. The item number is a row identifier in that drawing's list. The part number identifies the part for reuse, manufacture, or purchase.

One teaching pivot assembly — quantities per assembly
ItemPart numberDescriptionQuantity
1PV-110Support1
2PV-210Lever1
3PV-310Pivot pin1
4HW-410Thrust washer2
5HW-510Pin retainer1

Balloon 4 identifies HW-410, not four washers. Its quantity is two per assembly. This list has five distinct rows and six component instances. Repeated instances of the same specified part share an item number; different sizes or variants need distinguishable identities.

Supporting detail: Addendum 11 — Linked tables reduce manual mismatches.

Decide whether the BOM lists units or their internal parts

Decide whether the BOM lists units or their internal parts

A top-level list can show a purchased subassembly as one unit. A structured list can show the assembly hierarchy, while a flattened list collects the underlying components without that hierarchy. State the scope before interpreting a quantity. Do not order a complete unit and all its contents accidentally.

Verify part numbers, descriptions, quantities, and relevant configuration or revision information. A library model's filename is not automatically a useful purchasing description. The teaching identifiers above are examples, not an orderable hardware specification.

Supporting detail: Addendum 12 — Subassembly display changes what the table means.

Review the assembly drawing as an identification tool; Checklist; Practice

Review the assembly drawing as an identification tool

  • Show an assembled view that makes the working arrangement understandable.
  • Add an exploded or section view where hidden relationships need explanation.
  • Follow each balloon leader to the correct component and match its number to the BOM.
  • Count repeated components and compare the counts with the stated BOM scope.
  • Check the drawing's design state, units, scale, and necessary assembly notes.

An assembly drawing explains how parts belong together. Individual part drawings supply the manufacturing detail for those parts; do not crowd every part dimension onto an assembly view. See Choosing Drawing Views and the Engineering Graphics and CAD collection for related drawing topics.

Read a balloon Count repeated parts

Supporting detail

Addendum

Additional evidence, standards context, and background referenced from the main text.

  1. Engineering Graphics and CAD/Assemblies/Assembly Files and Mates

    Addendum 1. Definitions, instances, and design changes

    Changing a shared part definition can update several instances. Moving one instance in an assembly changes its placement, not the shape of every copy. A configuration can select a particular variant of a component; record the intended variant when sharing or drawing it.

    Onshape: Sharing and Collaboration explains document access and permissions.

    Back to reference 1

  2. Engineering Graphics and CAD/Assemblies/Assembly Files and Mates

    Addendum 2. Vendor help for renaming and sharing

    SOLIDWORKS: Renaming Components distinguishes display names from file names and explains updating references in closed documents. Saving an open assembly alone does not automatically repair every closed drawing. Availability differs for platform-connected installations.

    SOLIDWORKS: Pack and Go Overview describes collecting related files into a folder or ZIP. Use your installed edition's help for the exact controls.

    Back to reference 2

  3. Engineering Graphics and CAD/Assemblies/Assembly Files and Mates

    Addendum 4. Why subtracting one DOF per mate gives the wrong answer

    For one free rigid part relative to a grounded part, a planar-face coincident mate leaves three DOF. A cylindrical-axis concentric mate leaves two. Adding a shoulder-face coincident mate perpendicular to that axis removes axial sliding and leaves one rotation. A redundant mate may remove no new freedom. Count the independent motions that survive each step.

    See SOLIDWORKS: Types of Mates for supported selections. These geometric names are not a one-to-one map to Onshape commands.

    Back to reference 4

  4. Engineering Graphics and CAD/Assemblies/Assembly Files and Mates

    Addendum 6. What makes a feature top-down?

    SOLIDWORKS: Top-Down Design explains how layout or other-component geometry controls a feature and creates external references. Merely editing a part while an assembly is visible does not by itself establish that dependency.

    Back to reference 6

  5. Engineering Graphics and CAD/Assemblies/Checking CAD Assemblies

    Addendum 9. A joint preview is not always a full-assembly test

    Onshape: Mates distinguishes the mate-dialog preview, which can ignore other mates, from assembly animation. Use a whole-assembly check to assess the connected mechanism.

    Back to reference 9