Home :: Login :: Forgot Password :: Search :: FAQ
Support our host

News

Software

Reference

Community

Parts Library

About Us

Category: Tutorial

The news items published under this category are as follows.

This tutorial takes for granted that:

The LDraw Parts Library + MLCad - http://www.ldraw.org/Article126.html
LEGO Digital Designer - http://ldd.lego.com/

have been installed, are running smoothly and that you are at least a little familiar with both programs. The tutorial is based on MLCad 3.20 and LDD 2.3.15.

The LDraw and LDD libraries differ in color numbers, sometimes in part numbers, the fact that LDD parts are measured in millimeters while LDraw uses LDUs - LDraw Units, but most notably in the part's origin point. While LDraw parts have their origin in the middle of the part the LDD origin is in the bottom right-hand corner.

Tutorial_LDD_LDRAWorigin Tutorial_LDD_LDDorigin

The conversion between LDraw and LDD is governed by the ldraw.xml file which contains all the information about these differences. The file can be found in the "LEGO Digital Designer/Assets" directory (where "LEGO Digital Designer" is the directory in which LDD 2 is installed). Though the current LDD ships with a version containing a good bunch of translations compiled by the LEGO Universe Team and LDraw-Users you might replaced the file with an updated version that can be found here (to download the file right-click the link and select "Save Target As...").

To install the file just go to the "LEGO Digital Designer/Assets" directory, back up the existing ldraw.xml and overwrite it with the latest version. Once this is done start or restart LDD and it will now use the updated list.

Importing a LDraw-File into the LEGO Digital Designer
 

Tutorial_LDD_Conversion1

1. Select the File menu and then the Import (Ctrl+I) tab (File > Import (Ctrl+I).

2. In the popping up dialog you first have to select Ldraw-Files (*.ldr) from the Files of type: drop-down box. Otherwise the dialog will show only its default LXF-Files (*.lxf).

3. You can now read LDraw files (but not MPD files). After hitting the Open button it should load your LDraw-Model although there are likely to be numerous mistakes due to oversensitivity of the LDD collision detection or not supported colors.

4. For the event you get this type of warning you should check the following:

  • Did you use parts not supported by LDD? The pallette of the supported LDD parts can be found at the LEGO Digital Designer homepage.
  • Contains your model parts in not supported colors? LDD's color pallette is in some ways limited by the bricks you can purchased through LEGO Factory. Therefore you can for example use a Brick 1 x 2 in all the colors below, but the LEGO Digital Designer will refuse to load an orange 1 x 2:
  • The part will not load because its translations hasn't been added to the ldraw.xml file yet or the internal LDD part number has changed. Please contact the LDraw Team if the part in question comes in the right color and is supported by both system but gives out an error. We will do our best to add the part for the next release.

Exporting a LEGO Digital Designer-file to LDraw
 

5. Select File > Export model (Ctrl+E) from the menu bar but don't forget to save your model first in LDD's own file format .lxf.

6. In the popping up dialog first select Ldraw-Files (*.ldr) from the Files of type: in the drop-down box. Additionally you might select the .lxfml file format which is a human readable version of the binary .lxf file and gives some very interesting clues about the part numbers used in LDD.

7. In the File name: drop-down box the LEGO Digital Designer proposes the name you saved the model with even after you have changed the file type. In case you don't change the file extension to .ldr - LDraw's official extension for models - the LEGO Digital Designer will ask you if you wanna substitute the already existing file and re-save your model in .lxf once you agreed to do so. It is therefore crucial that you delete the .lxf extension. Additionally you might type in the .ldr or change the file name to something completely different. After hitting the Save button will be exported to the selected folder although there are likely to be numerous mistakes.

8. Loading the file in MLCad you might get the warning above due to different part numbers in the LDD and LDraw library. Hit Yes and MLCad will upgrade your file. If there are still missing parts there are several reasons for:

  • The part used in LDD hasn't been certified yet and is therefore not part of the official library. Downloading the package containing all unofficial parts might solves the problem but be aware that those parts have to be treated with much care and should not be stored together with official LDraw parts. However there are tutorials which explain how to include these unofficial parts in programs like MLCad.
  • The part hasn't been authored as LDraw file yet. Though LDraw.org now gets parts from the LEGO Universe Team some files still need to be cleaned for the certification process at the LDraw Parts Tracker while others are still in the queue.
  • The part can be found in the official Library but it's translation is missing in the ldraw.xml file. Please contact the LDraw Team and tell them when you encounter such parts. We will do our best to add the part for the next release of the ldraw.xml. Let them also know if you find parts with wrong rotations or origin points.
Printer-friendly page
Published By Holly-Wood on Jan 27, 2008 - 12:38 PM

Title Banner
Along with creating entirely computer-generated images for the LDraw Scene of the Month contest, I create stop-motion films with LEGO bricks, sometimes called brickfilms. In the summer of 2006 I made a recreation of a scene from The Lord of the Rings: The Two Towers in which Saruman is giving a speech to a vast army of thousands of orcs below. The clip was only 27 seconds long, but it took about 2 months of work, most of it spent on a single wide shot created using the LDraw parts database and related software. For my February 2007 Scene of the Month entry, which ultimately won the contest, I decided to create an entry derived from a CGI shot used in the video. Read on and find out how to build an army.
Read full article: 'How to build an army' (6990 bytes more) Printer-friendly page
Published By Holly-Wood on Mar 07, 2007 - 02:44 PM

Rotating a group of parts in MLCad using its rotation point feature can be quite laborious: you have to enter co-ordinates, names, might deal with different points or tweak the exact position on-screen...

This tutorial will show you an alternative, more visual approach to rotate a group of parts around a common self-defined rotation point using a helper part created for the purpose. Check it out at:

http://www.holly-wood.it/mlcad/easyrotation-en.html

The tutorial is based on MLCad 3.2 and targets newbies as well as power-users.
Printer-friendly page
Published By Holly-Wood on Jun 09, 2005 - 12:53 PM




Read full article: 'Compositing 3D Models with 2D Scenes' (13947 bytes more) Printer-friendly page
Published By OrionP on Mar 29, 2004 - 05:28 AM




Read full article: 'Piston Movement' (13197 bytes more) Printer-friendly page
Published By OrionP on Feb 22, 2004 - 05:53 PM

Read full article: 'Rotation Animation Tutorial' (20195 bytes more) Printer-friendly page
Published By OrionP on Feb 19, 2004 - 02:12 AM

Read full article: 'Organize Your Tools' (1460 bytes more) Printer-friendly page
Published By OrionP on Jan 17, 2004 - 03:52 AM




Recipient 2007
Kevin Clague

Want to learn more about LDraw? Check out the following books:




Current Contest Winners

Model of the Month


Scene of the Month



Vote for Next Month's Winner

Submit Your Creation for Next Month's Contest

What's new in lugnet.cad?

Re: Blender to LDraw exporter (Blend2Dat v0.2)
by Stefan Garcia - 27 hours ago

Re: Blender to LDraw exporter (Blend2Dat v0.2)
by Philippe Hurbain - 34 hours ago

Re: Blender to LDraw exporter (Blend2Dat v0.2)
by Stefan Garcia - 2 days ago

58231.DAT Slope 33 3 x 6 is wrong type
by Lutz Uhlmann - 3 days ago


There are 54 unlogged users and 0 registered users online.

You can log-in or register for a user account here.





 


 Log in Problems?
 New User? Sign Up!

©2003-2008 LDraw.org, see Legal Info for details.
LDraw™ is a trademark owned and licensed by the Estate of James Jessiman
This website is powered by Peeron.com.

LEGO® is a registered trademark of the LEGO Group, which does not sponsor, endorse, or authorize this site. Visit the official Lego website at http://www.lego.com.
LDraw is a completely unofficial, community run free CAD system which represents official parts produced by the LEGO company.