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 / 16385
16384  |  16386
Subject: 
Re: LDraw2BrickLink script
Newsgroups: 
lugnet.cad, lugnet.market.brickshops
Date: 
Wed, 19 Aug 2009 20:56:15 GMT
Viewed: 
20583 times
  
In lugnet.cad, Spencer Alves wrote:
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

It isn't very well advertised, but you should check out BrickStore
<http://www.brickforge.de/software/brickstore>  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 use both; as each has unique features.
I had a lot of fun and learned a lot creating it.  I might have even done it
again knowing Bitmap2LDraw already existed.

Scott W.



Message has 1 Reply:
  Re: LDraw2BrickLink script
 
(...) I've heard of BrickStore, but I didn't know it could import LDraw files and export XML for searching. I'll look into it. The script really wasn't much work gone to waste. I might still use it. Also, I made a Blender LDraw importer even though (...) (15 years ago, 23-Aug-09, to lugnet.cad, lugnet.market.brickshops)

Message is in Reply To:
  LDraw2BrickLink script
 
Hi, I made a simple Python script, which you can download here: (URL) takes an LDraw model file as input and outputs BrickLink XML, which can be pasted into a search here: (URL) might be useful for people who wish to build a mockup/prototype of a (...) (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

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