|
|
|
Published By ahui on Sunday, September 07, 2003 - 01:44 AM
|
Using The LDraw File Model Comments
|
|
|
|
What are the LDraw file comments and why used them
|
|
Figure 1: Family Home, Creator UNKNOWN (Click on the image to enlarge)
|
This wonderful model of a family home will never be able to create the proper credit it deserves.
Can you guess why? The LDraw model ONLY provides the actual model!
There is no name of the person who created it, when it was created, or any other information
that could have been used to properly document this model.
Unless the author stumbles across this tutorial in the vastness of the internet the true owner
will never be identified. You can avoid this faith to your models by provideing comments within the model
before posting them to the world wide web.
|
|
How Do I Add Comments To My LDaw Model File
|
|
|
There are several ways of adding comments to your LDraw models. In this tutorial we will discuss the "old-fashion" way of adding comments by using a text editor.
|
| Step 1 |
Open your LDraw model file using any text editor. For our example we will use Microsoft NOTEPAD and the
blocks.ldr
model file.
|
| Step 2 |
Looking at the blocks.ldr file in a text editor will show you the following:
0 Name: Blocks.ldr
0 Author: MLCAD
0 Unoffical LEGO Model
0 ROTATION CENTER 0 0 0 1 "Custom"
0 ROTATION CONFIG 0 0
1 4 0 0 0 -1 0 0 0 1 0 0 0 -1 3001.DAT
1 1 -40 24 0 0 0 -1 0 1 0 1 0 0 3001.DAT
1 1 40 24 0 0 0 -1 0 1 0 1 0 0 3001.DAT
1 14 0 -24 0 0 0 1 0 1 0 -1 0 0 30165.DAT
0
In an LDraw model file comments are denoted by beginning a line with a "0". As you can see there are five (5) comment lines in this file.
|
| Step 3 |
Comments are subjective to each person but the "ideal LDraw" file would have the following information:
- Name of file
- Author
- e-Mail of Author or some method of contacting author
- URL (website of author or where the file can be found)
- Copyright date
- Anything else you want
So how do you add all this information? Simple, just add comment lines to your file!
|
| Step 4 |
Our new bricks-comments.ldr
file shows what our comments would look like.
0 Name: Blocks.ldr
0 Author: LDraw Help Desk
0 e-Mail: help (at)ldraw.org
0 http://www.ldraw.org/
0 Copyright 2003
0 This is a sample ldraw model
0 It shows how to add comments to a file
0 Unoffical LEGO Model
0 ROTATION CENTER 0 0 0 1 "Custom"
0 ROTATION CONFIG 0 0
1 4 0 0 0 -1 0 0 0 1 0 0 0 -1 3001.DAT
1 1 -40 24 0 0 0 -1 0 1 0 1 0 0 3001.DAT
1 1 40 24 0 0 0 -1 0 1 0 1 0 0 3001.DAT
1 14 0 -24 0 0 0 1 0 1 0 -1 0 0 30165.DAT
0
Save the file once you are done and that is all. If you are using Microsoft NOTEPAD you will need to select the "Save as Type" and choose "All Files" before saving your LDraw
file. Otherwise your model wil be renamed to <model-name>.ldr.txt
|
|
| |
|
Help Desk Tutorial: LDraw File Comments
Version 1.0
Created by Ahui Herrera, LDraw Help Desk |
|
|
|
|
 |
 |
Want to learn more about LDraw? Check out the following books:
|
|
|
|