DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to review a sample LEGO model with previews and BOMs with Ldraw Nova

Run the bridge example through review and get PNG previews, a validation report and parts lists.

Short answer: Install Python 3.12 or newer, Poppler and LeoCAD, and get an LDraw parts library on disk; then set the library path with export LDRAW_DIR=/path/to/ldraw; run ./setup.sh from the repository root. All steps.

Who it is forA LEGO hobbyist or developer who wants to see what the Ldraw Nova review pipeline produces before using it on their own designs.

The problemSetting up an LDraw-based model pipeline is hard to judge without seeing a working example.

The outcomeA review folder with previews, the model, a validation report, a Python BOM, a LeoCAD BOM comparison and a manifest.

What you need first

  • Python 3.12 or newer
  • An installed LDraw parts library and the LDRAW_DIR path to it
  • Poppler (pdftotext) on PATH
  • LeoCAD on PATH
  • Git and Docker, only for the web app

Steps

  1. Install Python 3.12 or newer, Poppler and LeoCAD, and get an LDraw parts library on disk.
  2. Set the library path with export LDRAW_DIR=/path/to/ldraw.
  3. Run ./setup.sh from the repository root.
  4. Run ./ldraw-agent doctor to confirm local dependencies are found.
  5. Run ./ldraw-agent review examples/bridge.plan.json --outdir output/bridge-review.
  6. Open the PNGs in output/bridge-review/previews/ and read the validation report in the same folder.

Prompt for your agent

In the ldraw-nova repository, run ./ldraw-agent doctor, then ./ldraw-agent review examples/bridge.plan.json --outdir output/bridge-review. Report the artifacts written to output/bridge-review and summarise any warnings or skipped checks in the validation report. Verify that the Python BOM and the LeoCAD BOM comparison both exist before reporting success.

Caveat. Passing checks are evidence, not proof that a model is physically buildable, and the README says visual inspection stays required.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for anteloc/ldraw-nova and "Review a sample LEGO model with previews and BOMs"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer