To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.partsOpen lugnet.cad.dat.parts in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / 6123
6122  |  6124
Subject: 
Re: Getting rif off the 8.3 nomenclature???
Newsgroups: 
lugnet.cad.dat.parts
Date: 
Wed, 28 Mar 2007 15:24:51 GMT
Viewed: 
5045 times
  
In lugnet.cad.dat.parts, Don Heyse wrote:
In lugnet.cad.dat.parts, Kevin L. Clague wrote:
... you are talking about one of the most
annoying issues in programming: backward compatibility.

I know that given the way LPub and LSynth are written and the
language libraries used, switching away from the 8.3 limitation
represents a significant amount of work.

Your previous post presents a good argument for getting away from
8.3 based on LEGO SKU number lengths combined with LDraw naming
conventions.  I can see the value in it.  Arguments like that can
be influential.

Yeah, but there's always another way.  One that preserves the
precious backwards compatibility.  In this case you could make
more subdirectories in the official library.  Like the LDRAW/P/48
directory that was created to avoid name conflicts between high
and low resolution primitives.  (Just tossing that into the mix
for consideration.)

Have fun,

Don

Well I've just spent some time on another way. You can make a new version of
mklist that works as follows: scan through the parts, if a filename is long then
make a new copy of the file with a standardised short file name (possible
assigned in a meta) and use the short name for PARTS.LST and the long name for
PARTSLONGNAMES.LST, otherwise add the part to both lists.

That way old software will still run although some of the parts names will be a
bit non-standard but new software can have a decent name.

Tim

PS. Some Perl code to do what I describe in a very sketch manner
http://www.brickshelf.com/gallery/timgould/temp/mklistlong.pl



Message has 1 Reply:
  Re: Getting rif off the 8.3 nomenclature???
 
(...) That's an interesting approach, but I don't know if it'll work for the subpart files that started this thread. I think mklist only handles files in the PARTS directory. The subpart filenames would be embedded in the part files that use them, (...) (18 years ago, 28-Mar-07, to lugnet.cad.dat.parts)

Message is in Reply To:
  Re: Getting rif off the 8.3 nomenclature???
 
(...) Yeah, but there's always another way. One that preserves the precious backwards compatibility. In this case you could make more subdirectories in the official library. Like the LDRAW/P/48 directory that was created to avoid name conflicts (...) (18 years ago, 28-Mar-07, to lugnet.cad.dat.parts)

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
    

Custom Search

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