跳到正文
Prompt Engineer 48· @prompt48 · X·精选AI 评分77

作者用 Claude 经 MCP 驱动 SolidCraft 建模组并以手算校验测量

I let Claude drive a real CAD app (SolidCraft) on my screen, then checked every part against hand maths. Six measurements, all within 5 p...

AI 导读

作者通过 SolidCraft 的 MCP 服务器让 Claude 在屏幕上操作开源参数化 CAD,全程未动鼠标,对 plate、box、flange 三件简单零件共六项测量与手算对比均在约 5 ppm 内;改单一参数可正确重建整模,20 mm 圆角被拒后改为 4.5 mm 成功。

推荐理由

用 MCP 让 Claude 全程驱动 SolidCraft 建三个简单件,体积与面数与手算对照在约 5 ppm 内,适合评估 AI 驱动参数化 CAD 是否可信。

正文 · 原文

I let Claude drive a real CAD app (SolidCraft) on my screen, then checked every part against hand maths. Six measurements, all within 5 ppm. Full write-up 👇 x.com/i/article/2114250110368…

【X 长文】I Let Claude Drive a Real CAD App on My Screen. Then I Checked Every Number.

SolidCraft is an open-source CAD program that is 18 days old. I connected Claude to it through its MCP server, kept my hands off the mouse, and checked every part Claude built against numbers I worked out by hand.

Short version: six measurements, all within 5 parts per million of my hand maths, one real error, and one warning in the docs that did not reproduce.

🎥 Full video walkthrough: youtu.be/ujVH8qYG8sw

What SolidCraft is

An open-source parametric 3D CAD app written in Rust. Desktop app, browser app, command line and an MCP server, all running the same commands. License: MIT or Apache-2.0.

When I checked on 2026-10-25 the repo showed about 10.1k stars, 1.2k forks, 166 contributors and 52 releases. The repo was created on 2026-10-07 and v0.22.0 shipped on 2026-10-24.

Read what the README says about itself before getting excited: "Early but usable for simple parts". It also claims 75 of 76 public reference parts match their expected volume, area and centre of mass. That is the project's own number. I tested three simple parts.

The one thing I got wrong first

I added the MCP server the way the README shows (solidcraft-cli mcp). Claude happily started working, but in a hidden headless session. A window screenshot returned this:

The fix: start the app with a control port, then point the MCP server at it.

The server also refuses to read or write files outside the folders you allow, so I had to add the project folder with --allow-path. An AI with a CAD app should not get your whole disk by default, and here it does not.

Build 1: a plate with four counterbored holes

The brief: an 80 × 50 × 6 mm plate, R5 corners, four counterbored holes 8 mm in from each edge. My hand answer before Claude built anything: 23,335.167 mm³ and 22 faces.

Claude set parameters first (L, W, T, inset), sketched with those names, extruded, filleted, drilled one hole and patterned it. Measured result: 23,335.185 mm³, 22 faces.

Then one parameter: length 80 → 120 mm. Nothing redrawn. The holes stayed in the corners. Hand: 35,335.167. Measured: 35,335.195.

The test I expected to catch it out

SolidCraft's own docs warn that a hole sketched under the part drills into empty space and still reports success. I made Claude try it twice, once at z = 0 and once 10 mm below the part.

Both times the volume dropped by about 169.6 mm³, which is exactly what a 6 mm hole through 6 mm of plate should remove (π·3²·6 = 169.646). The warning did not reproduce in v0.22.0. Either it was fixed or the docs are old; I cannot tell you which. Measure is the only reason I know.

Then a real failure. I asked for a 20 mm fillet on a 6 mm plate. The app refused, Claude read the message and asked again for 4.5 mm, and it worked:

Build 2 and 3: a box and a flange

Hollow box, 60 × 40 × 25 mm, shell with 2 mm walls and an open top. Hand: 13,632 mm³. Measured: 13,632.000. Wall 2 → 3 mm: hand 19,608, measured 19,608.000. Exact, because every surface is flat.

Flange Ø100 × 8 mm, Ø20 bore, six Ø6.6 bolt holes on a Ø70 circle. Hand: 58,676.406. Measured: 58,676.131. Then bolt count 6 → 8 and the circle 70 → 80 mm. Hand: 58,129.015. Measured: 58,128.831.

The curved parts are slightly looser than the straight ones (about 5 ppm) and I do not know why.

Scoreboard

I also exported the plate to STEP and reopened it from the command line: 33,582.696 mm³ against 33,582.690 in the app. I did not hand-calculate that last fillet, so that only proves the file round-trips, not that the fillet is right.

Verdict

  • ✅ On a plate, a box and a flange, SolidCraft matched my hand numbers every time, and Claude drove it without me touching the mouse
  • ✅ Changing one parameter rebuilt the whole model correctly (length, wall, bolt count, bolt circle)
  • ✅ A real error came back with a usable message (largest fillet that fits: 4.59 mm)
  • ⚠️ Three simple parts is not 75 of 76, and the project still calls itself early
  • ⚠️ Not tested: assemblies, sheet metal, threads, big imported STEP files
  • ⚠️ The downloads are not signed yet, so Windows makes you click More info, then Run anyway

If you design simple parts, or you want an AI that checks its own work with real numbers, it is worth an evening.

Links

The avatar in the video is AI-generated and the narration is my cloned voice.

If this was useful, repost it and subscribe on YouTube: @promptengineer48

来源:Prompt Engineer 48 · x.com