LDraw Mecha
LDraw Mecha is an agentic toolset that reads specially annotated LDraw LEGO model .mpd source files, infers the model structure in terms of submodels, selects the ones that are mechanisms, plans animations, and executes them in Blender, producing a rigged and animated version of the model as a Blender (.blend) file.
What it addresses
Community interest in seeing not only AI-generated LEGO models but also AI-animated LEGO ones.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
LDraw Mecha
LDraw Mecha is an agentic toolset that reads specially annotated LDraw LEGO model .mpd source files, infers the model structure in terms of submodels, selects the ones that are mechanisms, plans animations, and executes them in Blender, producing a rigged and animated version of the model as a Blender (.blend) file.
Problem: Community interest in seeing not only AI-generated LEGO models but also AI-animated LEGO ones.
Posted by @antelocnova · Original source ↗
Story title · @antelocnova · · Source ↗
Show HN: Agents infer Lego mechanisms from sources, then animate them
Source text · @antelocnova · · Source ↗
This new project I'm presenting, LDraw Mecha, is the end result and proof that can be done:
Source text · @antelocnova · · Source ↗
- Read specially annotated LDraw LEGO models .mpd source files - Infer the model structure in terms of submodels - Select from those the ones that are mechanisms - Plan animations - Execute them in Blender
Source text · @antelocnova · · Source ↗
In summary, from an initial .mpd source file, get a rigged and animated version for the model as a Blender (.blend) file.
Source text · @antelocnova · · Source ↗
I took a look at results from past experiments, and found it feasible to use agentic LLMs for:
Source text · @antelocnova · · Source ↗
- analyzing the LDraw source code for LEGO models
Source text · @antelocnova · · Source ↗
animate them via Blender!
Source text · @antelocnova · · Source ↗
From the comments, I got the impression that there was quite an interest in seeing not only AI-generated LEGO models, but also AI-animated LEGO ones.
Submitted URL · @antelocnova · · Source ↗
https://github.com/anteloc/ldraw-mecha/tree/v0.5.0
Source text · @antelocnova · · Source ↗
- Gallery: https://github.com/anteloc/ldraw-mecha/blob/v0.5.0/GALLERY.md
Source text · @antelocnova · · Source ↗
- Process: https://github.com/anteloc/ldraw-mecha/blob/v0.5.0/PROCESS.md
Source text · @antelocnova · · Source ↗
Video for Mecha below, it was not there when you posted: https://youtu.be/P4aKXKNOBig