EP30. "在 Claude 里用 Blender Connector"
🔒 登录后可标记已读- Blender Connector 让 Claude 透过 Blender 自己的 Python API 直接读懂你打开的 Blender 场景——能读复杂的节点设置、批量改物件、清掉没用到的数据、还能写 Python 脚本给 Blender 界面加新工具
- 这个 connector 是 Blender 原班开发者做的,跟着 Claude for Creative Work 一起推出
- 学完知道怎么装这个 connector、几个实际能问的场景、以及常见问题
重点内容
前置条件
- Claude 桌面版(任何方案都行,包含免费版)
- Blender 4.2 或以上版本
怎么装
第一步:在 Claude Desktop 里加 connector 进 Customize → Connectors,搜索 Blender,点 Add。
第二步:在 Blender 里装 add-on
- 跟 Blender 一起开着浏览器,打开 Blender MCP Server 页面
- 把安装链接拖进 Blender 窗口,允许 lab extension repository
- 同一个链接再拖一次,正式装好 add-on
第三步:启动连接
- 打开你的 Blender 项目
- 进 Edit → Preferences → Add-ons
- 找到 BlenderMCP 标签,点启动 "start MCP server"
实际能问的场景
整理场景命名 Prompt:"Look at the open scene and rename the data blocks so each name matches what it contains." Claude 还会顺便标出命名不合理的地方,例如一个叫 "rocks" 的 collection 里面其实只有碎石网格,不是真正的石头。
看懂复杂的节点设置 拿到社群分享的 .blend 文件时,可以让 Claude 分析 Geometry Nodes modifier。Prompt:"Walk through the Geometry Nodes modifier on the active object" + "Explain what each node group does in the order data flows through them"——解释内容会存成文件里的 frame label。
找出依赖关系 Prompt:"List everything in this file that uses the 'Glass_Tinted' material, including objects, node groups, and Geometry Nodes setups. Tell me what would break if I removed it."
找出场景里最重的物件 用于优化,Claude 会分析多边形数跟它在画面上实际占多大比例的关系。Prompt:"For each mesh in the scene, report its polygon count alongside how large it appears in the active camera's final render."
常见问题
| 问题 | 回答 |
|---|---|
| 网页版 claude.ai 能用这个 connector 吗? | 不行。Connector 需要 Blender 跟 Claude 跑在同一台机器上,所以只能用 Claude 桌面版 |
| Claude 会直接改我的 .blend 文件吗? | Claude 是透过 Blender 的 Python API 操作已打开的场景,改动先套用在你当前的 session 里,等你在 Blender 里存档才会真正写进磁盘 |
| 需要会 Python 吗? | 不需要。你描述想要什么,Claude 会自己写 Python 并执行;想审阅或学习的话,也可以要求先看代码 |
Sources
官方文档:
- Using the Blender Connector in Claude — https://academy.claude.com/tutorials/using-the-blender-connector-in-claude