The Workshop Sheet 13 of 22

LDraw Model Checker

Open an LDraw model and see every part it uses, with a link to each part's page, which bricks actually connect, and anything that looks wrong. Then compare two versions of a build to see what changed.

  • Private. The checker runs in your browser, so your file never leaves your device.
  • Files. LDraw .ldr and .mpd models, the format most LEGO building programs can export.
  • Connections. Worked out for plain bricks, plates and tiles. Other parts are listed and linked, but not connected yet.
  • First start. Downloads about 7 MB the first time, then works from your browser's cache.
  • Just looking? To turn a model around in 3D without starting Python, use the LDraw 3D Viewer.

What the checker looks at

  • Every part. Each line of the file becomes a part with its colour and position, and parts from submodels are counted too. Parts with a page on this site link straight to it, so you can see which sets include them. When one LDraw number covers several printed or patterned versions, every version is listed.
  • Connections. Two parts count as connected only where a stud and a socket touch and face each other, so a brick placed a little too high shows up as loose.
  • Problems. Two copies of a part in the same spot, a stretched or mirrored part, a colour left as "inherit", a line the checker cannot read, and parts it does not know yet.
  • The 3D view. Turn the model around and step through its build, drawn from LDraw's own part shapes. A part LDraw does not have shows as a plain box.
  • Old part numbers. LDraw has renamed many parts over the years. The checker follows LDraw's own renames, so older files still find their parts.

Getting the pieces

The Parts List Converter turns an LDraw model into a BrickLink wanted list or a LEGO Pick a Brick file, in your browser.

Getting an LDraw file

Most LEGO building programs can save or export a model as LDraw, usually as an .ldr file, or as an .mpd file when the model has submodels. The samples in the checker are small models you can edit to see how each change shows up.

The checker runs on Pyodide (MPL-2.0), Python (PSF License) and pydantic (MIT), loaded unmodified from jsDelivr.

The 3D view uses three.js (MIT) and draws parts from the LDraw.org Parts Library, licensed CC BY 2.0 and CC BY 4.0.

LEGO® is a trademark of the LEGO Group, which does not sponsor, authorize or endorse this site. LDraw™ is a trademark of the Estate of James Jessiman.