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 / 9806
Subject: 
Re: In dev: new ldconfig.ldr file
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 9 Aug 2004 18:36:26 GMT
Viewed: 
2648 times
  
In lugnet.cad.dev, Steve Bliss wrote:
In lugnet.cad.dev, Don Heyse wrote:
Yes, I like it.  However, is it different from the way we decided
to number the search paths?  Last I remember, we decided to stick
them in the generic [LDraw] section and number them like this.

[LDraw]
LdrawSearch01=<HIDE>C:\LDrawXtra\MyPrims\In Work
LdrawSearch02=C:\LDrawXtra\MyParts\In Work

Do generic config settings used by all apps belong in the generic
[LDraw] section as well?

Err, I missed that point in the search path discussion - or I would have
recommended putting them in a different section.

Why would you recommend that?  My current ldraw.ini is loaded with
search paths in the [LDraw] section.  I'd say it's the other stuff
that doesn't belong there.

[LDraw]
BaseDirectory=C:\ldraw
Convert=c:\lcad\software\im
LDLite=c:\lcad\software\ldlite
L3Lab=c:\lcad\software\l3lab
Launcher=4845,4395,9510,6555
LDAO Modeler=8100,7305,8865,5730
Minifig Modeler=6150,4815,6900,5730
LgeoDirectory=C:\lego\lgeo

If [configurations] is too generic, then how about [LDraw.configurations]?

That could work.  Why'd you choose a dot instead of a space, as in
[LDraw Configurations]?  Both LDAO and LDDP currently use spaces, but
I do have something called [LPSSettings.StrHolder1_Strings].  Don't
know what it's for though...

Don


Subject: 
Re: In dev: new ldconfig.ldr file
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 9 Aug 2004 18:50:50 GMT
Viewed: 
2749 times
  
In lugnet.cad.dev, Don Heyse wrote:
Why would you recommend that?  My current ldraw.ini is loaded with
search paths in the [LDraw] section.  I'd say it's the other stuff
that doesn't belong there.

[LDraw]
BaseDirectory=C:\ldraw
Convert=c:\lcad\software\im
LDLite=c:\lcad\software\ldlite
L3Lab=c:\lcad\software\l3lab
Launcher=4845,4395,9510,6555
LDAO Modeler=8100,7305,8865,5730
Minifig Modeler=6150,4815,6900,5730
LgeoDirectory=C:\lego\lgeo

If you mean the Launcher, LDAO Modeler, and Minifig Modeler keys -- those are
old.  The current version of LDAO stores these keys in the [LDraw Add-On]
section.

If [configurations] is too generic, then how about [LDraw.configurations]?

That could work.  Why'd you choose a dot instead of a space, as in
[LDraw Configurations]?  Both LDAO and LDDP currently use spaces, but
I do have something called [LPSSettings.StrHolder1_Strings].  Don't
know what it's for though...

To me, a dot looks more like a delimiter than a space.  It somewhat indicates
that [LDraw.Configurations] is a subspace of [LDraw].  But it's really just a
string, any other meaning is read into it by us humans, so either dot or space
would work the same.

Steve


Subject: 
Re: In dev: new ldconfig.ldr file
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 9 Aug 2004 19:08:04 GMT
Viewed: 
2805 times
  
In lugnet.cad.dev, Steve Bliss wrote:
In lugnet.cad.dev, Don Heyse wrote:
Why would you recommend that?  My current ldraw.ini is loaded with
search paths in the [LDraw] section.  I'd say it's the other stuff
that doesn't belong there.

[LDraw]
BaseDirectory=C:\ldraw
Convert=c:\lcad\software\im
LDLite=c:\lcad\software\ldlite
L3Lab=c:\lcad\software\l3lab
Launcher=4845,4395,9510,6555
LDAO Modeler=8100,7305,8865,5730
Minifig Modeler=6150,4815,6900,5730
LgeoDirectory=C:\lego\lgeo

If you mean the Launcher, LDAO Modeler, and Minifig Modeler keys -- those
are old.  The current version of LDAO stores these keys in the
[LDraw Add-On] section.

Ah ha!  I thought I saw some duplicates in there.  Then the only thing
left in [LDraw] is the various paths to find things.  I like that.

If [configurations] is too generic, then how about [LDraw.configurations]?

That could work.  Why'd you choose a dot instead of a space, as in
[LDraw Configurations]?  Both LDAO and LDDP currently use spaces, but
I do have something called [LPSSettings.StrHolder1_Strings].  Don't
know what it's for though...

To me, a dot looks more like a delimiter than a space.  It somewhat
indicates that [LDraw.Configurations] is a subspace of [LDraw].  But
it's really just a string, any other meaning is read into it by us
humans, so either dot or space would work the same.

Ok, so how about this?

[LDraw.Configurations]
#  FILE Config Name LOCALE
0=ldconfig.ldr default EN
1=ldcfgalt.ldr ldlite EN
2=ldconfig_DE.ldr default DE
3=ldcfgalt_DE.ldr ldlite DE
4=ldconfig_FR.ldr default FR
...

Where ldraw.org takes responsibility for distributing the official
"Austrailian flavor" files ldconfig.ldr and ldcfgalt.ldr.  The first
one has the drab black edge lines and is suitable for printing.  The
second one has the bright cheerful ldraw/ldlite edge lines and is
suitable for dark backgrounds.  Responsibility for other languages
can be assumed by someone who actually speaks it, and perhaps we (err,
Steve?) can come up with a way to list them with via an update script
of some sort.

I can't imagine any other "themes" or "skins" will ever become
popular enough to generate a substantial following, but this setup
could support them if it happens.

Don


Subject: 
Re: In dev: new ldconfig.ldr file
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 9 Aug 2004 20:03:52 GMT
Viewed: 
2867 times
  
In lugnet.cad.dev, Don Heyse wrote:
[LDraw.Configurations]

Isn't "LDraw." redundant?  It is, after all, the ldraw.ini file.

--Travis Cobbs


Subject: 
Re: In dev: new ldconfig.ldr file
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 9 Aug 2004 20:42:56 GMT
Viewed: 
2881 times
  
In lugnet.cad.dev, Travis Cobbs wrote:
In lugnet.cad.dev, Don Heyse wrote:
[LDraw.Configurations]

Isn't "LDraw." redundant?  It is, after all, the ldraw.ini file.

Maybe so, but I still like it.  :^)  Besides, it's really all about
backwards compatibility.  You're not suggesting we rename the
[LDraw] key to [] are you?  After all, it's just as redundant.

Perhaps I'm a dummy, but I've got all sorts of LDAO and LDDP
keys in my ldraw.ini file and so the redundant LDraw helps remind me
where the generic cross application settings go.

Don


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