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 / 3979
    Bulk processing —Jake McKee
   All, I am trying to figure out the fastest way to create images of all the parts in the LDRAW part library in all the colors. Please help! I have used the command line: c:\ldraw\ldlite\ldlite 3001.dat -MS (plus whatever color) But hand typing in (...) (24 years ago, 14-Jun-00, to lugnet.cad)
   
        Re: Bulk processing —Tim Courtney
     (...) LDAO has a VEC, or Visual Element Catalog, of all the parts. You can generate this VEC in the software, in the color of your choice. Maybe running through this a couple times could help you. (URL) this helps. -Tim (URL) timcourtne ICQ: (...) (24 years ago, 14-Jun-00, to lugnet.cad)
   
        Re: Bulk processing —Rui Manuel Silva Martins
     (...) Whell, if you have 4DOS installed on your computer you can simple do this: - Go to the "Parts" directory - issue the following command: select c:\ldraw\ldlite\ldlite (*.dat) -MS {plus whatever color} include the (), because they have special (...) (24 years ago, 15-Jun-00, to lugnet.cad)
   
        Re: Bulk processing —Steve Bliss
   (...) Here's another approach: Create a file whereever you've got ldlite.exe. Call this file onepart.bat, and put the following commands in it: erase c:\ldraw\bitmap\*.* start /wait ldlite %1 -MS -C%2 move c:\ldraw\bitmap\*.* c:\ldraw\cat\%1-%2.bmp (...) (24 years ago, 15-Jun-00, to lugnet.cad)
   
        Re: Bulk processing —Rui Manuel Silva Martins
     (...) Is this command (FOR) actually a DOS compatible batch command, or is it only available on NT (cmd) I'm asking this, because I don't remember a DOS (FOR) batch command, at least with this format. Thanks, for any info. See ya Rui Martins (24 years ago, 16-Jun-00, to lugnet.cad)
    
         Re: Bulk processing —Jonathan Wilson
      It was added sometime around dos 6.x I think. (24 years ago, 16-Jun-00, to lugnet.cad)
    
         Re: Bulk processing —Steve Bliss
     (...) Like Jonathan said, it was added in DOS 6.0. Maybe DOS 5.0, but definitely not before that. Looking at the command-line help for FOR in NT4, there are some options which could be used to streamline the process I described in my earlier (...) (24 years ago, 19-Jun-00, to lugnet.cad)
   
        Re: Bulk processing —Jake McKee
     Steve, This worked awesome. This is exactly what I needed. One last question though, how do I add a command to automatically say yes everytime I am prompted for the yes/no option for deleting files? Thanks! (...) in (...) (24 years ago, 17-Jun-00, to lugnet.cad)
    
         Re: Bulk processing —Steve Bliss
     (...) To be more specific than my e-mail response, change the command: erase c:\ldraw\bitmap\*.* to echo Y | erase c:\ldraw\bitmap\*.* in the onepart.bat file. That should resolve the problem. Steve (24 years ago, 19-Jun-00, to lugnet.cad)
   
        Re: Bulk processing —Jake McKee
   steve, is there a way to run an automatic routine to remove the "--01" from the filenames? thanks! jake (24 years ago, 19-Jun-00, to lugnet.cad)
   
        Re: Bulk processing —Steve Bliss
   (...) Hmm. It seems I gave you a bit of bad instructions. Probably has to do with giving you a script I hadn't actually run myself. ANYWAY, the command move c:\ldraw\bitmap\*.* c:\ldraw\cat\%1-%2.bmp actually creates a system of directories, one for (...) (24 years ago, 19-Jun-00, to lugnet.cad)
   
        Re: Bulk processing —Jake McKee
   steve, this --01 issue has brought up the concept of renaming files again. is there a batch way to rename a file based in part on what it currently is named? so file--01.gif is changed to file.gif thanks! jake In lugnet.cad, Steve Bliss writes: >In (...) (24 years ago, 22-Jun-00, to lugnet.cad)
   
        Re: Bulk processing —Jonathan Wilson
      (...) There is. What you do is you have these lines in your batch file. rename ?--01.gif ?.gif And so on, with more ? each time. That should work for you. (24 years ago, 22-Jun-00, to lugnet.cad)
   
        Re: Bulk processing —Steve Bliss
   (...) If you've already generated all the image files, you're going to have a hard time cleaning them up correctly. If you're willing to scrap the existing files, and regenerate all the images, you can get correct filenames with no problem. Jonathan (...) (24 years ago, 23-Jun-00, to lugnet.cad)
 

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