AnyMachine 开源:让 Claude Code 在 Blender 中按部件组装可动机械
apekshik 开源实验性项目 AnyMachine,让 Claude Code 在 Blender 中按部件生成机械的3D模型、绑定和动画。流程会从概念图生成三视图与机构特写,进行部件建模、渲染对照和二次修正;示例 Stilt 由单张概念图生成160个部件、14个液压执行器和104根骨骼,并输出 stilt.blend 与 stilt.glb。
AnyMachine展示了从概念图到部件建模、绑定、动画和自检的完整流程,并给出可复现的脚本与产物细节。
apekshikがBlenderで動く機械をClaude Codeに部品単位で組ませる実験的OSS AnyMachine を公開した
Claude Fable 5.2やAstra 6.2がBlender 5.0や5.2向けのPythonスクリプトを書き、3Dモデルとリグ、アニメーションを組み立てる手順書PIPELINE.mdと作例スクリプト群をまとめている
従来のImage-to-3D特有の破綻したメッシュではなく、コンセプト画から三面図と各機構の拡大図を作ったうえで部品単位のモデリング、リギング、自己検証まで行う
参照画像と並べてレンダリングし、粗い箇所を2パス目で作り直す流れになっている
代表作例のStiltは1枚のコンセプト画から高さ30m、160パーツ、全関節に連動する14本の油圧アクチュエータ、104本のボーンを1本のスクリプト stilt/build_stilt.py で組む
walkとreach、head turnの3種類のアニメーションを含めてstilt.blendとstilt.glbを出力し、テクスチャベイク込みで約80秒で終わる
ほかにも31,477トライアングルで3テクスチャセットのヘリコプターや救命艇、掘削リグ機材12種などを部品単位でモデリングしている
生成メッシュのリグ化では各関節を0〜1のパラメータで動かせるglTFアクションにし、ノートPCの蓋0〜135度で重複0・最小クリアランス0.32mm、4足歩行で足滑り0.014mmと、三角形の重なりを機械的に全スイープ検証する
在 X 查看被引用的帖子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