## Overview
- Assemblies in 3D CAD software allow designers to combine individually modelled parts into a complete product or mechanism within a single workspace.
- The assembly environment is purpose-built for positioning, constraining, and testing how parts interact—revealing fit, function, and interference issues that are invisible when parts are modelled in isolation.
- Mastering assembly workflows is essential for validating designs before manufacturing.
---
## Key Concepts
- **Assembly Environment** – A specialised CAD interface focused on positioning existing components rather than creating new geometry.
- **Component Insertion** – The methods used to bring saved part files into the assembly workspace.
- **Mates (Constraints)** – Geometric rules applied between part entities (faces, edges, planes) that restrict movement and define physical relationships.
- **Degrees of Freedom (DOF)** – The ways a component can translate or rotate in 3D space; mates progressively remove DOFs.
- **Collision Detection** – A dynamic analysis tool that checks whether moving parts physically intersect during operation.
---
## Detailed Notes
### The Assembly Environment
- **Purpose:** To test mechanisms, verify part fit, and analyse the overall product structure before manufacture.
- **Interface Differences from Part Modelling:**
- Shape-creation tools (extrude, sweep, loft) are replaced by **assembly-specific tools** (Mates, Move Component, etc.).
- The **design tree** gains a dedicated **Mates folder** at the bottom, storing all assembly constraints in one place.
### Starting a New Assembly
- **From Scratch:**
- Open a new assembly document via the standard "New Document" menu.
- The software immediately prompts you to browse for or select an open part as the **base component**.
- **From an Existing Part:**
- While a part file is open, use the **"Make Assembly from Part"** command.
- This auto-generates a new assembly with that part already inserted and fixed in place.
### Methods for Inserting Components
Three primary workflows exist for bringing additional parts into an active assembly:
1. **Menu Insertion**
- Use the software's insertion drop-down menu to browse local drives or select from currently open documents.
- A preview attaches to the cursor; clicking places the part into the workspace.
2. **Multi-Window Drag & Drop**
- Tile the CAD windows so both the assembly and the source part document are visible simultaneously.
- Drag the part from its design tree or graphics window directly into the assembly window.
3. **Operating System Drag & Drop**
- Open the computer's file manager alongside the CAD software.
- Drag a saved part file directly from the folder into the assembly workspace—the file does not need to be open in the CAD application.
### Adding Mates (Positioning Parts)
- Mates lock down the degrees of freedom of a component, positioning it relative to the assembly origin, default planes, or other parts.
- **Standard Mating Process:**
1. Activate the **Mate** tool.
2. Select **Entity 1** (a face, plane, edge, or vertex on one component).
3. Select **Entity 2** (a corresponding entity on another component or assembly plane).
4. The software **auto-suggests** a logical mate type based on the selected geometry.
5. Confirm or change the mate type and alignment.
- **Alignment Options:**
- **Aligned** – Both entities face the same direction.
- **Anti-Aligned** – Entities face opposite directions (flips the part orientation relative to the mating surface).
- **Degrees of Freedom Behaviour:**
- A single mate restricts movement in specific directions, but the part may still slide or rotate along unconstrained axes.
- Applying **multiple distinct mates** (e.g., constraining to the Top, Front, and Right planes) progressively removes all remaining DOFs.
- **Fully Defined State:**
- Achieved when enough mates are applied to completely restrict all movement.
- The part **cannot be moved** by dragging.
- The **`(-)` indicator** next to the part name in the design tree disappears, confirming the fully defined status.
- **Editing Mates:**
- All mates are stored in the **Mates folder** within the design tree.
- Right-click any mate to edit the referenced geometry, change the mate type, or delete the constraint.
### Collision Detection
- Evaluates moving mechanisms in real-time, unlike **Interference Detection** which checks for overlapping geometry in static assemblies only.
- **Access:** Found within the **"Move Component"** tool options.
- **Performance Optimisation:**
- **All Components** – Checks every part in the assembly (thorough but resource-intensive).
- **These Components** – Limits the check to selected parts only, significantly reducing processing time on complex models.
- **Key Settings:**
- **Stop at Collision** – Forces the dragged component to halt exactly at the point of physical impact.
- **Highlight Faces** – Visually marks the exact surfaces that are intersecting.
- **Sound** – Plays an audio cue when an impact is detected.
---
## Tables
### Component Insertion Methods Compared
| Method | Best For | Requirement |
|---|---|---|
| **Menu Insertion** | Precise selection from varied folder locations | None |
| **Multi-Window Drag** | Working on both part and assembly simultaneously | Part must be open in CAD software |
| **File Manager Drag** | Rapidly inserting multiple standard/hardware parts | Easy access to OS file directories |
### Common Standard Mate Types
| Mate Type | Description | Effect |
|---|---|---|
| **Coincident** | Places two flat entities (faces/planes) exactly on the same infinite plane | Removes translational DOF along the normal axis |
| **Parallel** | Keeps two entities facing the same direction with variable distance | Constrains orientation but allows positional freedom |
| **Perpendicular** | Forces two entities to remain at exactly 90° to one another | Locks angular relationship at right angles |
| **Distance** | Locks two entities at a specific user-defined numerical gap | Sets a precise offset between components |
| **Angle** | Locks two entities at a specific user-defined rotational angle | Controls rotational positioning between parts |
### Collision Detection vs Interference Detection
| Feature | Interference Detection | Collision Detection |
|---|---|---|
| **Analysis Type** | Static overlap check | Dynamic real-time check |
| **When Used** | After positioning (assembly at rest) | While dragging/moving components |
| **Purpose** | Find geometry that occupies the same space | Test mechanism motion limits |
| **Access** | Dedicated evaluation tool | Within the "Move Component" tool |
---
## Diagrams
### Assembly Mating Workflow
```mermaid
flowchart TD
A[Insert Component into Assembly] --> B[Activate Mate Tool]
B --> C[Select Entity 1 - Face / Plane / Edge]
C --> D[Select Entity 2 - Face / Plane / Edge]
D --> E{Software Auto-Suggests Mate Type}
E --> F[Confirm or Change Mate Type]
F --> G[Set Alignment: Aligned or Anti-Aligned]
G --> H[Confirm Mate]
H --> I{Is Part Fully Defined?}
I -->|No - DOFs Remain| B
I -->|Yes - All DOFs Removed| J[Part Position Locked]
```
### Component Insertion Decision Flow
```mermaid
flowchart TD
A[Need to Add a Part to Assembly] --> B{Is the Part File Open in CAD?}
B -->|Yes| C{Are Both Windows Visible?}
C -->|Yes| D[Multi-Window Drag & Drop]
C -->|No| E[Use Menu Insertion]
B -->|No| F{Is File Easily Accessible in File Manager?}
F -->|Yes| G[OS File Manager Drag & Drop]
F -->|No| E
```
### Degrees of Freedom Reduction Through Mates
```mermaid
flowchart LR
A[Unconstrained Part\n6 DOFs] --> B[Apply First Mate\nSome DOFs Removed]
B --> C[Apply Second Mate\nMore DOFs Removed]
C --> D[Apply Third Mate\nFully Defined\n0 DOFs]
D --> E["(-) Indicator Disappears\nPart Cannot Be Dragged"]
```
---
## Key Terms
- **Assembly** – A CAD document containing two or more distinct parts positioned and constrained together.
- **Base Component** – The first part inserted into an assembly; typically fixed in place as the reference for all other parts.
- **Design Tree (Feature Manager)** – The hierarchical list showing the structure of parts, features, and mates within a document.
- **Mates** – Geometric relationships (constraints) applied between component entities to control position and orientation.
- **Degrees of Freedom (DOF)** – The six possible movements of a part in 3D space (three translational, three rotational); mates progressively remove DOFs.
- **Fully Defined** – A state where all degrees of freedom have been restricted by mates; the part is completely locked in position.
- **Aligned / Anti-Aligned** – Mate direction settings that control whether constrained entities face the same or opposite directions.
- **Interference Detection** – A tool for identifying geometric overlaps between parts in a static (non-moving) assembly.
- **Collision Detection** – A dynamic tool that tracks physical impacts between parts as they are dragged through their range of motion.
---
## Quick Revision
- Assemblies test how individual parts **fit and function together** before manufacturing.
- The assembly interface replaces shape-creation tools with **positioning tools** (Mates, Move Component).
- Parts can be inserted via **menus**, **drag from open CAD windows**, or **drag from the OS file manager**.
- **Mates** constrain parts by linking faces, edges, planes, or vertices between components.
- Toggle between **Aligned** and **Anti-Aligned** to flip a part's orientation on a mating surface.
- A part is **Fully Defined** when enough mates completely restrict all movement—the `(-)` indicator disappears from its design tree name.
- All mates are stored in the **Mates folder** in the design tree and can be edited or deleted at any time.
- **Collision Detection** operates during the "Move Component" command for testing dynamic mechanisms in real-time.
- Limit collision checks to **specific components** on complex models to optimise processing performance.
- Enable **"Stop at Collision"** and **"Highlight Faces"** to pinpoint the exact surfaces and location of mechanism failure.