Lower-casing the library
2015-09-15, 9:45 (This post was last modified: 2015-09-19, 16:29 by Nathanel Titane.)
2015-09-15, 9:45 (This post was last modified: 2015-09-19, 16:29 by Nathanel Titane.)
My attention was drawn to this topic by a post by Sylvain Sauvage on LeoCAD list:
I think we should do something to clean up this in library, and also correct article 512...
Code:
I just realized that Leocad tries to open “ldconfig.ldr”.
The problem is the file is named “LDConfig.ldr” so it’s not
found on case-sensitive filesystems (that means about every
decent FS ;o).
Not a big problem as the default color palette is up to date
but, still, worth knowing IMHO.
Code:
[quote]
I thought all files in the LDraw library were supposed to be lower case.
[/quote]
Parts files and directories are. LDConfig.ldr isn’t. (And .txt files aren’t either.)
I didn’t find any reference to case sensitivity in the LDR file format. I only found that for the Official Library
(http://www.ldraw.org/article/512.html):
“While both upper and lower case letters are permitted in filenames, filenames are case-insensitive. Currently, all
official parts are issued with upper-case only names.”
and that is contradicted by the fact that the ZIP file uses lower-case only names.
Plus, “internally,” the library isn’t consistent, .dat files refer to others as:
— low.dat
— UP.DAT
— UP.dat
— low.DAT
— and a few have MiXeD-cAsE references