Skip to content
レイン | SaaS作るエンジニア· @ranespire · X·· 14 d agoFeaturedAI score81

AnyMachine open-sourced: letting Claude Code assemble movable machines part by part in Blender

Editorial summary

apekshik open-sourced the experimental AnyMachine project, which lets Claude Code generate mechanical 3D models, rigs, and animations part by part in Blender. The workflow generates three-view drawings and mechanism close-ups from concept art, performs part modeling and render comparisons, and applies secondary corrections. In the Stilt example, a single concept image generated 160 parts, 14 hydraulic actuators, and 104 bones, and produced stilt.blend and stilt.glb.

Why it matters

AnyMachine demonstrates a complete workflow from concept art through part modeling, rigging, animation, and self-checking, with reproducible scripts and details of the resulting artifacts.

Back to English edition
Original text

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.com/apekshik/status/2123139…

Quoted postapek@apekshik

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.

github.com/apekshik/anymachine

View quoted post on X

Source: レイン | SaaS作るエンジニア · x.com

Story updates · 1

View full story