Search Ctrl+K
Change language Switch ThemeSign In
Curated Daily BriefWeekly PicksTopicsWorld Cup Special SettingsHelp CenterCollapse
Narrow Mode
SynapsCAD: A CAD IDE That Welds Code, 3D Rendering, and AI Dialogue Together
SynapsCAD: A CAD IDE That Welds Code, 3D Rendering, and AI Dialogue Together
 AIGCLINK@aigclink
有人做了一个CAD 领域的Cursor:左边写 OpenSCAD 代码、右边实时出 3D、旁边挂个 AI 对话框,你可在 3D 模型上点一下、让 AI 就着你点的那个零件改设计:
1、写 OpenSCAD 代码 → 点 Compile → 它用 scad-rs 解析、内置 AST walker 求值、csgrs 做 CSG 布尔运算出三角网格 → 3D 视口交互看;
2、AI 助手不是盲改:它能看到你当前的代码和零件标签,还能吃到你在 3D 里点选的上下文,然后自动改代码;
3、导出走 lib3mf(3MF 带每零件颜色)、STL/OBJ 原生导;相机是 Blender 式操作。
换句话说,它把"代码 = 唯一真相"和"AI 用自然语言改"这两两个,焊在了一个能实时看 3D 的编辑器里——AI 改的始终是可读、可版本管理的代码,不是黑盒几何。
技术上:
1、全链路纯 Rust、零外部依赖:OpenSCAD 解析、求值、渲染全在进程内跑,不调外部工具、不用 WASM;
2、架构是 Bevy(游戏引擎/ECS)占主线程跑渲染,另开一个 Tokio 运行时专门发 AI 网络请求,两边用 mpsc channel 桥接、Bevy 每帧 try_recv() 非阻塞轮询——所以 AI 在后台流式返回时,3D 视口不卡;
3、拾取(点选模型)直接用 Bevy 0.15 自带的 MeshPickingPlugin,连外部库都省了。
支持主流模型 Anthropic / OpenAI / Gemini / Groq / DeepSeek / xAI / 智谱…等十来家,还支持 Ollama 本地模型——可以本地化、设计数据不出本机,对 CAD 这种常带商业机密的场景本地化还是蛮重要。
同样是"AI + CAD",之前聊的 text-to-cad 是给 agent 的 skill 库、让 Claude 在命令行里生成 STEP;SynapsCAD 走的是另一条——把 CAD 做成一个你能坐进去、边写代码边看 3D 边跟 AI 聊的 IDE。 一个面向 agent,一个面向人。CAD 的 AI 化,正在两头开花。
#SynapsCAD #AICAD #Rust #OpenSCAD #VibeCoding Show More
Jul 18, 2026, 1:20 AM View on X
3 Replies
0 Retweets
10 Likes
991 Views  AIGCLINK @aigclink
Follow
One Sentence Summary
An introduction to SynapsCAD, an open-source tool that integrates an OpenSCAD code editor, real-time 3D rendering, and an AI assistant, allowing users to modify 3D designs via natural language while keeping all changes as readable code.
Summary
AIGCLINK provides a detailed overview of SynapsCAD, an integrated development environment for CAD that combines OpenSCAD code editing, real-time 3D rendering, and an AI assistant. Users write code on the left, see the 3D model update instantly on the right, and interact with an AI chat panel. By clicking on a specific part in the 3D view, the AI can perceive the context and automatically modify the code. Technically, the entire pipeline is built in Rust: the OpenSCAD parser, evaluator, and renderer all run in-process without external dependencies. The rendering is driven by the Bevy game engine (ECS) on the main thread, while a separate Tokio runtime handles AI network requests, communicating via mpsc channels with non-blocking polling — enabling smooth streaming of AI responses without freezing the 3D view. The article also contrasts the 'text-to-cad' command-line approach with SynapsCAD's IDE path, noting that AI in CAD is blossoming in two directions: one for agents and one for humans.
AI Screening
88
Influence Score 6
Published Today
Language
Chinese
Tags
SynapsCAD
AICAD
Rust
OpenSCAD
VibeCoding
Make your daily reading actually fit you.A daily brief built from the sources you follow. Get started free HomeDiscoverWorld CupSettings