FreeCAD User Skill
This skill guides AI agents in assisting users with day-to-day FreeCAD tasks: modeling parts, navigating workbenches, setting up assemblies, creating 2D technical drawings, and avoiding common pitfalls like the Topological Naming Problem (TNP).
Based on the official FreeCAD Documentation: Users hub.
Workbench Selection Decision Tree
Choosing the correct workbench is the first and most critical decision in FreeCAD:
graph TD
Start["What do you want to create or do?"] --> Mech["Single Mechanical Part"]
Start --> Multi["Assemble Multiple Parts"] --> WAssembly["Assembly Workbench (v1.0)"]
Start --> Arch["Architectural / Building Model"] --> WBIM["BIM Workbench"]
Start --> Draw["2D Technical Drawings & Blueprints"] --> WTechDraw["TechDraw Workbench"]
Start --> Mfg["CNC Toolpaths / G-Code"] --> WCAM["CAM Workbench"]
Start --> Sim["Stress / Thermal FEA Simulation"] --> WFEM["FEM Workbench"]
Start --> MeshW["Mesh repair / 3D Scan / Triangles"] --> WMesh["Mesh Workbench"]
Start --> Data["Spreadsheet Variables & Parameters"] --> WSpreadsheet["Spreadsheet Workbench"]
Mech --> PartDesignCheck{"Sketch-based single solid with history?"}
PartDesignCheck -->|Yes, standard CAD approach| WPartDesign["PartDesign + Sketcher (Body > Sketch > Pad/Pocket)"]
PartDesignCheck -->|No, CSG booleans / complex math shapes| WPart["Part Workbench (Primitives + Boolean Fuse/Cut/Common)"]
Key Differences: PartDesign vs Part
| Aspect |
PartDesign Workbench |
Part Workbench |
| Philosophy |
Feature-based parametric modeling. Builds a single continuous solid inside a PartDesign::Body. |
Constructive Solid Geometry (CSG). Combines independent geometric primitives. |
| Workflow |
Body → Sketch (on plane/face) → Pad / Revolution → Pocket / Hole → Fillet / Chamfer. |
Make Primitives (Box, Cylinder) → Transform Placement → Apply Boolean (Cut, Fuse, Common). |
| Output |
Strict single solid per Body. Only one tip active at a time. |
Multiple independent solids, compounds, and disjoint shapes. |
| When to Use |
Recommended for 90% of mechanical 3D parts and 3D printing. |
Best for simple CSG assemblies, boolean repairs, or non-manifold models. |
Fundamental Workflows
1. Parametric Part Design (Standard Recipe)
- Create Body: Always start by creating a
PartDesign Body.
- Create Sketch: Attach the sketch to a standard base plane (
XY_Plane, XZ_Plane, or YZ_Plane).
- Constrain Fully: Use geometric constraints (coincident, horizontal, vertical, tangent) and dimensional constraints (distance, radius, angle). Ensure the sketch turns green (Fully Constrained with 0 degrees of freedom).
- Create Additive Feature: Use
Pad (extrude), Revolution (revolve), AdditiveLoft, or AdditivePipe.
- Create Subtractive Feature: Create another sketch (preferably on a datum plane) and use
Pocket, Hole, or Groove.
- Apply Dress-Up Last: Apply
Fillet and Chamfer at the very end of the tree.
2. Avoiding the Topological Naming Problem (TNP)
FreeCAD references faces/edges internally as Face1, Edge4, etc. Modifying an early sketch can renumber subsequent faces, breaking downstream sketches mapped directly to them.
Golden Rules to Prevent Model Breakage:
- Attach sketches to Datum Planes or Base Planes, NOT directly to model faces.
- Use Datum Planes / Datum Lines with offsets or attached to reference geometry.
- If referencing external geometry from another body or feature, use ShapeBinder or SubShapeBinder.
- Put fillets, chamfers, and cosmetic drafts at the very end of the tree.
- Note: FreeCAD 1.0 integrates the Topological Naming mitigation algorithm, but Datum-first design remains the cleanest CAD practice.
3. Creating Parametric Models with Spreadsheets
- Switch to Spreadsheet Workbench and create a new Spreadsheet.
- In column A, write parameter names (e.g.,
Length, Width, WallThickness).
- In column B, write values (e.g.,
50 mm, 30 mm, 3 mm).
- Right-click column B cells → Properties → Alias → give alias (e.g.,
length, thickness).
- In your Sketches or Pad depths, click the small fx icon and enter formula:
Spreadsheet.length or Spreadsheet.thickness.
Detailed References
For comprehensive deep dives, consult the following manuals in references/:
- Commands Reference Catalog: Exhaustive table of all 183 standard
Std_* commands and workbench commands (PartDesign_*, Sketcher_*, Part_*, TechDraw_*, etc.) with shortcuts.
- Menus & Interface Reference: Complete breakdown of standard top menus (File, Edit, View, Tools, Macro, Windows, Help), workbench menus, and dockable UI panels.
- Workbenches Overview: Comprehensive catalog of all 20 built-in workbenches and popular external add-on workbenches.
- Tutorials, Manual & CAD Glossary: Index of all 79 official FreeCAD tutorials, learning paths, and CAD terminology.
- FAQ & Troubleshooting Guide: Top user questions, performance tips, and canonical CAD workarounds.
- Modeling Best Practices & TNP: Step-by-step guidance on stable parametric modeling.
- File Formats & Interoperability: Exporting and importing STEP, IGES, STL, OBJ, DXF, SVG, and FCStd.
- Migration Guide: Cheatsheet for users moving from SolidWorks, Fusion 360, OnShape, or Revit.
- Step-by-Step Modeling Example: Complete walkthrough of designing a parametric enclosure.
Offline Documentation Search Tool
When an agent or user needs specific details on any of FreeCAD's 2,595+ documentation pages, run:
python scripts/freecad_doc_query.py "<command_or_topic>"
1---2name: freecad-user3description: >-4 Expert guidance for general FreeCAD usage, 3D modeling workflows, selecting workbenches5 (PartDesign, Part, Sketcher, Assembly, TechDraw, BIM, CAM, FEM), user interface navigation,6 mitigating the Topological Naming Problem (TNP), file import/export, and migrating from7 Fusion 360, SolidWorks, OnShape, or Revit. Use this skill whenever a user asks how to model8 parts, use FreeCAD tools, set up constraints, export 3D prints/drawings, or navigate the UI.9metadata:10 source: https://skillmd.com/skills/glotoff/freecad-user11---1213# FreeCAD User Skill1415This skill guides AI agents in assisting users with day-to-day FreeCAD tasks: modeling parts, navigating workbenches, setting up assemblies, creating 2D technical drawings, and avoiding common pitfalls like the Topological Naming Problem (TNP).1617Based on the official [FreeCAD Documentation: Users hub](https://github.com/FreeCAD/FreeCAD-documentation/blob/main/wiki/User_hub.md).1819---2021## Workbench Selection Decision Tree2223Choosing the correct workbench is the first and most critical decision in FreeCAD:2425```mermaid26graph TD27 Start["What do you want to create or do?"] --> Mech["Single Mechanical Part"]28 Start --> Multi["Assemble Multiple Parts"] --> WAssembly["Assembly Workbench (v1.0)"]29 Start --> Arch["Architectural / Building Model"] --> WBIM["BIM Workbench"]30 Start --> Draw["2D Technical Drawings & Blueprints"] --> WTechDraw["TechDraw Workbench"]31 Start --> Mfg["CNC Toolpaths / G-Code"] --> WCAM["CAM Workbench"]32 Start --> Sim["Stress / Thermal FEA Simulation"] --> WFEM["FEM Workbench"]33 Start --> MeshW["Mesh repair / 3D Scan / Triangles"] --> WMesh["Mesh Workbench"]34 Start --> Data["Spreadsheet Variables & Parameters"] --> WSpreadsheet["Spreadsheet Workbench"]3536 Mech --> PartDesignCheck{"Sketch-based single solid with history?"}37 PartDesignCheck -->|Yes, standard CAD approach| WPartDesign["PartDesign + Sketcher (Body > Sketch > Pad/Pocket)"]38 PartDesignCheck -->|No, CSG booleans / complex math shapes| WPart["Part Workbench (Primitives + Boolean Fuse/Cut/Common)"]39```4041### Key Differences: PartDesign vs Part4243| Aspect | PartDesign Workbench | Part Workbench |44| :--- | :--- | :--- |45| **Philosophy** | Feature-based parametric modeling. Builds a **single continuous solid** inside a `PartDesign::Body`. | Constructive Solid Geometry (CSG). Combines independent geometric primitives. |46| **Workflow** | `Body` → `Sketch` (on plane/face) → `Pad` / `Revolution` → `Pocket` / `Hole` → `Fillet` / `Chamfer`. | Make Primitives (`Box`, `Cylinder`) → Transform Placement → Apply Boolean (`Cut`, `Fuse`, `Common`). |47| **Output** | Strict single solid per Body. Only one tip active at a time. | Multiple independent solids, compounds, and disjoint shapes. |48| **When to Use** | Recommended for 90% of mechanical 3D parts and 3D printing. | Best for simple CSG assemblies, boolean repairs, or non-manifold models. |4950---5152## Fundamental Workflows5354### 1. Parametric Part Design (Standard Recipe)551. **Create Body**: Always start by creating a `PartDesign Body`.562. **Create Sketch**: Attach the sketch to a standard base plane (`XY_Plane`, `XZ_Plane`, or `YZ_Plane`).573. **Constrain Fully**: Use geometric constraints (coincident, horizontal, vertical, tangent) and dimensional constraints (distance, radius, angle). Ensure the sketch turns green (**Fully Constrained** with 0 degrees of freedom).584. **Create Additive Feature**: Use `Pad` (extrude), `Revolution` (revolve), `AdditiveLoft`, or `AdditivePipe`.595. **Create Subtractive Feature**: Create another sketch (preferably on a datum plane) and use `Pocket`, `Hole`, or `Groove`.606. **Apply Dress-Up Last**: Apply `Fillet` and `Chamfer` at the very end of the tree.6162### 2. Avoiding the Topological Naming Problem (TNP)63FreeCAD references faces/edges internally as `Face1`, `Edge4`, etc. Modifying an early sketch can renumber subsequent faces, breaking downstream sketches mapped directly to them.6465**Golden Rules to Prevent Model Breakage**:66- **Attach sketches to Datum Planes or Base Planes**, NOT directly to model faces.67- Use **Datum Planes / Datum Lines** with offsets or attached to reference geometry.68- If referencing external geometry from another body or feature, use **ShapeBinder** or **SubShapeBinder**.69- Put fillets, chamfers, and cosmetic drafts at the very end of the tree.70- Note: FreeCAD 1.0 integrates the Topological Naming mitigation algorithm, but Datum-first design remains the cleanest CAD practice.7172### 3. Creating Parametric Models with Spreadsheets731. Switch to **Spreadsheet Workbench** and create a new Spreadsheet.742. In column A, write parameter names (e.g., `Length`, `Width`, `WallThickness`).753. In column B, write values (e.g., `50 mm`, `30 mm`, `3 mm`).764. Right-click column B cells → **Properties** → **Alias** → give alias (e.g., `length`, `thickness`).775. In your Sketches or Pad depths, click the small fx icon and enter formula: `Spreadsheet.length` or `Spreadsheet.thickness`.7879---8081## Detailed References8283For comprehensive deep dives, consult the following manuals in `references/`:84- [Commands Reference Catalog](./references/commands_reference.md): Exhaustive table of all 183 standard `Std_*` commands and workbench commands (`PartDesign_*`, `Sketcher_*`, `Part_*`, `TechDraw_*`, etc.) with shortcuts.85- [Menus & Interface Reference](./references/menus_and_interface.md): Complete breakdown of standard top menus (File, Edit, View, Tools, Macro, Windows, Help), workbench menus, and dockable UI panels.86- [Workbenches Overview](./references/workbenches_overview.md): Comprehensive catalog of all 20 built-in workbenches and popular external add-on workbenches.87- [Tutorials, Manual & CAD Glossary](./references/tutorials_and_glossary.md): Index of all 79 official FreeCAD tutorials, learning paths, and CAD terminology.88- [FAQ & Troubleshooting Guide](./references/faq_and_troubleshooting.md): Top user questions, performance tips, and canonical CAD workarounds.89- [Modeling Best Practices & TNP](./references/modeling_best_practices.md): Step-by-step guidance on stable parametric modeling.90- [File Formats & Interoperability](./references/file_formats_interop.md): Exporting and importing STEP, IGES, STL, OBJ, DXF, SVG, and FCStd.91- [Migration Guide](./references/migration_guide.md): Cheatsheet for users moving from SolidWorks, Fusion 360, OnShape, or Revit.92- [Step-by-Step Modeling Example](./examples/parametric_part_workflow.md): Complete walkthrough of designing a parametric enclosure.9394### Offline Documentation Search Tool95When an agent or user needs specific details on any of FreeCAD's 2,595+ documentation pages, run:96```bash97python scripts/freecad_doc_query.py "<command_or_topic>"98```