En

Agentcad Skill Release 0.4.0

A CAD tool for AI agents that generates 3D models via Python scripts.

开发流程 使用Python脚本生成3D模型设计3D模型 通用 ★ 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 tool for AI agents that generates 3D models via Python scripts.
Full Skill content: https://321skill.com/skills/agentcad-skill-release-0-4-0-x-9/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 inability of AI agents to perform 3D modeling directly. In practical development, when users request the design, modeling, or construction of 3D objects, AI agents typically lack the capability to operate CAD software directly. Agentcad enables AI agents to write build123d or CadQuery Python scripts and convert them into usable outputs such as STEP files, PNG renders, mesh exports (STL/GLB/OBJ), while also providing geometric measurement information.

Usage is straightforward: simply have the AI agent write a Python script (no manual library imports required—agentcad automatically injects build123d primitives and the show_object function), then perform a dry-run to first check metrics like volume, dimensions, and validity. Once confirmed, execute the script formally. Each run generates a four-view preview, a diff comparison with the previous version, an interactive 3D viewer (for users to open), and supports measurement and specification checks on the output model.

It is ideal for teams or individuals needing to add CAD capabilities to AI agents, especially developers already using build123d or CadQuery as their backend engine. Agent developers, full-stack engineers, and backend developers can quickly generate 3D models via natural language instructions for use cases like product prototyping, 3D printing, and design validation.

It is recommended to run agentcad init to initialize the project on first use and carefully review the full instructions in agentcad --help. Note that it requires Python 3.10–3.12, must be installed via pip install agentcad, and each script must include a show_object(result) call; otherwise, no output will be produced.

Key Features

Unlike using build123d or CadQuery scripts directly, agentcad is designed specifically for AI agent interaction. It provides a complete workflow including dry-run previews, version comparison, visual feedback, and specification checks (check-spec), enabling AI agents to autonomously iterate and validate 3D models without manual script execution.

Limitations

Requires Python 3.10–3.12, must have agentcad installed (via `pip install agentcad`), depends on the build123d or CadQuery library, and each script must include a `show_object(result)` call.

FAQ

What output formats does agentcad support?

It supports STEP files, PNG renders, STL/GLB/OBJ mesh exports, and an interactive 3D viewer HTML.

How can I view the generated 3D model?

After a successful run, agentcad generates a viewer.html file. You can have the AI agent open it, or directly view the four-view preview in preview.png.

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