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 / 584
583  |  585
Subject: 
Re: Small search program for LDRAW parts - version 3.0
Newsgroups: 
lugnet.cad
Date: 
Fri, 22 Jan 1999 21:14:22 GMT
Viewed: 
570 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



Message has 3 Replies:
  Re: Small search program for LDRAW parts - version 3.0
 
(...) 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 -- (25 years ago, 23-Jan-99, to lugnet.cad)
  Re: Small search program for LDRAW parts - version 3.0
 
(...) 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 (...) (25 years ago, 24-Jan-99, to lugnet.cad)
  Re: Small search program for LDRAW parts - version 3.0
 
(...) 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 (...) (25 years ago, 26-Jan-99, to lugnet.cad)

Message is in Reply To:
  Small search program for LDRAW parts
 
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 (...) (25 years ago, 19-Jan-99, to lugnet.cad)

33 Messages in This Thread:












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