DAT: Difference between revisions
Jump to navigation
Jump to search
m (Grammar correction) |
(Updated example with original LDraw code) |
||
Line 10: | Line 10: | ||
==Example== | ==Example== | ||
The following is an example of the contents of {{code|3001.dat}}, as of | The following is an example of the contents of {{code|3001.dat}}, as distributed with the original version of [[LDraw (program)|LDraw]]. | ||
<pre style="overflow:auto">0 Brick 2 x 4 | <pre style="overflow:auto">0 Brick 2 x 4 | ||
0 Name: 3001.dat | 0 Name: 3001.dat | ||
0 Author: James Jessiman | 0 Author: James Jessiman | ||
0 | 0 Original LDraw Part - LDraw beta 0.27 Archive | ||
0 | |||
0 | 1 16 20 4 0 1 0 0 0 -5 0 0 0 1 stud4.dat | ||
1 16 0 4 0 1 0 0 0 -5 0 0 0 1 stud4.dat | |||
1 16 -20 4 0 1 0 0 0 -5 0 0 0 1 stud4.dat | |||
0 | 1 16 0 24 0 36 0 0 0 -20 0 0 0 16 box5.dat | ||
0 | |||
0 | |||
0 | |||
0 | |||
0 | |||
4 16 40 24 20 36 24 16 -36 24 16 -40 24 20 | |||
4 16 -40 | 4 16 -40 24 20 -36 24 16 -36 24 -16 -40 24 -20 | ||
4 16 40 | 4 16 -40 24 -20 -36 24 -16 36 24 -16 40 24 -20 | ||
4 16 40 24 -20 36 24 -16 36 24 16 40 24 20 | |||
1 16 0 24 0 40 0 0 0 -24 0 0 0 20 box5.dat | |||
1 16 30 0 10 1 0 0 0 1 0 0 0 1 stud.dat | |||
1 16 10 0 10 1 0 0 0 1 0 0 0 1 stud.dat | |||
1 16 -10 0 10 1 0 0 0 1 0 0 0 1 stud.dat | |||
1 16 -30 0 10 1 0 0 0 1 0 0 0 1 stud.dat | |||
1 16 30 0 -10 1 0 0 0 1 0 0 0 1 stud.dat | |||
1 16 10 0 -10 1 0 0 0 1 0 0 0 1 stud.dat | |||
1 16 -10 0 -10 1 0 0 0 1 0 0 0 1 stud.dat | |||
1 16 -30 0 -10 1 0 0 0 1 0 0 0 1 stud.dat</pre> | |||
==External links== | ==External links== |
Revision as of 20:50, 19 January 2015
DAT file | ||||||||||
| ||||||||||
File format infobox |
DAT is the de facto file format used for LDraw parts. It was previously used for both parts and models, but models are now normally stored as LDR files instead, although they are both structured in the same way.
Example
The following is an example of the contents of 3001.dat, as distributed with the original version of LDraw.
0 Brick 2 x 4 0 Name: 3001.dat 0 Author: James Jessiman 0 Original LDraw Part - LDraw beta 0.27 Archive 1 16 20 4 0 1 0 0 0 -5 0 0 0 1 stud4.dat 1 16 0 4 0 1 0 0 0 -5 0 0 0 1 stud4.dat 1 16 -20 4 0 1 0 0 0 -5 0 0 0 1 stud4.dat 1 16 0 24 0 36 0 0 0 -20 0 0 0 16 box5.dat 4 16 40 24 20 36 24 16 -36 24 16 -40 24 20 4 16 -40 24 20 -36 24 16 -36 24 -16 -40 24 -20 4 16 -40 24 -20 -36 24 -16 36 24 -16 40 24 -20 4 16 40 24 -20 36 24 -16 36 24 16 40 24 20 1 16 0 24 0 40 0 0 0 -24 0 0 0 20 box5.dat 1 16 30 0 10 1 0 0 0 1 0 0 0 1 stud.dat 1 16 10 0 10 1 0 0 0 1 0 0 0 1 stud.dat 1 16 -10 0 10 1 0 0 0 1 0 0 0 1 stud.dat 1 16 -30 0 10 1 0 0 0 1 0 0 0 1 stud.dat 1 16 30 0 -10 1 0 0 0 1 0 0 0 1 stud.dat 1 16 10 0 -10 1 0 0 0 1 0 0 0 1 stud.dat 1 16 -10 0 -10 1 0 0 0 1 0 0 0 1 stud.dat 1 16 -30 0 -10 1 0 0 0 1 0 0 0 1 stud.dat
External links
- File Format 1.0.2 on LDraw.org
Stub | |
This article is a stub. You can help the LDraw.org Wiki Wiki by expanding it. |