SolidCraft 开源参数化 3D CAD 应用支持 MCP 与多端运行
SolidCraft 是一款纯 Rust 编写的开源参数化 3D CAD 应用,可运行于桌面、浏览器和无头 CLI,并通过内置 MCP server 支持 AI agents 建模。
材料集中展示了 SolidCraft 的参数化建模能力、跨端运行方式和可复核的几何校验结果,便于工程师判断其实际适用范围。
Interesting repo: tangency-labs/solidcraft (13305 stars).
SolidCraft is an open-source parametric 3D CAD app. It is written in pure Rust. It runs on the desktop, in the browser, or as a headless CLI. The same commands run in all three places. A built-in MCP server lets AI agents model parts too.
What you can do: sketch and constrain lines, arcs, splines and text. Then extrude, revolve, sweep, loft, fillet, chamfer, shell, draft, holes, threads, patterns, mirror, split and combine. All of it sits on an editable parametric timeline. Change one dimension and the model rebuilds. It also handles assemblies with joints and motion studies. Sheet metal gets flanges, hems, fold and unfold, and flat patterns.
The accuracy claim is the part I trust most. 75 of 76 public reference parts match their analytic or FreeCAD-computed values. Those checks cover volume, area, centre of mass and bounding box. The remaining part is a tracked bug. That is a real oracle, not a hand-picked demo. You can run it and check.
Concrete example from the readme. A Raspberry Pi 4 case built from an empty design. A sketch dimensioned with the board parameters, then extrude, fillet, shell. An M2.5 standoff patterned on the 58 x 49 mm hole rectangle. Port cut-outs and vent slots. "Pi 4" engraved in DejaVu Sans Bold. PETG defined in the design, with the mass shown in Properties. Then set the height from 24 to 32 mm in Parameters, and it all rebuilds.
Two commands to start from source:
cargo run --release -p solidcraft -- --sample
cargo run --release -p solidcraft-cli -- commands
The first opens the desktop app with a sample part. The second prints the command registry.
Files move in and out: STEP, IGES, 3MF, STL, OBJ and glTF, plus URDF export. Designs save as.sc files. Older.solidcraft files still open. Builds exist for Windows, macOS, Linux, Snap and the web. One practical note: the Windows downloads are not signed yet. You need More info, then Run anyway in SmartScreen.
来源:Deep · x.com