Subject:
|
Re: Getting rif off the 8.3 nomenclature???
|
Newsgroups:
|
lugnet.cad.dat.parts
|
Date:
|
Mon, 2 Apr 2007 21:14:30 GMT
|
Viewed:
|
5291 times
|
| |
| |
In lugnet.cad.dat.parts, Allen Smith wrote:
|
|
Sorry for posting to my own post. In particular if the longer file names
cannot have blanks in the names, then there is no problem for LPub or
LSynth. 20.3 would require no changes at to LPub or LSynth.
Given that sscanf splits things up by whitespace, I think LPub and LSynth
would misparse file names with blanks or tabs in them.
|
I very strongly support allowing the inclusion of whitespace in LDraw
filenames, provided the first character is not whitespace. Bricksmith has
always allowed users to do this. When parsing a line, I get all the matrix
numbers, skip all whitespace after them, and then dump any remaining
characters into the part name.
I also think clinging to the obsolete DOS naming scheme is a
hinderance to readability, so I would be happy to see it abandoned.
Ultimately I dont really care what standards are decreed in the Part Library
name conventions per se. But since a part reference can point to something in
the library, elsewhere on disk, or to an MPD submodel, part library naming
restrictions could bleed into many other areas where they are highly
unwelcome. For instance, I consider it absolutely vital to be able to create
MPD submodel names that I can read, and that means long names and spaces.
|
You should also consider stripping trailing whitespace from the end
of the filename. I believe MLCad and most of the other programs do
this.
Whitespace in filenames has been supported by many Ldraw programs for
quite a while, but it does not belong in the part library. Heres one
good reason why. Itll break screen scraping peeron inventories. You
need the whitespace delimiters for this to work because the filenames
are not at the ends of the lines.
Enjoy,
Don
|
|
Message has 1 Reply: | | Re: Getting rif off the 8.3 nomenclature???
|
| (...) I just don't want people confusing naming conventions in the part library with naming conventions in Linetype 1 part references. I was mostly replying to Kevin saying his applications choke on spaces in part references, which is something I'd (...) (18 years ago, 4-Apr-07, to lugnet.cad.dat.parts, FTX)
|
Message is in Reply To:
| | Re: Getting rif off the 8.3 nomenclature???
|
| (...) I very strongly support allowing the inclusion of whitespace in LDraw filenames, provided the first character is not whitespace. Bricksmith has always allowed users to do this. When parsing a line, I get all the matrix numbers, skip all (...) (18 years ago, 2-Apr-07, to lugnet.cad.dat.parts, FTX)
|
25 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
|
|
|
|