How to Create an Assembly in SOLIDWORKS: Mates, Degrees of Freedom & Best Practices
Comprehensive SOLIDWORKS assembly guide: inserting base parts, applying standard/advanced/mechanical mates, managing degrees of freedom, and troubleshooting over-defined mate conflicts.
⚡ Quick Answer / Key Takeaway
To build a robust SOLIDWORKS assembly: Open File > New > Assembly. Drop your foundational base component directly onto the Origin (0,0,0) to lock it in space (Fixed). Insert secondary components and apply standard mates (Coincident, Concentric, Distance) to constrain required Degrees of Freedom (DOF).
Step-by-Step Instructions & Commands
Step 1: Grounding the Base Component at Origin
When inserting the first component into a new assembly, click the green checkmark in the PropertyManager without clicking in the graphics viewport. This automatically aligns the component origin with the assembly origin and marks it as (f) Fixed. A properly grounded base part is crucial for assembly stability.
Step 2: Applying Standard Geometric Mates
Click Mate (paperclip icon) or press S. Select two entity faces, axes, or planes. Apply standard mates: Concentric (align cylinder centerlines), Coincident (align flat faces), Parallel, or Distance. Aim to remove degrees of freedom systematically without redundant constraints.
Step 3: Utilizing Advanced & Mechanical Mates
Under Advanced Mates, use Width to center a tab between two clevis ears in a single mate. Use Path Mate or Linear Coupler for mechanism kinematics. Under Mechanical Mates, choose Gear, Rack & Pinion, or Screw to simulate mechanical power transmission.
Step 4: Checking Degrees of Freedom & Interference Detection
Go to the Evaluate tab and run Interference Detection to verify clearances between adjacent solids before releasing parts for CNC or mold tooling. In the FeatureManager tree, components marked with (-) have unconstrained degrees of freedom.
Common Issues & Troubleshooting Guide
| Common Failure / Problem | Root Cause & Recommended Solution |
|---|---|
| Over-defined assembly error (red/yellow mate alerts) | Conflicting mates prevent geometric solution. Right-click the red component, select View Mates, or launch MateXpert. Suppress or delete redundant concentric/coincident mates one by one to find the conflict. |
| Component moves unexpectedly when dragging | The part has free degrees of freedom. Right-click the part > 'Show DOF' or test by dragging with the left mouse button. Apply an additional angle, parallel, or distance mate to lock orientation. |
| Large assembly performance is sluggish | Turn on Large Assembly Settings (Tools > Options). Set lightweight mode for components, turn off RealView Graphics and ambient occlusion, and use Defeature or SpeedPak for complex vendor sub-assemblies. |
Cross-CAD Compatibility & Alternatives
Parametric assembly mating principles in SOLIDWORKS translate directly to Autodesk Inventor (Joints/Constraints), PTC Creo, and Onshape. Neutral STEP AP242 and Parasolid (.x_t) files transfer assembly component structures reliably.
Engineering Best Practices Checklist
- Always fix the primary chassis or base part to the assembly origin.
- Prefer mating to principal datum planes (Front/Top/Right) where possible rather than fragile chamfered faces.
- Use Sub-Assemblies to organize logical subsystems and maintain clean top-level BOM hierarchies.
- Run Collision Detection and Interference Detection regularly during design development.