En

Agentcad Skill Release 0.4.0

A CAD modeling tool for AI agents, script-driven 3D model generation

开发流程 设计3D模型用Python脚本生成3D模型开发AI应用 通用 ★ 1.4k Updated 2026-08-02

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: A CAD modeling tool for AI agents, script-driven 3D model generation
Full Skill content: https://321skill.com/skills/agentcad-skill-release-0-4-0-x/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 issue of AI agents being unable to directly generate precise 3D geometric models. In practical development, developers often need AI agents to quickly create design prototypes, engineering parts, or product models based on natural language descriptions. However, traditional CAD tools lack API integration and cannot be automated by AI agents. Agentcad packages the Python script execution capabilities of build123d and CadQuery into a CLI, enabling AI agents to 'write code to model' just like human designers.

Usage is straightforward: simply have your AI agent install the agentcad package (pip install agentcad), then describe the design requirements via natural language instructions. The AI agent will first generate a build123d or CadQuery script, then execute it via the agentcad run command to output a STEP file, a PNG four-view preview, STL/GLB/OBJ meshes, and structured JSON data containing geometric dimensions. It supports --dry-run for pre-checking volume and validity, provides diff for comparing version changes, and offers inspect and measure commands for detailed measurements—all without manual intervention.

It is ideal for agent development teams or individuals requiring automated 3D modeling, especially in scenarios already using AI coding agents (like Claude, Cursor, Trae) to assist with product design. Examples include rapid prototyping of mechanical parts, generating 3D printing models, visualizing architectural components, creating geometric shapes for teaching demonstrations, and any workflow that needs to convert natural language descriptions into editable CAD files.

It is recommended to standardize on this tool when AI agents require frequent design iteration. Note that it primarily relies on Python 3.10-3.12 environments, and scripts must include a show_object(result) call for proper output. For complex assemblies or scenarios requiring multi-body Boolean operations, it's advisable to execute in steps and use diff to compare versions, avoiding generating overly large scripts at once.

Key Features

Unlike the script modes of OpenSCAD or FreeCAD, Agentcad is designed specifically for AI agents. It includes built-in helper functions like `show_object` and `load_step`, eliminating the need for manual module imports. All outputs are in JSON format for easy parsing by AI agents. It also provides version management capabilities such as `--dry-run`, `diff`, and `inspect`, supporting iterative design.

Limitations

Requires a Python 3.10-3.12 environment and must be installed via `pip install agentcad`; Python 3.9 and below are not supported. Scripts must contain at least one `show_object(result)` call; otherwise, no output will be generated.

FAQ

Which operating systems are supported?

Windows, macOS, and Linux are supported, provided the corresponding version of Python 3.10-3.12 is installed.

Does it require an internet connection to use?

Local execution does not require an internet connection, but a network is needed to install the agentcad package. The first run of `agentcad init` creates a project directory and does not rely on remote services.

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/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.