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

How to export an LDraw model to GLB for Blender with Ldraw Nova

Convert an MPD model to a GLB file with the local CLI so it can be opened in Blender.

Short answer: Complete the local setup with ./setup.sh and confirm the converter is installed as mpd2glb.sh; then choose an existing MPD file, such as one written by the build step; run ./prepare-glb.sh --file MODEL.mpd MODEL.glb with your file names. All steps.

Who it is forA 3D artist or LEGO fan who wants to bring an Ldraw Nova model into Blender for lighting, camera work or rendering.

The problemLDraw MPD files are not directly usable in Blender, and manual conversion is slow.

The outcomeA GLB file of the model, while the editable MPD stays the authoritative source.

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. Complete the local setup with ./setup.sh and confirm the converter is installed as mpd2glb.sh.
  2. Choose an existing MPD file, such as one written by the build step.
  3. Run ./prepare-glb.sh --file MODEL.mpd MODEL.glb with your file names.
  4. Import the resulting GLB file into Blender.
  5. Make any model edits in the MPD and export again, rather than editing the GLB.

Prompt for your agent

In the ldraw-nova repository, run ./prepare-glb.sh --file <model>.mpd <model>.glb to create a GLB for Blender. Report the GLB path and file size. Verify that the GLB file exists and that the source MPD was not changed.

Caveat. The README describes this export as using the installed mpd2glb.sh converter, so it will fail until that converter is installed and on the expected path.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for anteloc/ldraw-nova and "Export an LDraw model to GLB for Blender"

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