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 / 10643
10642  |  10644
Subject: 
Convention for directoried for unofficial parts?
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 9 Jul 2007 18:27:30 GMT
Viewed: 
7908 times
  
To all developers,

  The LSC does not want to specify how unofficial parts are handled.  Personally
if find the recommendation that we pull down individual unofficial parts into
the same directory as our LDraw file a hassle.

  Would the group prefer environment variables that provide paths for
directories, or known subdirectory names?

  I think that for the novice user, known subdirectory names would be simplest.
For advanced users environment variables provide the most control.

  I could see implementing both.  "unofficial" for parts that are not officially
released for the simple user and environment variables for part authors and
advanced users.  We could use LDRAWPREDIRS and LDRAWPOSTDIRS for the environment
variables.

  So, this convention can only work for a given user if all the tools they use
follow the convention.

  Unless someone comes up with an alternate plan, I will implement this in LPub.
I believe that I can compensate for L3P and the renderers by substituting parts
found in alternate paths with their full file system path name before handing
off the generated LDraw file to them.

  PLMKWYT

Kevin



Message has 2 Replies:
  Re: Convention for directoried for unofficial parts?
 
(...) Get the best of both worlds and do both. Check for the environment variable and if it is blank (or non-existant) default it to a "known" sub-directory. W (17 years ago, 9-Jul-07, to lugnet.cad.dev)
  Re: Convention for directoried for unofficial parts?
 
(...) I agree (which is why I voted yes on the other proposal, although it's not an exact match for what you're asking for). Having said that, Lars did offer the INI parsing code, and since it's already in LDView (which is under GPL), anyone who (...) (17 years ago, 10-Jul-07, to lugnet.cad.dev)

Message is in Reply To:
  Re: Dear LSC, was: LDrawIni API (was: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths)
 
----- Original Message ----- From: "Kevin L. Clague" <kevin_clague@yahoo.com> To: <lugnet.cad.dev@lugnet.com> Sent: Monday, July 09, 2007 5:56 PM Subject: Dear LSC, was: LDrawIni API (was: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths) (...) (...) (17 years ago, 9-Jul-07, to lugnet.cad.dev)

132 Messages in This Thread:
(Inline display suppressed due to large size. Click Dots below to view.)
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