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 / 535
Subject: 
Small search program for LDRAW parts
Newsgroups: 
lugnet.cad
Date: 
Tue, 19 Jan 1999 22:14:56 GMT
Viewed: 
540 times
  
Hi all!

I have made a small program, to help me search through the LDRAW parts. It
scans the PARTS directory, and collects all the description lines (first
line) to a private data file (A scan is only needed when the parts have been
updated).

Then I can enter one or more words to search for, in the combined text (.dat
file name + description) and immediately see all the matching lines (The
order of the search words is irrelevant).

I can for example search for 'roof glass', and immediately see the result:

  2348B.DAT  Car Roof  4 x 4 Sunroof Glass with Ridges
  2348A.DAT  Car Roof  4 x 4 Sunroof Glass with Ridges
  4448.DAT   Window    4 x 4 x 3 Roof Glass

The search is incremental (as soon as You write a letter, You only see those
lines that match), and is (at least on my machine) instantaneous.

If You are interested to try it, there is a ZIP file (170 kB) available at:
  http://user.tninet.se/~hbh828t/ldlist.zip


Happy LDRAWing,
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm


Subject: 
Re: Small search program for LDRAW parts
Newsgroups: 
lugnet.cad
Date: 
Wed, 20 Jan 1999 01:04:47 GMT
Viewed: 
559 times
  
On Tue, 19 Jan 1999 22:14:56 GMT, "Anders Isaksson"
<isaksson.etuna@REMOVEebox.tninet.se> wrote:

Hi all!

I have made a small program, to help me search through the LDRAW parts. It
scans the PARTS directory, and collects all the description lines (first
line) to a private data file (A scan is only needed when the parts have been
updated).

Then I can enter one or more words to search for, in the combined text (.dat
file name + description) and immediately see all the matching lines (The
order of the search words is irrelevant).

Nifty little program, Anders!
Thanks, this should come in handy.  :-)

-- Terry K --
Off to add this as "Tool" to LDAO


Subject: 
Re: Small search program for LDRAW parts
Newsgroups: 
lugnet.cad
Date: 
Wed, 20 Jan 1999 15:59:00 GMT
Viewed: 
585 times
  
Cool.  Now I don't have to add this to LDAO. :)

One question - why didn't you use parts.lst as the source of
descriptions?

Steve
(DOS-only part search: FIND /i "roof glass" c:\ldraw\parts.lst)

On Tue, 19 Jan 1999 22:14:56 GMT, "Anders Isaksson"
<isaksson.etuna@REMOVEebox.tninet.se> wrote:

Hi all!

I have made a small program, to help me search through the LDRAW parts. It
scans the PARTS directory, and collects all the description lines (first
line) to a private data file (A scan is only needed when the parts have been
updated).

Then I can enter one or more words to search for, in the combined text (.dat
file name + description) and immediately see all the matching lines (The
order of the search words is irrelevant).

I can for example search for 'roof glass', and immediately see the result:

2348B.DAT  Car Roof  4 x 4 Sunroof Glass with Ridges
2348A.DAT  Car Roof  4 x 4 Sunroof Glass with Ridges
4448.DAT   Window    4 x 4 x 3 Roof Glass

The search is incremental (as soon as You write a letter, You only see those
lines that match), and is (at least on my machine) instantaneous.

If You are interested to try it, there is a ZIP file (170 kB) available at:
http://user.tninet.se/~hbh828t/ldlist.zip


Happy LDRAWing,
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm






Subject: 
Re: Small search program for LDRAW parts
Newsgroups: 
lugnet.cad
Date: 
Wed, 20 Jan 1999 18:20:57 GMT
Viewed: 
641 times
  
Two things:

1. When I start typing, the entire list disappears, and doesn't come
back.

2. (Minor) To get the path to LDraw, use the LDRAWDIR environment
variable, or look in ldraw.ini, section [LDraw], key BaseDirectory.

Steve

On Tue, 19 Jan 1999 22:14:56 GMT, "Anders Isaksson"
<isaksson.etuna@REMOVEebox.tninet.se> wrote:

I have made a small program, to help me search through the LDRAW parts. It
scans the PARTS directory, and collects all the description lines (first
line) to a private data file (A scan is only needed when the parts have been
updated).

Then I can enter one or more words to search for, in the combined text (.dat
file name + description) and immediately see all the matching lines (The
order of the search words is irrelevant).

I can for example search for 'roof glass', and immediately see the result:

2348B.DAT  Car Roof  4 x 4 Sunroof Glass with Ridges
2348A.DAT  Car Roof  4 x 4 Sunroof Glass with Ridges
4448.DAT   Window    4 x 4 x 3 Roof Glass

The search is incremental (as soon as You write a letter, You only see those
lines that match), and is (at least on my machine) instantaneous.

If You are interested to try it, there is a ZIP file (170 kB) available at:
http://user.tninet.se/~hbh828t/ldlist.zip


Happy LDRAWing,
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm






Subject: 
Re: Small search program for LDRAW parts
Newsgroups: 
lugnet.cad
Date: 
Wed, 20 Jan 1999 20:01:13 GMT
Viewed: 
649 times
  
Steve Bliss skrev i meddelandet <36a61e13.5604179@lugnet.com>...
Two things:

1. When I start typing, the entire list disappears, and doesn't come
back.


Huh? It doesn't do that for me... Perhaps You are trying to use the single
quote for an exact match - it should be the double quote, preferrably no
quote at all.
(What did You type?)

Has anyone else tested the program, and found it to work?

2. (Minor) To get the path to LDraw, use the LDRAWDIR environment
variable, or look in ldraw.ini, section [LDraw], key BaseDirectory.


Yeah, I will do that sooner or later - this was a 30 minutes hack that
became useful... The point is, ldraw.ini doesn't have to exist if I only
have LDraw, and what should the priority be if LDRAWDIR and ldraw.ini are
different - or is it only me that keeps more than one version of ldraw on
the computer (never trust a part update or BlockCAD development :-))


(And in another message)
One question - why didn't you use parts.lst as the source of
descriptions?

Never thought of that :-) Also, I have some specialized 'parts' for BlockCAD
(submodels) lying around in (one of) my PARTS directory, but I don't want
them in parts.lst for now.

--
Anders Isaksson, Sweden
Part search:  http://user.tninet.se/~hbh828t/ldlist.zip
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm


Subject: 
Re: Small search program for LDRAW parts
Newsgroups: 
lugnet.cad
Date: 
Thu, 21 Jan 1999 02:02:40 GMT
Viewed: 
702 times
  
I installed the program, and it did the same thing to me: the moment that I
entered the first letter, the list dissapeared.

Also tried wildcards (*,?,#) single and double quotes, but the result was
the same.

Osvaldo Fernandez
apache@tld.net

Anders Isaksson wrote in message ...
Steve Bliss skrev i meddelandet <36a61e13.5604179@lugnet.com>...
Two things:

1. When I start typing, the entire list disappears, and doesn't come
back.


Huh? It doesn't do that for me... Perhaps You are trying to use the single
quote for an exact match - it should be the double quote, preferrably no
quote at all.
(What did You type?)


Subject: 
Re: Small search program for LDRAW parts
Newsgroups: 
lugnet.cad
Date: 
Thu, 21 Jan 1999 10:03:48 GMT
Viewed: 
717 times
  
On Wed, 20 Jan 1999 20:01:13 GMT, "Anders Isaksson"
<isaksson.etuna@REMOVEebox.tninet.se> wrote:

Steve Bliss skrev i meddelandet <36a61e13.5604179@lugnet.com>...
Two things:

1. When I start typing, the entire list disappears, and doesn't come
back.


Huh? It doesn't do that for me... Perhaps You are trying to use the single
quote for an exact match - it should be the double quote, preferrably no
quote at all.
(What did You type?)

Has anyone else tested the program, and found it to work?

Um, it _was_ working.  But I just tried it and it says I have to re-scan again.
Come to think of it, the first time I used it, I had to scan twice before it
worked.

And just now, I scanned, and the window filled up with the list, but typing
anything in the box caused the list to go blank.
So I scanned again, and the parts came back, but again, typing in anything
caused the list to blank.
So I exited and restarted and now it works fine.

But I wonder if it will lose its list again?

-- Terry K --


Subject: 
Re: Small search program for LDRAW parts
Newsgroups: 
lugnet.cad
Date: 
Thu, 21 Jan 1999 12:44:39 GMT
Viewed: 
674 times
  
On Wed, 20 Jan 1999 20:01:13 GMT, "Anders Isaksson"
<isaksson.etuna@REMOVEebox.tninet.se> wrote:

Steve Bliss skrev i meddelandet <36a61e13.5604179@lugnet.com>...
Two things:

1. When I start typing, the entire list disappears, and doesn't come
back.


Huh? It doesn't do that for me... Perhaps You are trying to use the single
quote for an exact match - it should be the double quote, preferrably no
quote at all.
(What did You type?)

I typed 'roof glass' (without the quotes).

Steve


Subject: 
Re: Small search program for LDRAW parts
Newsgroups: 
lugnet.cad
Date: 
Thu, 21 Jan 1999 14:16:12 GMT
Viewed: 
680 times
  
Weird. Today I started the program and it already haved the parts list, and
when I entered a word, it began to sort out the list. The weird thing is that
yesterday I scanned the Parts directory, typed a search, list got blank, I
exit the program, runned the program again, the list was empty again, and as
soon as I typed a word it went blank. So I don't have an idea why today is
working fine.

The important thing is that it works.

One idea: Would be nice if when you select a part from the list, it is drawn
in LdLite.

Osvaldo Fernandez
durandal@ffsystemsol.com

Terry Keller writes:
On Wed, 20 Jan 1999 20:01:13 GMT, "Anders Isaksson"
<isaksson.etuna@REMOVEebox.tninet.se> wrote:

Steve Bliss skrev i meddelandet <36a61e13.5604179@lugnet.com>...
Two things:

1. When I start typing, the entire list disappears, and doesn't come
back.


Huh? It doesn't do that for me... Perhaps You are trying to use the single
quote for an exact match - it should be the double quote, preferrably no
quote at all.
(What did You type?)

Has anyone else tested the program, and found it to work?

Um, it _was_ working.  But I just tried it and it says I have to re-scan • again.
Come to think of it, the first time I used it, I had to scan twice before it
worked.

And just now, I scanned, and the window filled up with the list, but typing
anything in the box caused the list to go blank.
So I scanned again, and the parts came back, but again, typing in anything
caused the list to blank.
So I exited and restarted and now it works fine.

But I wonder if it will lose its list again?

-- Terry K --


Subject: 
Re: Small search program for LDRAW parts (Problem fixed!)
Newsgroups: 
lugnet.cad
Date: 
Thu, 21 Jan 1999 18:05:58 GMT
Viewed: 
689 times
  
Osvaldo Fernandez skrev i meddelandet ...
Weird. Today I started the program and it already haved the parts list, and
when I entered a word, it began to sort out the list. The weird thing is • that
yesterday I scanned the Parts directory, typed a search, list got blank, I
exit the program, runned the program again, the list was empty again, and • as
soon as I typed a word it went blank. So I don't have an idea why today is
working fine.

The important thing is that it works.


Yes, everyone has reported the same problem with it...
I told You it was a 30 minutes hack !!! :-)

Anyway, it's fixed now - just a stupid programming error. It can still be
found at:
http://user.tninet.se/~hbh828t/ldlist.zip


One idea: Would be nice if when you select a part from the list, it is • drawn
in LdLite.


Yes, that's on my own wish list, it will surely come (sometime...). Maybe I
could incorporate a preview window...

--
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm


Subject: 
Re: Small search program for LDRAW parts - version 3.0
Newsgroups: 
lugnet.cad
Date: 
Fri, 22 Jan 1999 21:14:22 GMT
Viewed: 
571 times
  
I wrote ...
Hi all!

I have made a small program, to help me search through the LDRAW parts.
It scans the PARTS directory, and collects all the description lines
(first line) to a private data file (A scan is only needed when the
parts have been updated).

Then I can enter one or more words to search for, in the combined text
(.dat file name + description) and immediately see all the matching
lines (The order of the search words is irrelevant).

I can for example search for 'roof glass', and immediately see the
result:

2348B.DAT  Car Roof  4 x 4 Sunroof Glass with Ridges
2348A.DAT  Car Roof  4 x 4 Sunroof Glass with Ridges
4448.DAT   Window    4 x 4 x 3 Roof Glass

The search is incremental (as soon as You write a letter, You only
see those lines that match), and is (at least on my machine) instantaneous.



Ok, I have updated the program a little:

I incorporated the drawing engine from Paul Gyuguis LDlite 0.3, which I had
translated to Delphi Pascal earlier, so now there is a piece preview too.

The environment variable LDRAWDIR is now essential for the program to find
the .dat files.

Find it at:
http://user.tninet.se/~hbh828t/ldlist.zip

Happy LDRAWing,

--
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm


Subject: 
Re: Small search program for LDRAW parts - version 3.0
Newsgroups: 
lugnet.cad
Date: 
Sat, 23 Jan 1999 00:51:35 GMT
Viewed: 
591 times
  
On Fri, 22 Jan 1999 21:14:22 GMT, "Anders Isaksson"
<isaksson.etuna@REMOVEebox.tninet.se> wrote:

Ok, I have updated the program a little:

I incorporated the drawing engine from Paul Gyuguis LDlite 0.3, which I had
translated to Delphi Pascal earlier, so now there is a piece preview too.

A Little?
This may be little to you, but I think it is major.
Not having to depend on the quirks of just the name is outstanding.

Good Job,

-- Terry K --


Subject: 
Re: Small search program for LDRAW parts - version 3.0
Newsgroups: 
lugnet.cad
Date: 
Sun, 24 Jan 1999 17:50:16 GMT
Viewed: 
635 times
  
Anders Isaksson writes:

Ok, I have updated the program a little:

I incorporated the drawing engine from Paul Gyuguis LDlite 0.3, which I had
translated to Delphi Pascal earlier, so now there is a piece preview too.

The environment variable LDRAWDIR is now essential for the program to find
the .dat files.

Find it at:
http://user.tninet.se/~hbh828t/ldlist.zip


Great program!

One suggestion for your next version.
When I change the viewing options from the menu, I'd like the
view change to take place on the menu click.  As it is now,
I have to reselect the part (or click Redraw) to get the view
to change.

Minor nit, I know.

Robert Wallace
robertw@netcom.com


Subject: 
Re: Small search program for LDRAW parts - version 3.0
Newsgroups: 
lugnet.cad
Date: 
Sun, 24 Jan 1999 21:52:55 GMT
Viewed: 
589 times
  
Robert Wallace skrev i meddelandet ...
Anders Isaksson writes:

Ok, I have updated the program a little:

I incorporated the drawing engine from Paul Gyuguis LDlite 0.3, which I • had
translated to Delphi Pascal earlier, so now there is a piece preview too.

The environment variable LDRAWDIR is now essential for the program to find
the .dat files.

Find it at:
http://user.tninet.se/~hbh828t/ldlist.zip


Great program!

One suggestion for your next version.
When I change the viewing options from the menu, I'd like the
view change to take place on the menu click.  As it is now,
I have to reselect the part (or click Redraw) to get the view
to change.



I'm nagging myself about that :-)

It will be there in the next release (no promises when...)

--
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm


Subject: 
Re: Small search program for LDRAW parts - version 3.0
Newsgroups: 
lugnet.cad
Date: 
Tue, 26 Jan 1999 07:21:00 GMT
Viewed: 
622 times
  
On Fri, 22 Jan 1999 21:14:22 GMT, "Anders Isaksson"
<isaksson.etuna@REMOVEebox.tninet.se> wrote:
Ok, I have updated the program a little:

I incorporated the drawing engine from Paul Gyuguis LDlite 0.3, which I had
translated to Delphi Pascal earlier, so now there is a piece preview too.

The environment variable LDRAWDIR is now essential for the program to find
the .dat files.

Find it at:
http://user.tninet.se/~hbh828t/ldlist.zip

Anders,  I still seem to have a problem with the program not finding its
ldrawlist.txt file, and having to re-scan.  Even though the file is right there
in the same directory, and the ldlist.ini file has the correct path shown.

But for some reason, the problem of not finding the file is intermittant.   I
can't seem to force it to misbehave.

And I seem to have found a clue to its behavior:
I stumbled upon an ldrawlist.txt file in a pov-ray subdirectory I had recently
been working in.  So I did a search of the entire computer, and found SIX other
ldrawlist.txt files scattered around in various places.  All directories I had
been in at sometime just prior to running a scan.

So it appears that ldlist seems to be using the current directory as a place to
save its file.

-- Terry K --


Subject: 
Re: Small search program for LDRAW parts - version 3.0
Newsgroups: 
lugnet.cad
Date: 
Tue, 26 Jan 1999 18:50:18 GMT
Viewed: 
653 times
  
Terry K skrev i meddelandet <36ad6cd9.2555515@lugnet.com>...

So it appears that ldlist seems to be using the current directory as • a place to
save its file.

-- Terry K --


Thanks Terry!

I owe You one (1) bug-finder fee :-))

The new version is posted at the same place as before,
http://user.tninet.se/~hbh828t/ldlist.zip
and also does an immediate redraw when the view/scale etc. is changed.

--
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm


Subject: 
Re: Small search program for LDRAW parts - version 3.0
Newsgroups: 
lugnet.cad
Date: 
Tue, 26 Jan 1999 21:20:27 GMT
Viewed: 
709 times
  
On Tue, 26 Jan 1999 18:50:18 GMT, "Anders Isaksson"
<isaksson.etuna@REMOVEebox.tninet.se> wrote:

Terry K skrev i meddelandet <36ad6cd9.2555515@lugnet.com>...

So it appears that ldlist seems to be using the current directory as • a place to
save its file.

-- Terry K --


Thanks Terry!

I owe You one (1) bug-finder fee :-))

The new version is posted at the same place as before,
http://user.tninet.se/~hbh828t/ldlist.zip
and also does an immediate redraw when the view/scale etc. is changed.

I must owe Terry an entire swarm by now...

Steve


Subject: 
Re: Small search program for LDRAW parts - version 3.0
Newsgroups: 
lugnet.cad
Date: 
Thu, 28 Jan 1999 01:12:12 GMT
Viewed: 
690 times
  
Anders Isaksson writes:
Terry K skrev i meddelandet <36ad6cd9.2555515@lugnet.com>...

So it appears that ldlist seems to be using the current directory as • a place to
save its file.

-- Terry K --


Thanks Terry!

I owe You one (1) bug-finder fee :-))

The new version is posted at the same place as before,
http://user.tninet.se/~hbh828t/ldlist.zip
and also does an immediate redraw when the view/scale etc. is changed.

Thanks, Anders!

There's just one other item on my wishlist:

A way to switch from a custom view to a regular view and back
without having to re-type the custom view coordinates.

It seems the regular view always overwrites any coordinates I've
placed in the custom view.  :(

Robert Wallace
robertw@netcom.com


Subject: 
Re: Small search program for LDRAW parts - version 3.0
Newsgroups: 
lugnet.cad
Date: 
Thu, 28 Jan 1999 01:53:40 GMT
Viewed: 
605 times
  
On Tue, 26 Jan 1999 18:50:18 GMT, "Anders Isaksson"
<isaksson.etuna@REMOVEebox.tninet.se> wrote:

Terry K skrev i meddelandet <36ad6cd9.2555515@lugnet.com>...

So it appears that ldlist seems to be using the current directory as • a place to
save its file.

-- Terry K --

Thanks Terry!

I owe You one (1) bug-finder fee :-))

OK, let me think of what I want....

The new version is posted at the same place as before,
http://user.tninet.se/~hbh828t/ldlist.zip
and also does an immediate redraw when the view/scale etc. is changed.

That will do.  Paid In Full.

-- Terry K --


Subject: 
Re: Small search program for LDRAW parts - version 3.0
Newsgroups: 
lugnet.cad
Date: 
Thu, 28 Jan 1999 01:56:11 GMT
Viewed: 
657 times
  
On Tue, 26 Jan 1999 21:20:27 GMT, blisses@worldnet.att.net (Steve Bliss) wrote:

On Tue, 26 Jan 1999 18:50:18 GMT, "Anders Isaksson"
<isaksson.etuna@REMOVEebox.tninet.se> wrote:

Terry K skrev i meddelandet <36ad6cd9.2555515@lugnet.com>...

So it appears that ldlist seems to be using the current directory as • a place to
save its file.

-- Terry K --


Thanks Terry!

I owe You one (1) bug-finder fee :-))

The new version is posted at the same place as before,
http://user.tninet.se/~hbh828t/ldlist.zip
and also does an immediate redraw when the view/scale etc. is changed.

I must owe Terry an entire swarm by now...

Steve

Maybe so,  but bugs are to be expected from such a large multi-tentacled
monster as LDAO.

So you can just keep your bugs.

-- Terry K --


Subject: 
Re: Small search program for LDRAW parts - version 3.0
Newsgroups: 
lugnet.cad
Date: 
Thu, 28 Jan 1999 18:57:03 GMT
Viewed: 
727 times
  
Robert Wallace skrev i meddelandet ...

There's just one other item on my wishlist:


Never satisfied, are You? :-))

A way to switch from a custom view to a regular view and back
without having to re-type the custom view coordinates.



Yep! That's what I want too, so it _will_ come, release date
completely unknown.
(Will probably be a list of favorite custom views)

--
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm
LdList:    http://user.tninet.se/~hbh828t/ldlist.zip
(Don't You just love those short, meaningful URLs!)


Subject: 
Re: Small search program for LDRAW parts - version 3.0
Newsgroups: 
lugnet.cad
Date: 
Thu, 28 Jan 1999 20:36:06 GMT
Viewed: 
779 times
  
On Thu, 28 Jan 1999 18:57:03 GMT, "Anders Isaksson"
<isaksson.etuna@REMOVEebox.tninet.se> wrote:

(Will probably be a list of favorite custom views)

Anders,

LDAO maintains a list of LDraw viewpoints in the c:\windows\ldraw.ini
file.  If you look for and use this list, people who use both programs
will be happier.  If you don't use LDAO yourself, here is the format of
the list, with just a few entries:

[Views]
Back=-1,0,0,0,1,0,0,0,-1
Left=0,0,1,0,1,0,-1,0,0
Right=0,0,-1,0,1,0,1,0,0
Above=0,0,1,1,0,0,0,1,0
Beneath=0,0,1,-1,0,0,0,-1,0

Steve


Subject: 
Re: Small search program for LDRAW parts - version 3.0
Newsgroups: 
lugnet.cad
Date: 
Thu, 28 Jan 1999 22:01:04 GMT
Viewed: 
710 times
  
Steve Bliss skrev i meddelandet <36b0c996.28083142@lugnet.com>...
On Thu, 28 Jan 1999 18:57:03 GMT, "Anders Isaksson"
<isaksson.etuna@REMOVEebox.tninet.se> wrote:

(Will probably be a list of favorite custom views)

Anders,

LDAO maintains a list of LDraw viewpoints in the c:\windows\ldraw.ini
file.  If you look for and use this list, people who use both • programs
will be happier.  If you don't use LDAO yourself, here is the format • of
the list, with just a few entries:

[Views]
Back=-1,0,0,0,1,0,0,0,-1
Left=0,0,1,0,1,0,-1,0,0
Right=0,0,-1,0,1,0,1,0,0
Above=0,0,1,1,0,0,0,1,0
Beneath=0,0,1,-1,0,0,0,-1,0

Steve

Why didn't _I_ think of that?

--
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm


Subject: 
Re: Small search program for LDRAW parts
Newsgroups: 
lugnet.cad
Date: 
Thu, 11 Feb 1999 07:37:20 GMT
Viewed: 
497 times
  
Hi Anders!

I  have been using ldlist quite a bit lately, and had few suggestions
(hopefully new ones):

It would be nice if the program remembered its last state when starting. I like
to use it full screen, with 2x magnification, and it sure would be nice to have
it come up that way by default.

It would be great to have the behavior of the "Search for:" box selectable
between "find everything" and "exact match"
When you type 'plate' if would be nice to be able to exclude all the
baseplates. And if you put 'plate  1 x  2' it would be great to just be
presented with the 1x2 plates.

You know how when in Windows Explorer you pass your mouse over a directory name
in the left pane, and if the name is too long to fit in the pane a little
pop-up label appears to show the full name?
Would that be possible to do in the left pane of ldlist?  Some part names are
too long for the full name to appear in the pane.

And lastly, would it be possible to be able to CTRL-C the highlited part name
into the Windows Clipboard?  (not a pressing need, just something I would find
occasionally useful)

And thanks for such a great little tool.  :-)

-- Terry K --


Subject: 
Re: Small search program for LDRAW parts
Newsgroups: 
lugnet.cad
Date: 
Thu, 11 Feb 1999 18:12:17 GMT
Viewed: 
515 times
  
[ Comments interspersed ]

Terry K skrev i meddelandet <36c28525.3823466@lugnet.com>...
Hi Anders!

I  have been using ldlist quite a bit lately, and had few suggestions
(hopefully new ones):

It would be nice if the program remembered its last state when
starting. I like to use it full screen, with 2x magnification,
and it sure would be nice to have it come up that way by default.


Easy as one, two, three... plop! Should I save the info in LDraw.INI
or in a separate .INI-file?

It would be great to have the behavior of the "Search for:" box
selectable between "find everything" and "exact match"

Have to think about that one...

When you type 'plate' if would be nice to be able to exclude all the
baseplates. And if you put 'plate  1 x  2' it would be great to just
be presented with the 1x2 plates.


This is already there (in a way): If You start Your search string with
a double quote (") it will only match the complete string - but it
must match _exactly_ ie. all spaces must be present (You don't need an
ending quote).


BTW, I tested " plate, and this eliminates most baseplates.

You know how when in Windows Explorer you pass your mouse over a
directory name in the left pane, and if the name is too long to
fit in the pane a little pop-up label appears to show the full name?
Would that be possible to do in the left pane of ldlist?  Some part
names are too long for the full name to appear in the pane.


Of course it's possible! I just don't know how it's done. Give me time
will ya! :-) (I'll put the text in a little status panel in the bottom
for now...but it's not there until You click on a line :-()

And lastly, would it be possible to be able to CTRL-C the highlited
part name into the Windows Clipboard?  (not a pressing need, just
something I would find occasionally useful)


Your wish is my command :-))

And thanks for such a great little tool.  :-)


You're welcome!

Watch this message for announcement of the next version...


.
.
.
Announcement: Ldlist Version 3.3 is now available at
http://user.tninet.se/~hbh828t/ldlist.zip

(The views are not fixed yet - needs thinking, I think...)

--
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm


Subject: 
Re: Small search program for LDRAW parts
Newsgroups: 
lugnet.cad
Date: 
Thu, 11 Feb 1999 21:27:01 GMT
Viewed: 
571 times
  
On Thu, 11 Feb 1999 18:12:17 GMT, "Anders Isaksson"
<isaksson.etuna@REMOVEebox.tninet.se> wrote:

Easy as one, two, three... plop! Should I save the info in LDraw.INI
or in a separate .INI-file?

Put it in ldraw.ini.  Part of the reason I used that filename in LDAO is
because I figured we could all share it.

Steve


Subject: 
Re: Small search program for LDRAW parts - Version 3.4 available
Newsgroups: 
lugnet.cad
Date: 
Fri, 12 Feb 1999 22:37:17 GMT
Viewed: 
691 times
  
OK folks!

Version 3.4 of LDLIST is available for download at
http://user.tninet.se/~hbh828t/ldlist.zip

<BLURB>

Summary:

Ldlist is a little Windows program made for searching the available
LDRAW .DAT files. Combined with a built-in piece preview, it's a
fast way to find that brick, whatever it's name, number or
description.

You can for example enter 'roof glass', and immediately see the
results:

  2348B.DAT  Car Roof  4 x 4 Sunroof Glass with Ridges
  2348A.DAT  Car Roof  4 x 4 Sunroof Glass with Ridges
  4448.DAT   Window    4 x 4 x 3 Roof Glass

If You click on one of the result lines, a preview of that brick will
be drawn.

The search is incremental (as soon as You write a letter, You only see
those bricks that match), and is (at least on my machine)
instantaneous.

By starting the search string with a " (double quote), You will only
see bricks with an exact match, spaces included.

News in version 3.4:

- Stores all settings in LDRAW.INI - size, view, scale
- You can use all the views You have set up in LDRAW.INI
  (You can still use the old way of setting views for ldlist)
- CTRL-C copies the currently selected brick text to the Clipboard
  (What are You going to use that for, Terry?)

Acknowledgments:

LDLIST would not have been possible without Paul Gyugyi's Ldlite!

Warning:

As my port of Ldlite is a bit dated (and not completely correct!),
some memory leaks are still there, so if You use LDLIST full screen
for a while, Your swap file may get a bit large. Just exit LDLIST
and restart...

</BLURB>

Well, that's about it... What are You waiting for? Go get it.

--
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm


Subject: 
Re: Small search program for LDRAW parts - Version 3.4 available
Newsgroups: 
lugnet.cad
Date: 
Fri, 12 Feb 1999 22:55:54 GMT
Viewed: 
607 times
  
OK two issues for me. I unzipped the program and it said, " No LDRAWLIST.TXT
file found. Press SCAN to generate it." I went to the file menu and selected
"Scan". It created the file, but the file was empty. I figured I could just
rename the Parts.LST file to the specified file, which seemed to correct the
problem. The other issue is the preview. I didn't get one. Everything else
seemed to work fine though - even Terry's cut and paste :)

What could be my problem?

Duane

Anders Isaksson writes:
OK folks!

Version 3.4 of LDLIST is available for download at
http://user.tninet.se/~hbh828t/ldlist.zip

<BLURB>

Summary:

Ldlist is a little Windows program made for searching the available
LDRAW .DAT files. Combined with a built-in piece preview, it's a
fast way to find that brick, whatever it's name, number or
description.

You can for example enter 'roof glass', and immediately see the
results:

2348B.DAT  Car Roof  4 x 4 Sunroof Glass with Ridges
2348A.DAT  Car Roof  4 x 4 Sunroof Glass with Ridges
4448.DAT   Window    4 x 4 x 3 Roof Glass

If You click on one of the result lines, a preview of that brick will
be drawn.

The search is incremental (as soon as You write a letter, You only see
those bricks that match), and is (at least on my machine)
instantaneous.

By starting the search string with a " (double quote), You will only
see bricks with an exact match, spaces included.

News in version 3.4:

- Stores all settings in LDRAW.INI - size, view, scale
- You can use all the views You have set up in LDRAW.INI
(You can still use the old way of setting views for ldlist)
- CTRL-C copies the currently selected brick text to the Clipboard
(What are You going to use that for, Terry?)

Acknowledgments:

LDLIST would not have been possible without Paul Gyugyi's Ldlite!

Warning:

As my port of Ldlite is a bit dated (and not completely correct!),
some memory leaks are still there, so if You use LDLIST full screen
for a while, Your swap file may get a bit large. Just exit LDLIST
and restart...

</BLURB>

Well, that's about it... What are You waiting for? Go get it.

--
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm


Subject: 
Re: Small search program for LDRAW parts - Version 3.4 available
Newsgroups: 
lugnet.cad
Date: 
Sat, 13 Feb 1999 01:58:47 GMT
Viewed: 
658 times
  
On Fri, 12 Feb 1999 22:37:17 GMT, "Anders Isaksson"
<isaksson.etuna@REMOVEebox.tninet.se> wrote:

OK folks!

Version 3.4 of LDLIST is available for download at
http://user.tninet.se/~hbh828t/ldlist.zip

WooHoo!


- You can use all the views You have set up in LDRAW.INI
(You can still use the old way of setting views for ldlist)
- CTRL-C copies the currently selected brick text to the Clipboard
(What are You going to use that for, Terry?)

When people ask questions here or on RTL or email, and I need to reference a
part in LDraw.  I am too lazy to memorize and type the whole name.  :-)
I also bugged Steve about breaking that (unintentional) feature in LDAO's VEC
window.   So, seeing as I use LDList more and more, I found I missed that
CTRL-C capability.


Well, that's about it... What are You waiting for? Go get it.

Just a sec, not done reading....

Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm


Done!  Thanks.

-- Terry K --


Subject: 
Re: Small search program for LDRAW parts - Version 3.4 available
Newsgroups: 
lugnet.cad
Date: 
Mon, 15 Feb 1999 15:02:43 GMT
Viewed: 
807 times
  
On Sat, 13 Feb 1999 01:58:47 GMT, legoverse@geocities.com (Terry K)
wrote:

I also bugged Steve about breaking that (unintentional) feature in LDAO's VEC
window.

In LDAO 2.0.2, is that fixed now, or still broken for you?

Steve


Subject: 
Re: Small search program for LDRAW parts - Version 3.4 available
Newsgroups: 
lugnet.cad
Date: 
Sat, 20 Feb 1999 07:11:10 GMT
Viewed: 
828 times
  
On Mon, 15 Feb 1999 15:02:43 GMT, blisses@worldnet.att.net (Steve Bliss) wrote:

On Sat, 13 Feb 1999 01:58:47 GMT, legoverse@geocities.com (Terry K)
wrote:

I also bugged Steve about breaking that (unintentional) feature in LDAO's VEC
window.

In LDAO 2.0.2, is that fixed now, or still broken for you?

Steve

Still broke for me.  :-(

-- Terry K --


Subject: 
Re: Small search program for LDRAW parts - Version 3.4 available
Newsgroups: 
lugnet.cad
Date: 
Mon, 22 Feb 1999 13:51:00 GMT
Viewed: 
888 times
  
On Sat, 20 Feb 1999 07:11:10 GMT, legoverse@geocities.com (Terry K)
wrote:

On Mon, 15 Feb 1999 15:02:43 GMT, blisses@worldnet.att.net (Steve Bliss) wrote:

On Sat, 13 Feb 1999 01:58:47 GMT, legoverse@geocities.com (Terry K)
wrote:

I also bugged Steve about breaking that (unintentional) feature in LDAO's VEC
window.

In LDAO 2.0.2, is that fixed now, or still broken for you?

Steve

Still broke for me.  :-(

OK.  Let me make sure we're saying the same thing.  In the VEC, I can
point at a part-image, and the box at the bottom of the window displays
the number and description.  I then drag my mouse across the text to
highlight the part-number.  After right-clicking on the selection, I can
pick 'copy' from the pop-up menu.

Is this how you are trying to grab the part-number?  If not, let me know
how you would do this, and I'll see if I can support your approach.

Steve


Subject: 
Re: Small search program for LDRAW parts - Version 3.4 available
Newsgroups: 
lugnet.cad
Date: 
Mon, 22 Feb 1999 21:45:29 GMT
Viewed: 
831 times
  
On Mon, 22 Feb 1999 13:51:00 GMT, blisses@worldnet.att.net (Steve Bliss) wrote:

On Sat, 20 Feb 1999 07:11:10 GMT, legoverse@geocities.com (Terry K)
wrote:

On Mon, 15 Feb 1999 15:02:43 GMT, blisses@worldnet.att.net (Steve Bliss) wrote:

On Sat, 13 Feb 1999 01:58:47 GMT, legoverse@geocities.com (Terry K)
wrote:

I also bugged Steve about breaking that (unintentional) feature in LDAO's VEC
window.

In LDAO 2.0.2, is that fixed now, or still broken for you?

Steve

Still broke for me.  :-(

OK.  Let me make sure we're saying the same thing.  In the VEC, I can
point at a part-image, and the box at the bottom of the window displays
the number and description.  I then drag my mouse across the text to
highlight the part-number.  After right-clicking on the selection, I can
pick 'copy' from the pop-up menu.

Is this how you are trying to grab the part-number?  If not, let me know
how you would do this, and I'll see if I can support your approach.

Oh.  OK, that does work.  I can probably live with that.  I was highlighting
the text and then pressing CTRL-C to copy.

-- Terry K --


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