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 / 9511
9510  |  9512
Subject: 
Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 18 Feb 2004 04:09:10 GMT
Viewed: 
4616 times
  
In lugnet.cad.dev, Lars C. Hassing wrote:
Right. In case the variable gets too long we can resort to multiple variables:
[LDraw]
BaseDirectory=C:\LDraw
LgeoDirectory=C:\L2P
LdrawSearch01=<HIDE>C:\LDrawXtra\MyPrims\In Work
LdrawSearch02=C:\LDrawXtra\MyParts\In Work
LdrawSearch03=<MODELDIR>
LdrawSearch04=<HIDE><LDRAWDIR>\BFC\P
LdrawSearch05=<HIDE><LDRAWDIR>\BFC\PARTS
LdrawSearch06=<HIDE><LDRAWDIR>\P
LdrawSearch07=<LDRAWDIR>\PARTS
LdrawSearch08=<LDRAWDIR>\MODELS
LdrawSearch09=<LDRAWDIR>\MODELS\TEST
LdrawSearch10=C:\LDrawXtra\MyParts\Done
LdrawSearch11=\\127.0.0.1\freedrive\public\ldraw\parts
LdrawSearch12=<HIDE>/tmp/ldraw-temp-parts/

and this goes for environment variables too: LDRAWSEARCH01, LDRAWSEARCH02, ...

In DOS/Windows the problem with environment space is (I believe) more a problem
of limited total environment space.  I don't think there's additional
limitations on individual variables.  So using multiple environment variables
might conceivably make things worse.

Also, while I like the above (and it's very similar to the data I store in the
registry for LDView), I think we need to keep in mind here that Michael already
has the parsing working for the format he created.  Consequently, unless we have
some pressing reason, I don't think it would be right to come up with a
different format that produces the same results as his format.

Unless we have some reason to find his format unacceptable, I think we should
only modify it by allowing absolute paths, moving the data into ldraw.ini
instead of MLCad.ini, and checking the user's home directory, then the windows
directory, for ldraw.ini.  His comments so far seem to indicate that that would
be his preference.

Just my two cents.

--Travis Cobbs



Message has 1 Reply:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) ME and the NT variants store the environment in the registry so this would only make things worse for 95 and 98. That said, I'd still prefer to keep things short for the environment version of this. One variable, with as many shortcuts as (...) (20 years ago, 18-Feb-04, to lugnet.cad.dev)

Message is in Reply To:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Right. In case the variable gets too long we can resort to multiple variables: [LDraw] BaseDirectory=C:\LDraw LgeoDirectory=C:\L2P LdrawSearch01=<HIDE>...MyPrims\In Work LdrawSearch02=C:\LDr...MyParts\In Work LdrawSearch03=<MODELDIR> (...) (20 years ago, 17-Feb-04, 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