---
name: infer-mechanisms-from-ldraw-models-and-animate
description: "Read annotated model files, identify moving parts, and produce a rigged animation. An agent reads an annotated LDraw model source file, works out its submodel structure, picks out the parts that form mechanisms, plans simple animations for those mechanisms, and runs the plan in Blender."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal, GitHub."
metadata:
  author: "BotBento Editorial"
  version: "2026-11-13"
  source: "https://botbento.com/usecases/infer-mechanisms-from-ldraw-models-and-animate/"
  kind: workflow
  hermes:
    tags: ["ldraw", "blender", "animation", "mechanisms"]
    category: coding
---
# Infer mechanisms from LDraw models and animate them in Blender

Read annotated model files, identify moving parts, and produce a rigged animation

## When to use

An agent reads an annotated LDraw model source file, works out its submodel structure, picks out the parts that form mechanisms, plans simple animations for those mechanisms, and runs the plan in Blender. The result is a rigged, animated Blender file that shows the model moving.

## Steps

1. When something happens: New annotated LDraw model file
2. Infer mechanisms and plan animation
3. Rigged animated Blender file

## Instructions

You are given an annotated LDraw .mpd file. Parse the file to list its submodels and read the annotations that describe part sequences and intended motion. Identify which submodels are mechanisms, then draft an animation plan that maps each mechanism to a simple rotation or translation. Before running Blender, show the plan for approval. When approved, execute the plan in Blender and save the resulting .blend file. Wait for my approval before deleting or overwriting any existing file.

## Source

Summarized in our own words from [Show HN: Agents infer Lego mechanisms from sources, then animate them](https://news.ycombinator.com/item?id=50397325) (Hacker News, checked 2026-11-07). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/infer-mechanisms-from-ldraw-models-and-animate/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
