How I made the Parts Catalog

  1. Download and install LDraw and all the latest parts updates.
  2. Run mklst.exe to make a list of all the parts, sorted by description.
  3. Just running LDraw to create a bitmap of a part gives you a grey part at default orientation. This doesn't work for all parts.
  4. Use LEdit to create a model of every part. I gave the filename a p in front, because if you just LEdit a part number, you get the part file, and you don't want that.
  5. While editing the model file for a part, make sure it's oriented properly, and give it a color other than the default black. Most parts should be white, to save on printer ink, but if a part makes more sense in a different color, use that other color.
  6. Make a bitmap of every part model file. Rememeber that the 5-digit variants will need renaming as soon as you're done, to prevent them from over-writting each other.
  7. Use a size of 0.5 (-s0.5 on the command line) for most parts. Some of the really big ones need to be smaller, and some of the really small parts need to be bigger, as outlined here:
    brick slope:-s0.75
    (any part)
  8. Some types of parts also need to be at a different orientation (-a on the command line)
    printed brick:front
    printed brick slope:over
    printed 2x2 slope:front
    minifig leg:front
    minifig torso:front
  9. A sample command line would look like this: ldraw -ms -s0.75 -a1,0,0,0,1,0,0,0,1 p973p01
  10. The result is a bitmap, placed in the /LDRAW/BITMAP folder.
  11. Open the bitmap with MS Paint.
  12. Uncheck the "Draw Opaque" option from the Image menu.
  13. If the part seems incomplete from the bitmapping, you'll need to fix it.
  14. Click and drag to expand the canvas so you can add some text.
  15. Activate the text tool and draw a box. Change the font to Times New Roman and the size to 8 pt. Type the part number. Hint: the part number is the file name, which you can read in Paint's title bar.
  16. Choose the selection tool and select the text you just wrote. Position the text so as to take up the least amount of space. You may want to zoom in so you can be more precise.
  17. For bigger parts, align the base of the canvas with the lowest pixel of the part, and place the text to the side.
  18. For parts with a p in their number, align the bottom of the canvas 1 pixel below the p. For parts without a p, align the bottom of the canvas 3 pixels below the text.
  19. For all parts, crop the sides of the canvas so that the bitmap takes up the least amount of space.
  20. For smaller parts, center the part above its text, and give 1 pixel space on either side of the text.
  21. Open up MS Word. I've used also, but I don't like how pictures are inserted.
  22. Type the category of parts in 8 pt font. This is mostly for searching an open document, but it's also useful if you can't remember what LDraw calls a particular type of part.
  23. Make a table for basic parts. You don't need to take up ink and space with them. For example, there are a lot of basic bricks, and everybody knows what those are. So just list them.
  24. In MS Word, go to the Insert Menu, Choose Picture, then From File. Browse to the location of the bitmaps of the parts, and start inserting them, one by one. This can be done first, then organized, or you can reference the list and insert them in some semblance of order.
  25. Insert a footer with the revision number and the date.
  26. When everything's in order, check the page breaks.
  27. Print to PDF for the PDF version.
  28. Historically, I made the HTML version by using MS Word's Save as HTML function. But that makes for really, really messy code, and not everything always lines up properly that way. An acquaintance of mine says he's got a lot of time on his hands, so he's making one from scratch so it works better.

Updating the Catalog

Now that I've completed the catalog, updates have become much easier.
  1. Download and install the update from
  2. The update creates a text file in /LDRAW/MODELS/. Check this for part number changes.
  3. Open up the bitmaps who's numbers have changed. Change their filenames, then change the text in the bitmap itself.
  4. Open up PartCat.doc and replace the changed parts.
  5. On, they have a page with images of all the parts in the update. Keep this open and use it as a list to create new bitmaps, as detailed above.
  6. Insert the new parts into MS Word, both at the end under a "new" section, and in the categories where they go.

last updated 15 May 2004