|
|
|
|
FAQ for LDraw file types Everything you wanted to know about the different kinds of files in the LDraw Parts Library What's with 'file types'? Aren't they all just DAT files? What are the different file types?
How are the different classes of Parts identified?
What are subparts, when should they be used, and how are they numbered?
1 <colour> 0 0 0 x 0 0 0 y 0 0 0 z s\nnnnSnn
Example: the minifig torso, see 973.dat and s\973s01.dat. The plain (non-decorated) regions of the part are created as a subpart, which is referenced (with a type 1 line) by the main part file and each of the decorated part files. The subpart would be named by appending S01 to the main part file name. Example: some of the wheels, such as 2593.DAT. As a way of reducing the size of the part files, the repeated region is created as a subpart and referenced several times by the main part file. Multiple subparts may be utilised if needed. Such subparts are typically numbered by appending Snn to the main part file name. Example: the Wolfpack flag 2335P44.DAT and shield 3846P44.DAT . Such subparts are also numbered by uniquely modifying the patterned part number, but may be referenced from more than one base part file.
Change as of January, 2005
Previously, color codes from 256 to 511 could only be used to reference subfiles.
That is, only type 1 commands could use these colors.
This meant that any part that needed colors in this range had to create a subfile
specifically for each color. This restriction no longer applies.
Feel free to use colors 256-511 (as appropriate) for any edge, polygon or subfile.
Please note: we will not be converting existing official subfiles that were created because of the color restriction. Now that they are official, they can stay right where they are. Is file size really important? |
|
© 2001-2008 LDraw.org, see Legal Info for details.
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/. The LDraw system is a completely unofficial, community run free CAD system which represents official parts produced by the LEGO company. The LDraw Parts Tracker is maintained and developed by voluntary members of the LDraw organisation. |