To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 6916
6915  |  6917
Subject: 
Re: Case of part filenames?
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 19 Feb 2002 15:40:04 GMT
Viewed: 
404 times
  
In lugnet.cad.dev, Tony Hafner wrote:

What's the story with upper vs. lower case in part filenames?  In my brief
survey of my parts directory, it looks like all the files use all upper case
where they use letters (".DAT" and the "P" for patterned elements).
Additionally, many parts contain the filename as the second line in the
file.  These appear to all use upper case.

But... I just submitted a part to ldraw's Parts Tracker.  The tracker
complained about the case usage, telling me the part should use all lower case.

What's the scoop?  Did it used to not matter, but we're now trying to move
over to strict lower case?

You got it.  It didn't use to matter, but now we're trying to move to
lower case.  Mostly.

It didn't use to matter -- DOS's file system is 'case-insensitive'.  But
DOS always stores & returns filenames as all-caps, so most filenames
were considered to be all caps.

But within part files, it's always been somewhat customary to use
lowercase for filenames -- in fact, LEdit has a limitation that it only
recognizes stud-file references if they are lowercase.  So parts that
have studs coded as STUD.DAT don't get the benefit of LEdit substituting
a line (studline.dat) for the actual studs.

When LDraw spread to other OSes, there were a few problems with
case-sensitive file systems, since there wasn't a 'standard' for the
case of filenames.  There was some discussion, and it was more-or-less
agreed that the 'most-official' versions of the part file names would be
lower case.

We'll never be totally rid of upper-case names, as long as we're
distributing the parts with the DOS-based ARJ self-extracting
executables.  But for the master data on the ldraw.org server, all new
submissions should be lowercase.

I'm slowly 'enhancing' the Submit function on the PT, to more carefully
enforce the various file standards.  I add new checks as I have time.

Steve



Message has 1 Reply:
  File Check utility (was: Case of part filenames?)
 
(...) Thanks! Now I know. One related thing- is there any way that you could add the new checks to the "File Check" utility as well? I had a number of parts that I had scanned with that tool and they came up OK. Then the submission form refused the (...) (23 years ago, 19-Feb-02, to lugnet.cad.dev)

Message is in Reply To:
  Case of part filenames?
 
What's the story with upper vs. lower case in part filenames? In my brief survey of my parts directory, it looks like all the files use all upper case where they use letters (".DAT" and the "P" for patterned elements). Additionally, many parts (...) (23 years ago, 19-Feb-02, to lugnet.cad.dev)

5 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