FreeCAD Standard Parts
Use library-provided, parametric objects before constructing commodity geometry manually.
Workflow
- Call
list_documentsto confirm the FreeCAD MCP bridge is connected. If connection is refused, launch FreeCAD, wait for its local RPC bridge, then retry. Keepremote_enabledfalse. - Read references/providers.md before selecting a standard, provider, or Python API.
- Select the provider in this order:
- Use Fasteners Workbench for standardized screws, bolts, nuts, washers, pins, inserts, and related hardware.
- Use
freecad.gearsfor involute, internal, cycloid, bevel, worm, timing, lantern, crown, and rack geometry. - Use
$step-partsfor bearings, guide rails, rollers, named motors and connectors, catalog flanges, structural profiles, and other purchasable components not covered by the installed workbenches. - Use the verified local FCStd/STEP catalog only when none of the preceding providers covers the requested component. Check its source and license before reuse.
- Treat zero results from the configured structured providers only as a structured-search miss, never as evidence that no commercial part exists. Evaluate the component's mechanical function, interfaces, envelope, motion, operating principle, and industry vocabulary. When those semantics make a commercial off-the-shelf component reasonably likely, expand the search to applicable authoritative public sources as defined in references/providers.md. Choose sources and query terms from the component semantics rather than from a closed list of predefined part types.
- Present materially different candidates when a search is ambiguous. Record the structured providers, extended authoritative sources, query terms, and material outcomes. Only after a reasonable semantic expansion across applicable authoritative sources may you report that no suitable component was found. Network or DNS failure remains inconclusive.
- Do not construct or substitute standard-part geometry unless the user explicitly requests or approves it. A structured or extended search miss does not authorize a custom substitute.
- Resolve omitted engineering choices conservatively. Prefer ISO metric hardware, a 20-degree pressure angle for general-purpose involute gears, and simplified threads unless manufacturing-detail geometry is explicitly required. Report assumptions.
- Use
execute_codewith scripts/freecad_standard_parts.py for deterministic creation or verified STEP import. Resolve the script relative to this skill directory, add itsscriptsdirectory tosys.path, and importfreecad_standard_parts. - For STEP.parts downloads, use scripts/cache_step_part.py outside FreeCAD. It stores
<part-id>/<sha256>/<filename>.stepplusmanifest.jsonunder the configured global cache. Verify the checksum before importing. - Preserve each standard part as a separate parametric document object. Position it with
Placement; group it under an assembly or parts group. Do not fuse standard parts into the custom body unless the user explicitly requests a manufacturing solid. Design-required machining may create a derived component, but it must retain the base part's library metadata. - Add or update a BOM with quantity, category, standard, nominal size, provider, source commit or URL, part ID, and SHA-256 where applicable. Do not silently substitute a different standard or nominal size.
- Save deliverables under the workspace
output/folder. Verify object names, standard identifiers, nominal sizes, shape validity, expected solids, critical gear dimensions, and metadata. Useget_viewfor a visual check, then invoke$freecad-model-validationbefore reporting completion.
Guardrails
- Keep real modeled threads off by default; they increase recompute time and file size.
- Treat generated gear geometry as nominal CAD. Confirm backlash, profile shift, material, tolerance, and strength requirements before manufacturing release.
- Use an assembly constraint workbench only when it is installed and the user requests persistent kinematic constraints; otherwise use explicit placements and an assembly group.
- Keep the pinned add-on sources unchanged during ordinary modeling work. Update them only as a separate reviewed maintenance task.
- Treat network or DNS failure as inconclusive, not as a catalog or market miss. Retry once with permission; never use the failure to justify an automatic placeholder.


