hn.today

Show HN: Agents infer Lego mechanisms from sources, then animate them

github.com30 points2 comments
Screenshot of Show HN: Agents infer Lego mechanisms from sources, then animate them

ldraw-mecha is a toolchain for turning existing LDraw LEGO models into Blender animations with AI agents. The project’s central claim is that an agent can infer how a model works by examining its annotated .MPD source: it identifies submodels and mechanisms, uses part descriptions to reason about their behavior, and plans how their components interact. To connect that reasoning to the 3D scene, the project preserves matching annotations on nodes in an exported GLB file. The agent can then use Python tools in Blender to build control rigs and animate the corresponding parts. The developer reports that several agents produced fairly consistent mechanism inferences, and that the end-to-end process has worked, though not perfectly.

The repository provides the tools, guides, sample assets, and setup scripts needed to run this workflow locally, including Blender, LeoCAD, an LDraw parts library, and utilities for inspecting and annotating models. Users can select pre-annotated models and follow a step-by-step process guide. Demonstrations include a Mercedes-Benz Arocs crane, a Fabuland plane, and a minifigure movement catalog; the first example was simplified to animate only the crane because the full truck was too complex. The animations use original LEGO designs rather than AI-generated models. Linux and Windows/WSL support are described as untested or in progress, and setup requires Python 3.12 or later. The project is aimed at experimenting with agent-assisted mechanical interpretation and animation, not promising reliable automation for every model.

Read on github.com2 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

Now Anthropic is blocking Russian users

Now Anthropic is blocking Russian users

Anthropic is accused of charging Russian Claude users before identity checks, then cutting off access after verification and retaining biometric data. Critics say account bans can affect linked GitHub projects and Russian citizens living abroad, and accuse the company of failing to answer public questions. (twitter.com)

The End of AI Frontiers

The End of AI Frontiers

Microsoft Research’s AI Frontiers group brought together about 50 researchers to develop agent systems and foundational AI advances. After the team joined Microsoft AI in September, its research-first approach clashed with leadership’s emphasis on scaling. (hunch.net)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.