
CLI Anything Freecad
Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands).
Install
npx skills add HKUDS/CLI-Anything --skill cli-anything-freecad -g -a claude-code -y- Repository
- HKUDS/CLI-Anything58k
- Category
- Documents
- Updated
- 1mo ago
- License
- Apache-2.0
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- No, instructions only
What it does
Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.
cli-anything-freecad
Complete CLI harness for FreeCAD, 258 commands across 17 groups covering ALL workbenches.
Prerequisites
FreeCAD must be installed: freecadcmd must be in PATH.
Installation
pip install -e freecad/agent-harness
Basic Usage
cli-anything-freecad --json <command> # JSON output for agents
cli-anything-freecad --json -p proj.json <cmd> # With project file
cli-anything-freecad # Interactive REPL
Preview, Live Preview, and Motion
FreeCAD is currently the deepest preview integration in this branch.
Preview commands:
# List preview recipes
cli-anything-freecad --json -p proj.json preview recipes
# Capture a real 4-view bundle
cli-anything-freecad --json -p proj.json preview capture --recipe quick
# Start poll-mode live preview
cli-anything-freecad --json -p proj.json preview live start --recipe quick --mode poll --source-poll-ms 500
# Query current live state without rendering
cli-anything-freecad --json -p proj.json preview live status --recipe quick
# Stop live preview publication
cli-anything-freecad --json -p proj.json preview live stop --recipe quick
Typical quick bundle artifacts:
hero.pngfront.pngtop.pngright.png
Live preview persists:
session.json- immutable bundle directories
trajectory.json
preview live status --json is intended for agents and includes a compact
trajectory_summary in addition to _session_dir, current bundle refs, and
_trajectory_path.
Viewer commands:
cli-hub previews inspect /path/to/bundle-or-session
cli-hub previews html /path/to/bundle-or-session -o page.html
cli-hub previews watch /path/to/session --open
cli-hub previews open /path/to/bundle-or-session
Motion commands remain separate from preview and are used for final truthful frame rendering and showcase videos:


