freecad

Installation
SKILL.md

FreeCAD Control

FreeCAD (/Applications/FreeCAD.app) is scriptable in Python against the FreeCAD / FreeCADGui / Part / Sketcher / PartDesign / Draft / Mesh / TechDraw modules. Drive it through the FreeCAD Bridge — a small script running inside a running FreeCAD GUI that executes whatever build script is POSTed to 127.0.0.1:8735. Because the script runs in the live session on the GUI thread, the viewport updates as you build and Gui.* / saveImage work directly. Everything below was proven on FreeCAD 1.1.1.

  • scripts/freecad-bridge.py — the bridge to run inside FreeCAD.
  • scripts/freecad-send.sh — send a .py file (or -c 'inline code') to the bridge and print its captured output; --ping checks it's up.
  • scripts/example-bracket.py — a complete build→measure→export→ screenshot script to copy from.
  • references/api-reference.md — condensed, version-checked Python API (App/document, Part, Sketcher, PartDesign, Draft, Mesh, Import/Export, GUI). Read it before writing anything past the cheatsheet below.

The control loop

Installs
35
GitHub Stars
1
First Seen
Jul 31, 2026
freecad — jablonkai/skills