qwen-mm-plugins-freecad

Builds and edits parametric CAD models in a running FreeCAD instance via XML-RPC.

2.9k|185|Updated Jul 29, 2026
One-click install
npx skills add https://github.com/QwenLM/Qwen-MM-Plugins --skill qwen-mm-plugins-freecad-qwenlm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qwen-mm-plugins-freecad
Source: https://github.com/QwenLM/Qwen-MM-Plugins/tree/main/src/capabilities/freecad/skill
Command: npx skills add https://github.com/QwenLM/Qwen-MM-Plugins --skill qwen-mm-plugins-freecad-qwenlm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating and modifying parametric 3D CAD models normally requires manual GUI work in FreeCAD. This Skill lets an agent drive a running FreeCAD instance programmatically to model parts and assemblies, edit object properties, run FEM analysis, and export engineering files. ## Core Features & Use Cases - Parametric modeling: Create and edit document objects (Part, PartDesign, Draft), insert parts from a library, and set placement, scale, and rotation with verification via get_object and get_view. - Import/export and reporting: Import and export STEP, STL, OBJ, and DXF files, and generate PDF or Excel reports from a model. - FEM analysis: Run CalculiX-based finite-element analysis on a Fem::AnalysisPython container, returning max von Mises stress, displacement, and node count. - Use Case: Ask the agent to design a bracket, apply fixed and force constraints, mesh it with Gmsh, run a FEM analysis, and export the result as a STEP file plus a PDF report. ## Quick Start Use the FreeCAD skill to create a parametric bracket model, verify its geometry, and export it as a STEP file to the exports directory.

Frequently Asked Questions about qwen-mm-plugins-freecad

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create parametric 3D models in FreeCAD programmatically?

Call create_object to add Part, PartDesign, or Draft objects to the document, then refine properties with edit_object and verify with get_object. For custom operations, execute_code runs Python directly inside FreeCAD's GUI thread.

How do I run FEM analysis in FreeCAD with CalculiX?

Create a solid geometry, a Fem::MaterialCommon, a Fem::FemMeshGmsh mesh, and at least one ConstraintFixed plus one ConstraintForce or ConstraintPressure, all added to a Fem::AnalysisPython container. Then call run_fem_analysis, which requires the CalculiX ccx solver on PATH.

Does FreeCAD automation work on macOS or Windows?

The automatic FreeCAD download and launch only supports Linux-x86_64. On other platforms you must install FreeCAD yourself and optionally set FREECAD_BINARY to point at the binary before the tools can connect.

Why can't the FreeCAD tools connect to the application?

Connection failures usually mean FreeCAD is not running with the FreeCADMCP addon, or a headless machine lacks a virtual display such as xvfb. The tool error message identifies the cause, and --check-system from a source checkout lists missing system tools.

When should I use execute_code versus execute_code_async in FreeCAD?

Use execute_code for anything touching documents, objects, FreeCADGui, selection, or recompute, since it runs on the GUI thread. Use execute_code_async only for long pure OCCT or CPU computations that do not touch the GUI or document tree.