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 / 16384
16383  |  16385
Subject: 
LDraw2BrickLink script
Newsgroups: 
lugnet.cad, lugnet.market.brickshops
Date: 
Wed, 19 Aug 2009 19:09:17 GMT
Viewed: 
19994 times
  
Hi,
I made a simple Python script, which you can download here:
http://impiaaa.googlepages.com/ldraw2bricklink.zip
that takes an LDraw model file as input and outputs BrickLink XML, which can be
pasted into a search here:
http://www.bricklink.com/storeFilter.asp
It might be useful for people who wish to build a mockup/prototype of a model in
LDraw, then order the parts to build it in real life. An alternative use is
getting your Lego Factory creations for a much cheaper price. :-)

Instructions for use:
1. Download and unzip the script.
2. Download and install Python v2.6 (www.python.org) if you haven't already.
3. Enter this into the command prompt:
python <path-to-script> <path-to-model-file>
(replace <path-to-script> with the full file path and file name of the script,
and <path-to-model-file> with the full path to the model file that you wish to
use)
4. Press return/enter.
5. Copy and paste the resulting XML into the BrickLink store search page. Press
search.
Ta-da! A list of stores with the parts you need will appear.

-Spencer



Message has 1 Reply:
  Re: LDraw2BrickLink script
 
(...) It isn't very well advertised, but you should check out BrickStore (URL) It is open source and does the same thing in a GUI. After spending hours and hours programming StickerGenerator, I was told that there was already a Bitmap2LDraw. I now (...) (15 years ago, 19-Aug-09, to lugnet.cad, lugnet.market.brickshops)

5 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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