Subject:
|
Re: Question for the LSC. Blanks in file names legal?
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Tue, 5 Apr 2005 15:18:49 GMT
|
Viewed:
|
1111 times
|
| |
| |
In lugnet.cad, Steve Bliss wrote:
|
How about this for a File Naming section to be added to the file spec?
|
See below. Ive rearranged the order of the bullets to fit my comments.
|
(the following text is formatted for FTX display; it will be reformatted for
HTML display when it is added to the LDraw.org File Format document)
File Names in LDraw
The LDraw language was originally developed for use with DOS 8.3 file names.
This is generally the most restrictive file naming standard, so continuing to
follow it will result in the greatest portability across computer platforms.
However, most LDraw tools allow greater flexibility in naming model files.
In general, the following restrictions apply to LDraw files:
- No space characters allowed in file names. This restriction is required for any file that will be referenced by another LDraw file. The LDraw language does not support space characters embedded in file names.
|
Change to no whitespace characters, this way we exclude tabs, etc.
|
- Long file names are generally allowed.
|
How about:
Long file names are allowed. File names may be restricted to 8.3 format at the
program developers option.
|
- File names should be considered case-insensitive.
- Backslash (\) is used as the delimiter in path names.
|
These are good.
|
- No space characters in directory names. This varies between tools, but is generally a good rule to follow.
- Files in the LDraw.org Modeling Library must follow the DOS 8.3 naming standard, along with a number of other restrictions. See the FAQ for Part Numbers, in the PT Reference pages.
|
Im not sure these belong in the file spec. Maybe in a file name FAQ or the
Official Library standards document (which Ive been working on spratically)?
|
- Standard model files should use the LDR extension. LDR is for LDraw file.
- Files in the LDraw.org Modeling Library use DAT extension. DAT is a generic file extension (standing for Data), and is been used for LDraw files since the beginning of LDraw-history.
- Compound files use an extension of MPD, for Multi-Part DAT. See the MPD Language Extension.
|
This is already in the proposed spec (1.0.0) in a more general form.
Speaking of the 1.0.0, Ive been trying to move forward with ratifing it as the
new official spec for 2 years now. Maybe now is the time to do so?
-Orion
|
|
Message has 1 Reply:
Message is in Reply To:
| | Re: Question for the LSC. Blanks in file names legal?
|
| How about this for a File Naming section to be added to the file spec? (the following text is formatted for FTX display; it will be reformatted for HTML display when it is added to the LDraw.org File Format document) File Names in LDraw The LDraw (...) (20 years ago, 5-Apr-05, to lugnet.cad, FTX)
|
14 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|