Skip to content
依依鸮· @xiaox12xiao · X·· 9 d agoFeaturedAI score76

Codex CAD Skill operates AutoCAD through MCP and outputs editable DWG

Editorial summary

The author introduces a CAD Skill developed by a university student that operates AutoCAD directly through MCP and generates DWG files that remain editable. The Skill adds drawing-review and scoring mechanisms, checking after drafting and attempting to correct issues with dimensions, annotations, and layout. Complex drawings still require manual review, and the project is also experimenting with SolidWorks and Revit integration.

Why it matters

This Skill demonstrates a workflow for operating AutoCAD directly through MCP and generating editable DWG files, while retaining the limitation that complex drawings require manual review.

Read original text
English translation

To be honest, when a friend first told me he was developing a Skill that would let Codex draw CAD automatically, I thought it just meant having AI write some scripts to draw a few simple shapes.

After trying it, I found it was much more interesting than I had imagined.

Unlike many so-called AI drafting tools on the market, it does not generate an image that looks like an engineering drawing; it directly operates AutoCAD and outputs DWG files that can be edited further.

What surprised me most was that it even added a drawing-review and scoring mechanism. After finishing a drawing, it can inspect problems and attempt to revise them instead of simply stopping when the drawing is complete.

Of course, it is not yet at the point of completely replacing human drafting. Complex drawings still need manual review, and some details could be optimized further.

But considering that this is actually a project built by a university student working on it alone, and that it is also attempting to integrate SolidWorks and Revit, it is genuinely worth watching.

If it can eventually connect 2D drafting, mechanical 3D modeling, and architectural BIM modeling, I feel this could be highly practical.

Looking forward to future updates 👀 (helping promote a friend 😇😇)

Quoted postHaruhI凉宫@CommunismHaruh1

Damn! After installing a self-developed CAD Skill for Codex, AI really can operate AutoCAD directly to draw!

At first I only wanted to see whether AI could help me draw. I did not expect to spend so long tinkering and gradually develop a complete automated drafting workflow.

It has now been tested on no fewer than 50 real drafting tasks, including:

  • Architectural floor plans, elevations, and sections
  • Food-production process flowchart
  • Factory workshop layout plans
  • Civil-engineering drawings
  • 2D drafting of mechanical parts

This is not simple text-to-image generation. It connects to AutoCAD through MCP, directly operates the software, and generates DWG files that can continue to be edited.

A drawing-review and scoring mechanism was also added specifically, allowing AI to inspect and correct dimensions, annotations, layout, and other issues after drafting.

Tests show that it does not need to stay in the highest reasoning mode; medium reasoning can complete many complex drafting tasks, saving quota as much as possible.

Recently, I have also been developing a SolidWorks Skill, trying to connect automated workflows for 3D modeling, assemblies, and engineering drawings.

The next step is to integrate Revit.

The entire CAD Skill is already open source. Interested people can take it and experiment with it; the installation method is also very simple.
👇

View quoted post on X

Source: 依依鸮 · x.com