From LDraw.org Wiki
Revision as of 06:05, 18 January 2015 by Owen Burgoyne (talk | contribs) (Created page with "{{File format |name = LXF file |icon = LXF_icon.png |extension = {{code|.lxf}}<br>{{code|.lxfml}} |developer = The LEGO Group |type = Markup language |website ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
LXF file
LXF icon.png
Filename extension .lxf
Internet media type unknown
Developed by The LEGO Group
Type of format Markup language
File format infobox

LXF files are the native format used by LEGO Digital Designer. They are not compatible with the LDraw system, although models created in this format can be converted to LDR files by using LDD's "Export" function. LDR files can also be converted to LXF by using the "Import" function.

The data inside is stored as XML, although a similar positioning/matrix system is used for specifying part location/rotation.

LXF files act as containers to two other files, which are always named as follows:

  • IMAGE100.lxfml
  • IMAGE100.png

The PNG file is a thumbnail of the model, used in the list of recent models displayed at startup.


The following is an example of the LXFML data contained within an LXF file consisting of only one 3001 Brick 2 x 4 in red, positioned at "0,0,0":

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<LXFML versionMajor="5" versionMinor="0" name="3001">
    <Application name="LEGO Digital Designer" versionMajor="4" versionMinor="3"/>
    <Brand name="LDD"/>
    <BrickSet version="1564.2"/>
    <Camera refID="0" fieldOfView="80" distance="69.282035827636719" transformation="0.70710688829421997,0,-0.70710688829421997,-0.40824830532073975,0.81649661064147949,-0.40824830532073975,0.57735037803649902,0.57735013961791992,0.57735037803649902,39.999996185302734,39.999992370605469,39.999996185302734"/>
  <Bricks cameraRef="0">
    <Brick refID="0" designID="3001" itemNos="300121">
      <Part refID="0" designID="3001" materials="21">
        <Bone refID="0" transformation="1,0,0,0,1,0,0,0,1,0,0,0">
      <Rigid refID="0" transformation="1,0,0,0,1,0,0,0,1,0,0,0" boneRefs="0"/>

Stub.png Stub
This article is a stub. You can help the LDraw.org Wiki Wiki by expanding it.