To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 12528
12527  |  12529
Subject: 
Program INI files (was: RE: Some comments on the LPub 2.2.0.9 beta)
Newsgroups: 
lugnet.cad
Followup-To: 
lugnet.cad.dev
Date: 
Mon, 28 Mar 2005 19:32:21 GMT
Viewed: 
1182 times
  
In lugnet.cad, Don Heyse wrote:
In lugnet.cad, Kevin L. Clague wrote:
In lugnet.cad, Andreas Maier wrote:
I would like it even better if MLCAD was honoring a LPub
meta command in the model that defines the camera
position and orientation.  After all, it is a model
thing and not an installation wide thing.

We agree that MLCad.ini is a good thing to get information from, as
long as we know that that is happening.

I haven't been able to keep up with this whole discussion, (sorry)
but one thing struck me.

Once upon a time we tried to put this sort of global config stuff in
the generic ldraw.ini file instead an app specific file like mlcad.ini.
Here's an old disscusion of the [Views] section of ldraw.ini file.

  http://news.lugnet.com/cad/mlcad/?n=1064

I'd consider saving the path to lsynth and lpub in the [Ldraw] section
of ldraw.ini.  Put view matrices in the [View] section and consider
making new sections for [Lsynth] and [Lpub] specific settings.  That
way other apps like LDDP can find the settings (and any new config
files) lsynth or lpub might need nowadays.

I like to add that LDDP, LDAO, and, to some extent, L3PAO use the ldraw.ini file
to store program wide settings.  I like this approach since it doesn't use the
registry (which I abhor) and therefore makes the data easier to find and the
program easier to port cross platform (which will happen with LDDP, I just have
to get around it).

Non global config and other stuff that need to be readily user editable but is
not editable in the program itself should use a loacl INI file until a built in
editor is implemented (e.g. LDDP's Meta command menu INI and MLCad's Minifig
Generator parts list).

At some point I would like to see the search paths section of the MLCad.ini
migrate to the ldraw.ini. This way LDDP, LDView, etc can use these settings
instead of the user having to reinput them in every program.

-Orion



Message is in Reply To:
  Re: Some comments on the LPub 2.2.0.9 beta
 
(...) I haven't been able to keep up with this whole discussion, (sorry) but one thing struck me. Once upon a time we tried to put this sort of global config stuff in the generic ldraw.ini file instead an app specific file like mlcad.ini. Here's an (...) (20 years ago, 28-Mar-05, to lugnet.cad)

18 Messages in This Thread:









Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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