https://wiki.ldraw.org/index.php?title=LDraw_Files_Requirements&feed=atom&action=historyLDraw Files Requirements - Revision history2024-03-28T11:46:47ZRevision history for this page on the wikiMediaWiki 1.40.0https://wiki.ldraw.org/index.php?title=LDraw_Files_Requirements&diff=5043&oldid=prevSteffen: Steffen moved page LDraw technical restrictions to LDraw Files Requirements2018-04-02T12:44:34Z<p>Steffen moved page <a href="/wiki/LDraw_technical_restrictions" class="mw-redirect" title="LDraw technical restrictions">LDraw technical restrictions</a> to <a href="/wiki/LDraw_Files_Requirements" title="LDraw Files Requirements">LDraw Files Requirements</a></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:44, 2 April 2018</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Steffenhttps://wiki.ldraw.org/index.php?title=LDraw_Files_Requirements&diff=5040&oldid=prevSteffen at 12:42, 2 April 20182018-04-02T12:42:53Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:42, 2 April 2018</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l79">Line 79:</td>
<td colspan="2" class="diff-lineno">Line 79:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>All lines are to be terminated with a <nowiki><CR><LF></nowiki>-sequence, i.e. the DOS line ending. The last two bytes of part files are to be the DOS line ending as well.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>All lines are to be terminated with a <nowiki><CR><LF></nowiki>-sequence, i.e. the DOS line ending. The last two bytes of part files are to be the DOS line ending as well.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Category:LDraw<del style="font-weight: bold; text-decoration: none;">.org</del>]]</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Category:LDraw <ins style="font-weight: bold; text-decoration: none;">Files Syntax</ins>]]</div></td></tr>
</table>Steffenhttps://wiki.ldraw.org/index.php?title=LDraw_Files_Requirements&diff=3039&oldid=prevLar: /* Header specifications */ "of" is not grammatically correct in US-UK usage.2010-04-12T03:57:56Z<p><span dir="auto"><span class="autocomment">Header specifications: </span> "of" is not grammatically correct in US-UK usage.</span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 03:57, 12 April 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l74">Line 74:</td>
<td colspan="2" class="diff-lineno">Line 74:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Header specifications===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Header specifications===</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The header is these days formalized and should be formatted in new parts. While not typically enforced by hold votes on the parts tracker, it is polite and <del style="font-weight: bold; text-decoration: none;">of </del>good practice to format the header when submitting parts to cut down the work the tracker administrator needs to do. The [[DATHeader]] tool was made for automatic header formatting in the first place and does this job well.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The header is these days formalized and should be formatted in new parts. While not typically enforced by hold votes on the parts tracker, it is polite<ins style="font-weight: bold; text-decoration: none;">, </ins>and <ins style="font-weight: bold; text-decoration: none;">a </ins>good practice<ins style="font-weight: bold; text-decoration: none;">, </ins>to format the header when submitting parts to cut down the work the tracker administrator needs to do. The [[DATHeader]] tool was made for automatic header formatting in the first place and does this job well.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Line termination===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Line termination===</div></td></tr>
</table>Larhttps://wiki.ldraw.org/index.php?title=LDraw_Files_Requirements&diff=3036&oldid=prevArezey at 18:47, 11 April 20102010-04-11T18:47:26Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:47, 11 April 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Parts made for the [[LDraw]] parts library are bound to certain '''technical restrictions'''. These restrictions may confuse new part authors and thus they are listed here, along with the methods of <del style="font-weight: bold; text-decoration: none;">taking care of </del>them. Taking care of these restrictions will also give more probability for fast certification at the [[Parts Tracker|parts tracker]].</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Parts made for the [[LDraw]] parts library are bound to certain '''technical restrictions'''. These restrictions may confuse new part authors and thus they are listed here, along with the methods of <ins style="font-weight: bold; text-decoration: none;">fixing </ins>them. Taking care of these restrictions will also give more probability for fast certification at the [[Parts Tracker|parts tracker]].</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>These issues are checked for and typically corrected by the [[DATHeader]] tool.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>These issues are checked for and typically corrected by the [[DATHeader]] tool.</div></td></tr>
</table>Arezeyhttps://wiki.ldraw.org/index.php?title=LDraw_Files_Requirements&diff=3035&oldid=prevArezey at 18:47, 11 April 20102010-04-11T18:47:00Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:47, 11 April 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Parts made for the [[LDraw]] parts library are bound to certain '''technical restrictions'''. These restrictions may confuse <del style="font-weight: bold; text-decoration: none;">newbie </del>part authors and thus they are listed here, along with the methods of taking care of them. Taking care of these restrictions will also give more probability for fast certification at the [[Parts Tracker|parts tracker]].</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Parts made for the [[LDraw]] parts library are bound to certain '''technical restrictions'''. These restrictions may confuse <ins style="font-weight: bold; text-decoration: none;">new </ins>part authors and thus they are listed here, along with the methods of taking care of them. Taking care of these restrictions will also give more probability for fast certification at the [[Parts Tracker|parts tracker]].</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>These issues are checked for and typically corrected by the [[DATHeader]] tool.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>These issues are checked for and typically corrected by the [[DATHeader]] tool.</div></td></tr>
</table>Arezeyhttps://wiki.ldraw.org/index.php?title=LDraw_Files_Requirements&diff=3032&oldid=prevArezey: LDraw Technical restrictions moved to LDraw technical restrictions: lowercase t2010-04-11T18:45:49Z<p><a href="/wiki/LDraw_Technical_restrictions" class="mw-redirect" title="LDraw Technical restrictions">LDraw Technical restrictions</a> moved to <a href="/wiki/LDraw_technical_restrictions" class="mw-redirect" title="LDraw technical restrictions">LDraw technical restrictions</a>: lowercase t</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:45, 11 April 2010</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Arezeyhttps://wiki.ldraw.org/index.php?title=LDraw_Files_Requirements&diff=3031&oldid=prevArezey: /* Header specifications */ maybe like this?2010-04-11T18:44:24Z<p><span dir="auto"><span class="autocomment">Header specifications: </span> maybe like this?</span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:44, 11 April 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l74">Line 74:</td>
<td colspan="2" class="diff-lineno">Line 74:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Header specifications===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Header specifications===</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The header is these days formalized and should be formatted in new parts. While not typically enforced by hold votes on the parts tracker, it is polite<del style="font-weight: bold; text-decoration: none;">, </del>and <del style="font-weight: bold; text-decoration: none;">a </del>good practice<del style="font-weight: bold; text-decoration: none;">, </del>to format the header when submitting parts to cut down the work the tracker administrator needs to do. The [[DATHeader]] tool was made for automatic header formatting in the first place and does this job well.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The header is these days formalized and should be formatted in new parts. While not typically enforced by hold votes on the parts tracker, it is polite and <ins style="font-weight: bold; text-decoration: none;">of </ins>good practice to format the header when submitting parts to cut down the work the tracker administrator needs to do. The [[DATHeader]] tool was made for automatic header formatting in the first place and does this job well.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Line termination===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Line termination===</div></td></tr>
</table>Arezeyhttps://wiki.ldraw.org/index.php?title=LDraw_Files_Requirements&diff=3030&oldid=prevLar: /* Header specifications */ slight reword2010-04-09T22:47:57Z<p><span dir="auto"><span class="autocomment">Header specifications: </span> slight reword</span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 22:47, 9 April 2010</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l74">Line 74:</td>
<td colspan="2" class="diff-lineno">Line 74:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Header specifications===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Header specifications===</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The header is these days formalized and should be formatted in new parts. While not typically enforced by hold votes on the parts tracker, it is <del style="font-weight: bold; text-decoration: none;">of </del>good <del style="font-weight: bold; text-decoration: none;">manner </del>to format the header when submitting parts to cut down the work the tracker administrator needs to do. The [[DATHeader]] tool was made for automatic header formatting in the first place and does this job well.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The header is these days formalized and should be formatted in new parts. While not typically enforced by hold votes on the parts tracker, it is <ins style="font-weight: bold; text-decoration: none;">polite, and a </ins>good <ins style="font-weight: bold; text-decoration: none;">practice, </ins>to format the header when submitting parts to cut down the work the tracker administrator needs to do. The [[DATHeader]] tool was made for automatic header formatting in the first place and does this job well.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Line termination===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>===Line termination===</div></td></tr>
</table>Larhttps://wiki.ldraw.org/index.php?title=LDraw_Files_Requirements&diff=3028&oldid=prevLar: Technical restrictions moved to LDraw Technical restrictions: disambiguate a good article2010-04-09T22:46:41Z<p><a href="/wiki/Technical_restrictions" class="mw-redirect" title="Technical restrictions">Technical restrictions</a> moved to <a href="/wiki/LDraw_Technical_restrictions" class="mw-redirect" title="LDraw Technical restrictions">LDraw Technical restrictions</a>: disambiguate a good article</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 22:46, 9 April 2010</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Larhttps://wiki.ldraw.org/index.php?title=LDraw_Files_Requirements&diff=3017&oldid=prevArezey at 14:11, 9 April 20102010-04-09T14:11:20Z<p></p>
<p><b>New page</b></p><div>Parts made for the [[LDraw]] parts library are bound to certain '''technical restrictions'''. These restrictions may confuse newbie part authors and thus they are listed here, along with the methods of taking care of them. Taking care of these restrictions will also give more probability for fast certification at the [[Parts Tracker|parts tracker]].<br />
<br />
These issues are checked for and typically corrected by the [[DATHeader]] tool.<br />
<br />
==Issue types==<br />
===Filename and title length===<br />
Filenames of parts are to be no longer than twenty-five characters, including the .dat-extension. This restriction was eight characters plus the .dat-extension (DOS filename length), but was recently extended. Titles of parts are to be no longer than sixty-four characters in length.<br />
<br />
[[Image:ComplexityExample.png|thumb|right|Example of complexity. The quadrilateral on the left is simple as it is meant to be. The one on the right is complex as it intersects itself.]]<br />
===Complex quadrilaterals===<br />
'''Complexity''' means that the internal facet lines of quadrilaterals intersect themselves. They are also nicknamed as "'''bowtie quadrilaterals'''" on the parts tracker. They are corrected by changing the order of the vertices, making it simple again. Complexity is not an issue for triangles as they, having only three vertices, are unable to intersect themselves.<br />
<br />
[[Image:ConcavityExample.png|thumb|left|Example of concavity. The quadrilateral on the left is clearly concave. The right shape is the same quadrilateral split into two triangles.]]<br />
===Concavity===<br />
'''Concavity''' means that an internal angle of a quadrilateral is greater than 179.9 degrees or smaller than 0.025 degrees, as taken from the official specifications. The fix for concavity is to split them into two triangles. Triangles, having only three vertices, are always convex.<br />
<br />
===Non-co-planarity===<br />
'''Non-co-planarity''' means that all vertices of a quadrilateral do not reside in the same plane. Quadrilaterals like this, that have one point outside the plane, are also nicknamed as "'''warped quads'''" on the parts tracker. These quadrilaterals are typically present in curved shapes. Non-co-planar quadrilaterals are tolerated up to three degrees, with one degree limit being "ideal", especially for large quadrilaterals. The fix to these quadrilaterals is to split them into two triangles. Triangles, having only three vertices, are always co-planar.<br />
<br />
===Collinearity===<br />
[[Image:CollinearityExample.png|thumb|right|Example of collinearity. The polygon shown is actually a quadrilateral with three vertices residing in a straight line.]]<br />
'''Collinearity''' means that three or more vertices of a polygon reside in the same straight line. Polygons like this are also nicknamed as "'''degenerated''' or '''deformed polygons'''" on the parts tracker.<br />
<br />
These are dealt with case-by-case basis. Collinear triangles, being only lines, are typically deleted, while quadrilaterals are either turned into triangles by deleting the middle vertex within the line (if three within same line) or deleting it entirely (if all four). '''However''', needle polygons like this can be troublesome as their lengthy facet lines might warp a little bit after reforming, causing gaps, so care should be taken when correcting these.<br />
<br />
===Duplicates===<br />
Two or more copies of the same, '''identical''' polygon or subfile may not exist within the file. They are typically easy to fix by just deleting the duplicate in question.<br />
<br />
===Overlapping and intersecting===<br />
The exact rules for '''overlapping''' may be confusing. According to the official specifications:<br />
<pre>All or part of a line (line type 2) may not overlap all or part of any other line (line type 2). <br />
<br />
All or part of a conditional line (line type 5) may not overlap all or part of any other conditional line (line type 5). <br />
<br />
Part (but not all) of a conditional line (line type 5) may overlap all (but not part) of a line (line type 2).<br />
Consider the line A-B-C-D<br />
If AB and CD need to be conditional lines and BC a line, it is acceptable to define this as a line BC and a single<br />
conditional line AD<br />
If AC needs to be a line and just CD needs to be a conditional line, it is not acceptable to define the conditional<br />
line as either AD or BD <br />
If AD is a line, there are no valid conditional lines along the length of AD <br />
<br />
Lines (line type 2 or 5) may intersect any other line (line type 2 or 5). <br />
<br />
Every effort must be made to remove overlapping co-planar polygons (line type 3 or 4). Where overlapping polygons are<br />
unavoidable, the overlap must be kept to the absolute minimum. <br />
<br />
Every effort must be made to remove intersecting (non co-planar) polygons (line type 3 or 4). Where intersecting<br />
polygons are unavoidable, the intersection(s) must be kept to the absolute minimum. <br />
<br />
Note: Primitives that overlap/intersect other primitives or polygons (line type 3 or 4), provided that the overlap<br />
is small, are considered acceptable. The intention is not to force part authors to in-line primitives. However, there<br />
may be some cases where it is better to use (say) a 3-8cyli and a quad than a 1-2cyli; case-by-case decisions are left<br />
to the parts review process.</pre><br />
<br />
However, these rules are often flouted in the interests of saving disk space and for convenience of the part authors. Polygons and primitives typically bleed into the interiors of parts as the interiors are not seen by the end user. However, polygons of different colours may not overlap each other and every effort should be taken to remove overlaps and bleed-ins when the part in question is sold by LEGO in transparent colours.<br />
<br />
===Matrix rule===<br />
Matrices of subpart references may not contain rows or columns all zero. Say, an edge circle of:<br />
<pre>1 16 0 0 0 1 0 0 0 1 0 0 0 1</pre><br />
is considered valid, but:<br />
<pre>1 16 0 0 0 1 0 0 0 0 0 0 0 1</pre><br />
has the Y-row (middle row) all zero. Also, seen the other way, the second line has the middle column all zero (all middle numbers are zero).<br />
<br />
===Colour restrictions===<br />
Polygons may not use the edge colour #24, nor can lines use main colour #16. In the past lines using main colour were used for:<br />
*where a line is being used for fine detail within a pattern and that pattern is re-used within many parts (and hence sub-parted) in different colours (for example, sub-part s/973p11a.dat)<br />
*when a sub-part pattern leaves a narrow gap of base-part colour around the pattern (for example, see sub-part s/973p11b.dat)<br />
(as taken from official specs). However, gaps are these days not really tolerated and fine details is no longer marked with lines.<br />
<br />
All colours, except for pattern colours, must be present within [[LDConfig.ldr]]<br />
<br />
Also polygons should always be of colour 16 unless a printed pattern is in question. This is not mentioned in official specifications but is enforced on the parts tracker.<br />
<br />
===Header specifications===<br />
The header is these days formalized and should be formatted in new parts. While not typically enforced by hold votes on the parts tracker, it is of good manner to format the header when submitting parts to cut down the work the tracker administrator needs to do. The [[DATHeader]] tool was made for automatic header formatting in the first place and does this job well.<br />
<br />
===Line termination===<br />
All lines are to be terminated with a <nowiki><CR><LF></nowiki>-sequence, i.e. the DOS line ending. The last two bytes of part files are to be the DOS line ending as well.<br />
<br />
[[Category:LDraw.org]]</div>Arezey