
lburny/cadpilot
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
CADPilot は、AI クライアント (ClaudeCode, OpenCode, DSH, ZCode) のパイロット FreeCAD を可能にする MCP サーバーで、制約のあるスケッチ、パラメトリック機能、および自然からの永続結合アセンブリの構築...
概要
CADPilotは、AIクライアント(Cherry Studio、Claude Code、ZCode、Kimi Code、Claude Desktop、...)のフリーCADの完全な制御を提供するMCP(Model Context Protocol)サーバーです。ドキュメントを作成、制約されたスケッチを作成、パラメトリック機能を実行し、持続的なジョイントで部品を組み立て、ジオメトリを検証し、XML-RPC上のツールコールを介してすべてのジオメトリを検証します。 CADPilot(デモファイル)を介してAIによって構築されたモデル例: * : スプレッドシート駆動の変数、完全に制約されたスケッチ、PartDesignの機能(pad/pocket/revolution/...)、ドレスアップオプス、マルチビュー2D→3Dビジュアルハール、すべての1つの統一されたキャド()ツールを介して。 *:すべての変異は、FreeCAD側でジャーナルされ、ドックに示されています:計画された手順を実行し、良いもの(ソフトロック)を受け入れ、残りの部分をロールバックし、所定の場所にパラメータを編集し、ジャーナルから全体のビルドを再生します.
概要(AI 翻訳)
English** | 日本語
AIパイロットFreeCAD. CADPilotは、AIクライアント(Cherry Studio、Claudeコード、ZCode、Kimiコード、Claude Desktop、…)のフリーCADの完全な制御を提供するMCP(Model Context Protocol)サーバーです。 文書を作成、制約されたスケッチを作成、パラメトリック機能を実行し、永続的なジョイントで部品を組み立て、ジオメトリを検証し、XML-RPC上のツールコールを介してすべてのジオメトリを確認します。
ショーケース
CADPilot(デモファイル[examples/]])を介してAIによって構築されたモデル:
| バックパック | デスクファン | お問い合わせ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ヴィオリン** | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
##特徴
*パラメトリックモデリング、エンドツーエンド:スプレッドシート駆動変数、完全に制約されたスケッチ、PartDesignの機能(パッド/ポケット/革命/…)、ドレスアップオプス、マルチビュー2D→3Dビジュアルハール、すべての1つの統一された[[[T1]ツールを介して。 *ステップジャーナル&レビューループ:すべてのミューテーションは、FreeCAD側でジャーナルされ、ステップパネルドックに示されています。計画された手順を実行し、良いもの(ソフトロック)を受け入れ、残りの部分を拒絶またはロールバックし、所定の場所にパラメータを編集し、ジャーナルからビルド全体を再生します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
CADPilot
English | Chinese
AI pilots FreeCAD. CADPilot is an MCP (Model Context Protocol) server that gives AI clients (Cherry Studio, Claude Code, ZCode, Kimi Code, Claude Desktop, …) full control of FreeCAD: create documents, build constrained sketches, run parametric features, assemble parts with persistent joints, and verify geometry, all via tool calls over XML-RPC.
Showcase
Models built by the AI through CADPilot (demo files live in examples/):
Features
- Parametric modeling, end to end: spreadsheet-driven variables, fully constrained sketches, PartDesign features (pad/pocket/revolution/…), dress-up ops, and a multi-view 2D→3D visual hull, all through one unified
cad()tool. - Step journal & review loop: every mutation is also journaled on the FreeCAD side and shown in the Steps panel dock: run planned steps, accept the good ones (soft lock), reject or roll back the rest, edit parameters in place, and replay the whole build from the journal.
execute_codeis a first-class citizen: a snippet that changes the model is wrapped in a transaction and becomes a rollback-able, replayable step, while a read-only inspection never blocks a rollback. Hand edits in the GUI sync back into the recorded steps; session rollback remains for whole-session undo. - Persistence: sessions, patterns, and settings survive restarts as JSON under
~/.cadpilot/; pause a session today, resume it tomorrow. - Geometry sensing: measure volumes/areas, inspect face/edge topology, and check interference after every step; quantitative feedback replaces guesswork on complex models.
- Data-driven assembly: named anchors, residual-checked mates, connectivity audits, and persistent joints (FreeCAD 1.1 Assembly workbench) with declarative priority trimming.
- Workflow memory: successful modeling recipes are stored as reusable patterns and recalled on demand; the agent gets better the more you use it.
- Built-in troubleshooting: the
diagnosetool probes the RPC port, the FreeCAD process, the addon install and its logs on Windows/macOS/Linux, ends with a concrete fix, and works even while FreeCAD is down or frozen.get_addon_logreads the addon’s debug ring buffer even when the GUI is wedged. - Token-friendly: text-first responses with screenshots on demand via
get_view(384 px cap, file delivery), a tiny tool surface, and on-demand operation docs keep context usage low.
インストール
uvx cadpilot設定
{
"mcpServers": {
"cadpilot": {
"command": "uv",
"args": ["--directory", "/path/to/cadpilot", "run", "--no-sync", "cadpilot"]
}
}
}