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
  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 (...) (26 years ago, 19-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts
 
(...) Nifty little program, Anders! Thanks, this should come in handy. :-) -- Terry K -- Off to add this as "Tool" to LDAO (26 years ago, 20-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts
 
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) (...) (26 years ago, 20-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts
 
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 (...) (26 years ago, 20-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts
 
Steve Bliss skrev i meddelandet <36a61e13.5604179@lu...et.com>... (...) 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 (...) (26 years ago, 20-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts
 
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 (...) (26 years ago, 21-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts
 
(...) 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 (...) (26 years ago, 21-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts
 
(...) I typed 'roof glass' (without the quotes). Steve (26 years ago, 21-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts
 
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, (...) (26 years ago, 21-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts (Problem fixed!)
 
Osvaldo Fernandez skrev i meddelandet ... (...) that (...) as (...) 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 (...) (26 years ago, 21-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - version 3.0
 
I 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 (...) (26 years ago, 22-Jan-99, to lugnet.cad)
 
  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 -- (26 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 (...) (26 years ago, 24-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - version 3.0
 
Robert Wallace skrev i meddelandet ... (...) had (...) I'm nagging myself about that :-) It will be there in the next release (no promises when...) -- Anders Isaksson, Sweden BlockCAD: (2 URLs) (26 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 (...) (26 years ago, 26-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - version 3.0
 
Terry K skrev i meddelandet <36ad6cd9.2555515@lu...et.com>... (...) a place to (...) Thanks Terry! I owe You one (1) bug-finder fee :-)) The new version is posted at the same place as before, (URL) also does an immediate redraw when the view/scale (...) (26 years ago, 26-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - version 3.0
 
(...) I must owe Terry an entire swarm by now... Steve (26 years ago, 26-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - version 3.0
 
(...) 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 (...) (26 years ago, 28-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - version 3.0
 
(...) OK, let me think of what I want.... (...) That will do. Paid In Full. -- Terry K -- (26 years ago, 28-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - version 3.0
 
(...) 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 -- (26 years ago, 28-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - version 3.0
 
Robert Wallace skrev i meddelandet ... (...) Never satisfied, are You? :-)) (...) 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 (...) (26 years ago, 28-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - version 3.0
 
(...) 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 (...) (26 years ago, 28-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - version 3.0
 
Steve Bliss skrev i meddelandet <36b0c996.28083142@l...et.com>... (...) programs (...) of (...) Why didn't _I_ think of that? -- Anders Isaksson, Sweden BlockCAD: (2 URLs) (26 years ago, 28-Jan-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts
 
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 (...) (26 years ago, 11-Feb-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts
 
[ Comments interspersed ] Terry K skrev i meddelandet <36c28525.3823466@lu...et.com>... (...) Easy as one, two, three... plop! Should I save the info in LDraw.INI or in a separate .INI-file? (...) Have to think about that one... (...) This is (...) (26 years ago, 11-Feb-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts
 
(...) 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 (26 years ago, 11-Feb-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - Version 3.4 available
 
OK folks! Version 3.4 of LDLIST is available for download at (URL) 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 (...) (26 years ago, 12-Feb-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - Version 3.4 available
 
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 (...) (26 years ago, 12-Feb-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - Version 3.4 available
 
(...) 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 (...) (26 years ago, 13-Feb-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - Version 3.4 available
 
(...) In LDAO 2.0.2, is that fixed now, or still broken for you? Steve (26 years ago, 15-Feb-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - Version 3.4 available
 
(...) Still broke for me. :-( -- Terry K -- (26 years ago, 20-Feb-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - Version 3.4 available
 
(...) 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 (...) (26 years ago, 22-Feb-99, to lugnet.cad)
 
  Re: Small search program for LDRAW parts - Version 3.4 available
 
(...) 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 -- (26 years ago, 22-Feb-99, to lugnet.cad)

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