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 / 9618
9617  |  9619
Subject: 
Re: LDRAWPREDIRS LDRAWPOSTDIRS - Summary please!
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 15 Mar 2004 02:19:21 GMT
Viewed: 
3943 times
  
In lugnet.cad.dev, Michael Lachmann wrote:
"Kim Toll" <kim.toll@intel.com> schrieb:
Allowing white space is always a good idea.

I like having the backslash because I agree with Lars, I thought
the <LDRAWDIR>\Parts was a directory and the stuff in the brackets
was the base directory substitution.

Having said that, what about suggesting an additional flag.  One
that indicates what kind of directory this is.  For example:

[LDrawSearch]
1 = <SHOW> <MODELDIR>  <Models>
2 = <HIDE> <LDRAWDIR>\P  <Primitaves>
3 = <SHOW> <LDRAWDIR>\Parts <Parts>
4 = <SHOW> <LDRAWDIR>\Models <Models>
5 = <SHOW> <LDRAWDIR>\Unofficial <Unofficial Parts>
6 = <SHOW> <LDRAWDIR>\KimsParts <Unofficial Parts>
7 = <SHOW> C:\temp\downloaded_models <Models>
8 = <SHOW> C:\temp\MOTM <Models>

The final flag, if present, could be a user defined category that
would let them clump the contents of similar groups together.  For
instance, all things with the <Unoficial Parts> tag could be shown
together in a MLCad style tree view.  Or if the user preferred,
they could just mark them all as <Parts> and all the unofficial
parts would show up under the <Parts> node along with the official
parts.  And you could have several different directories that
contain models and they could all show up under the <Model> node.

This is a good idea, theoretically we can add anything at the end of
this line. Programms not willing to support can simply ignore it.
However in this case I would like to use quotationmarks - hello lars
;.-) - to make clear where a directory start and where it ends. I've
seen windows and unix directories with names including < and > so

Ok, you're starting to catch on to the versatility of extra tags,
but don't stop at just one more tag at the end of the line.  Allow as
many as the user wants.  I think <Unofficial> and <Parts> should
be separate tags.  Just like I know you want to separate <Clones> from
<Parts>.  <Parts> can be used to generate a bill of materials (LPUB?).
The <Unofficial>, <BFC>, <Boxes>, <Clones>, or whatever add different
additional information and thus should be a separate tag.

Also, I sorta like the convention of throwing all the optional
tags up front with the one required bit of information (the directory)
last.  Examples:

5 = <SHOW> <Parts> <Unofficial> <LDRAWDIR>\Unofficial
6 = <HIDE> <Parts> <Unofficial> <LDRAWDIR>\KimsParts
7 = <SHOW> <SKIP> <Parts> <Clones> <HOMEDIR>\MegaBloks

I also think quotes should be allowed, but optional.  We all know
they're going to end up in some INI file somewhere.

If we're going to use the <LDRAWDIR>\folder syntax with the
slash, should we restrict it to the DOS style since we already
must deal with that inside the official parts files with the
parts\s and p\48 subdirectories.  Just a thought...

And I'm curious about the <> characters in filenames.  I tried to make
some under Win2K and on a linux EXT2 filesystem and failed.  Ok, that's
not a really extensive filesystem test, but do you remember where you
saw them?

Don

PS.  Tore, I know you asked for the summary and I don't think the
<Boxes> tag was mentioned yet in the summary subthread.  You may want
to search for it in the main thread and see if my random thoughts on
it fit in with your plans for your boxer project.



Message has 3 Replies:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - Summary please!
 
(...) Most *nix file systems allow those characters in filenames - just enclose them in quotes. Dunno about Windows. I just tried it on NT and it didn't like it, but I didn't try very hard. ROSCO (21 years ago, 15-Mar-04, to lugnet.cad.dev)
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - Summary please!
 
(...) [testing...] WinXP with NTFS does not let you use < or > in filenames when renaming a file. You could probably generate such a name in plain old DOS - not from the command line interface, but by calling the file operations from a program. At (...) (21 years ago, 15-Mar-04, to lugnet.cad.dev)
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - Summary please!
 
"Don Heyse" <dheyse@hotmail.spam....away.com> schrieb im Newsbeitrag news:HuLIG9.210E@lugnet.com... <SNIP> (...) Yes, I prefere that too. (...) No I don't think so, there will be no old programm reading this file, or the section in it. I think there (...) (21 years ago, 15-Mar-04, to lugnet.cad.dev)

Message is in Reply To:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - Summary please!
 
"Kim Toll" <kim.toll@intel.com> schrieb im Newsbeitrag news:HuHvvE.w2t@lugnet.com... <SNIP> (...) base (...) indicates (...) let them (...) with (...) view. (...) the (...) official (...) models and (...) This is a good idea, theoretically we can (...) (21 years ago, 14-Mar-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