跳到正文
Big Bull· @BIGBULLapp · X·· 9 天前精选AI 评分86

agentcad 为编码智能体提供完整 CAD 工作流

AI 导读

agentcad 让编码智能体编写 build123d Python,由工具执行并导出 STEP、PNG、STL、GLB 和 OBJ。它还会计算几何指标、验证并比较修订版本,并提供浏览器预览;每条命令通过 stdout 返回结构化 JSON,CadQuery 可作为兼容模式使用。

推荐理由

原文展示了编码智能体如何串联脚本执行、格式导出、几何校验与浏览器预览,适合了解 agentcad 的 CAD 工作流。

正文 · 原文

agentcad gives a coding agent a real CAD loop: it writes build123d Python, agentcad runs it, exports STEP, renders PNG, exports STL/GLB/OBJ, computes geometric metrics, validates and diffs revisions, then serves a browser preview. Every command returns structured JSON on stdout while progress goes to stderr, so parse stdout and keep the streams apart. CadQuery works as an explicit compatibility mode when you need it.

github.com/jdilla1277/agentcad

来源:Big Bull · x.com