AnyMachine 开源:让 Claude Code 在 Blender 中按部件组装可动机械
apekshik 开源实验性项目 AnyMachine,让 Claude Code 在 Blender 中按部件生成机械的3D模型、绑定和动画。流程会从概念图生成三视图与机构特写,进行部件建模、渲染对照和二次修正;示例 Stilt 由单张概念图生成160个部件、14个液压执行器和104根骨骼,并输出 stilt.blend 与 stilt.glb。
AnyMachine展示了从概念图到部件建模、绑定、动画和自检的完整流程,并给出可复现的脚本与产物细节。
apekshik发布了实验性开源项目 AnyMachine,让 Claude Code 按零部件组装可在 Blender 中运行的机械
Claude Fable 5.2 和 Astra 6.2 为 Blender 5.0 和 5.2 编写 Python 脚本,并汇总了组装 3D 模型、绑定和动画的说明文档 PIPELINE.md 及示例脚本集
不同于传统 Image-to-3D 特有的破损网格,它会先根据概念图制作三视图和各机构的放大图,然后进行零部件级建模、绑定和自我验证
流程包括与参考图并排渲染,并在第二遍中重做粗糙部分
代表性示例 Stilt 从一张概念图出发,通过一个脚本 stilt/build_stilt.py 组装出高度 30m、160 个零部件、与所有关节联动的 14 个液压执行器以及 104 根骨骼
它包含 walk、reach 和 head turn 三种动画,输出 stilt.blend 和 stilt.glb,包括纹理烘焙在内约 80 秒完成
此外,它还以零部件为单位制作了 31,477 个三角形、3 套纹理的直升机和救生艇,以及 12 种挖掘机设备等
在生成网格的绑定中,将各关节制作为可通过 0〜1 参数驱动的 glTF 动作,并对三角形的重叠进行机械化全范围扫描验证:笔记本电脑盖子的开合范围为 0〜135 度,重叠为 0、最小间隙为 0.32mm,四足行走时足部滑移为 0.014mm
介绍 AnyMachine:一个让你的智能体在 Blender 中完整建模、绑定和制作机器动画的系统。
这段视频中的一切都是通过 Claude Fable 5.2 以这种方式制作的:一架直升机、一艘救生艇、一台 30 米高的高跷行走机器人,甚至还有一台小巧可爱的搬运机器人。
该工作流会引导智能体先为整台机器生成参考图,以及每个关节和机构的特写图。然后选择一条路线。如果使用 fable 5.2(或 astra 6.2),它会在 Blender 中逐个部件进行硬表面建模;或者从生成的网格开始,在真实轴线上重建活动部件。
它会将作品与参考图并排渲染,并在不足之处进行第二轮处理。它会密切关注机器的尺寸和复杂程度,并据此在必要时使用 fal image and video models 生成特写图和视频。
原文
Introducing AnyMachine: a system that lets your agents fully model, rig and animate machines in Blender.
Everything in this video was made that way with Claude Fable 5.2: a helicopter, a lifeboat, a 30 m stilt walker robot and even a small cute porter robot.
The workflow guiedes the agent to first generate reference sheets for the whole machine and close-ups of every joint and mechanism. It then picks a route. Either it hard-surface models it part by part in Blender if you use fable 5.2 (or astra 6.2), or start from a generated mesh and rebuild the moving parts on real axes.
It renders its work beside the references and does a second pass where it fell short. It pays close attention to the size and complexity of your machine and depending on that generates close ups and videos whenever necessary using fal image and video models.
来源:レイン | SaaS作るエンジニア · x.com