To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 12558
12557  |  12559
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. I’ve 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 developer’s 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.

I’m not sure these belong in the file spec. Maybe in a file name FAQ or the Official Library standards document (which I’ve 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, I’ve 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:
  Re: Question for the LSC. Blanks in file names legal?
 
In lugnet.cad, Orion Pobursky wrote: <snip> (...) Is there anything that I can do to help get this ratified? (...) Kevin (20 years ago, 8-Apr-05, to lugnet.cad, FTX)

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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR