ldraw-mecha
github.com
Give an LDraw LEGO model to an AI agent and get Blender animation code back after it infers the mechanisms.
- Pricing
- Open source
- Published
- Nov 7, 2026
Next steps
- klad
Both tools are listed under AI Animation Generator and AI Agent.
- Gemini Skills
Both tools are listed under AI Developer Tools and AI Agent.
- OpenComputer
Both tools are listed under AI Developer Tools and AI Agent.
- Strix
- Pi
- Daily Stock Analysis (DSA)
What it does
ldraw-mecha is an open project where an AI agent reverse-engineers mechanisms from an LDraw (.mpd) source, plans interactions between parts, and generates Blender Python to rig and animate the model. The Show HN demo and GitHub README document the agent workflow from inference to animation.
Use cases
- Animate a mechanical LDraw model without hand-writing all Blender rigs
- Study how an agent infers joints from LDraw source
- Prototype educational demos of LEGO mechanisms with AI help
Frequently asked questions
- Is it open source?
- Yes. The project is on GitHub at anteloc/ldraw-mecha.
- What input format?
- LDraw models, typically .mpd source files.
- What is the output?
- Blender Python that rigs and animates the inferred mechanisms.
- Is LEGO a trademark note?
- LEGO is a trademark of the LEGO Group; the project works with the LDraw community format.