LDraw file format

LDraw is file format describing LEGO models. Each file line contains one instructions. For more information see official LDraw file format specification. LDraw file is composed from '\n' separated row. Each row is one instructions which define some object:

  • Line
  • Triangle
  • Plane
  • Color definition
  • Meta information like author, license
  • Reference to another part or sub model
  • ...

Graph of object defined in LDraw file could look like this:

LDraw file format