Agentcad Skill Release 0.4.0
AI Agent 3D Modeling CAD Tool
Install & Use
Copy this prompt and send it to your AI assistant (Claude / Cursor / TRAE / Codex / WorkBuddy etc.) to auto-install:
Help me install this AI Skill: Agentcad Skill Release 0.4.0. It is used for: AI Agent 3D Modeling CAD Tool Full Skill content: https://321skill.com/skills/agentcad-skill-release-0-4-0-x-4/raw/index.md Read that page and install it.
The prompt includes a link to the full Skill content. You can also view the full content.
This Skill addresses the pain point where AI agents cannot directly perform 3D modeling. In practical development, agents or developers need to quickly generate 3D models for prototyping or product design, but traditional CAD software is complex to operate and lacks natural language interaction with AI. AgentCAD combines Python scripting capabilities with AI agents, allowing users to simply describe their requirements, and the AI can automatically generate compliant 3D geometry.
Usage is straightforward: you just need to install agentcad (pip install agentcad), then initialize the project directory via agentcad init. After that, you can have the AI agent write build123d or CadQuery scripts—no need to manually import libraries, as build123d primitives and the show_object function are pre-injected. Execute scripts using the agentcad run script.py --output label command, which supports a dry-run mode to preview metrics like volume and dimensions. A formal run will generate a STEP file, a PNG render, an interactive 3D viewer (viewer.html), and a version comparison diagram. The AI agent can also use agentcad measure to measure feature dimensions, agentcad diff to compare version differences, and agentcad inspect to check for invalid geometry.
It is ideal for teams or individuals who need to collaborate with AI for parametric 3D design. Especially for developers already using build123d or CadQuery as their modeling engine, it integrates seamlessly into AI workflows. Product designers, mechanical engineers, and agent developers can rapidly iterate designs through natural language, saving time on manual scripting. It is also suitable for educational scenarios, where AI assists students with 3D modeling assignments.
It is recommended to clearly inform the AI agent about agentcad's usage in the prompt, especially the script writing rule (must call show_object). Note that it primarily relies on Python 3.10-3.12 environments and can only execute build123d or CadQuery syntax, not other CAD scripts. For complex assemblies, it is advised to first dry-run to confirm geometry validity before a formal run. Additionally, each run creates a new version; manage multiple iterations wisely using the --output label.
Key Features
Compared to OpenSCAD, agentcad is specifically designed for AI agents. It comes with build123d primitives and the `show_object` function pre-injected, eliminating manual imports. It supports interactive iteration commands like dry-run, diff, and measure, making it more suitable for AI auto-generation and debugging rather than manual script writing.
Limitations
Requires Python 3.10-3.12 environment and depends on the build123d or CadQuery libraries. Does not support other CAD kernels or direct graphical interface operations.
FAQ
Which CAD libraries does agentcad support?
It supports build123d and CadQuery. No imports are needed in scripts, as the primitives are pre-injected.
How can I preview the generated 3D model?
After running, it automatically generates a composite four-view preview.png and an interactive 3D viewer.html page. You can open it using the `agentcad view` command.
Installation guide for AI assistants
If your AI coding assistant (Claude Code, Cursor, TRAE etc.) can see this page, send it this message to auto-install:
Visit https://321skill.com/skills/agentcad-skill-release-0-4-0-x-4/raw/index.md to read the original Skill definition (Markdown format) for Agentcad Skill Release 0.4.0, and install it according to the instructions.
Raw Markdown URL for AI: /skills/agentcad-skill-release-0-4-0-x-4/raw/index.md