Exporting images


Exporting images
#1
Hello there,

I'm currently working on a new project and I'm quite new to all of this LEGO data. I was wondering if there is some way to download the LDraw's database of files and export them to .png's of .jpeg's. The thing here is, I would like to be able to link all parts to my rebrickable data.

Does anyone have any experience in this process?
Reply
RE: Exporting images
#2
You could use a batch file to make LDView generate all the pictures of parts contained in the LDraw/parts folder

LDView has a good documentation of its CLI interface
https://trevorsandy.github.io/lpub3d/ass.../Help.html
Reply
RE: Exporting images
#3
Read:

http://www.holly-wood.it/ldview-en.html

w.
LEGO ergo sum
Reply
RE: Exporting images
#4
(2025-02-08, 11:06)Gerald Lasser Wrote: You could use a batch file to make LDView generate all the pictures of parts contained in the LDraw/parts folder

LDView has a good documentation of its CLI interface
https://trevorsandy.github.io/lpub3d/ass.../Help.html

Thanks for your reaction, I would love to be able to do this based on LEGO part numbers and color id's. And an important part are the minifigures, those I would like to export as well. Would that be possible you think?
Reply
RE: Exporting images
#5
(2025-02-09, 12:13)Puk Jennekens Wrote: Thanks for your reaction, I would love to be able to do this based on LEGO part numbers and color id's. And an important part are the minifigures, those I would like to export as well. Would that be possible you think?

Yes, I would say it works.
In Bricklink you have to download the catalog.
In the catalog there is the relationship between the part ID and the Lego element number depending on the color.
But LDraw, Bricklink and Lego use different names and numbers for the colors. In addition, sometimes different part IDs are used. In addition, not all Lego parts, especially older parts, have a known Lego element number. Sometimes a part has several Lego element numbers and part IDs.
In LDraw, printed parts are only partially referenced to Bricklink.
I have solved this issue with the help of a database. The database must be maintained and expanded.

Good luck.
Reply
RE: Exporting images
#6
I did something similar when sorting out model renders for a custom Bricklink inventory. It can get messy fast with all the mismatched part numbers and colour IDs across LDraw, Bricklink, and LEGO. What worked for me was mapping them manually into a spreadsheet first, especially for minifigs and printed parts since those don’t always convert cleanly. I used LDView with CLI for exporting to get a decent, controlled output.
Reply
RE: Exporting images
#7
For colours the is this useful table on the setDB site -> https://www.merlinsbricks.com/colors/
Reply
RE: Exporting images
#8
Also, if you plan to make visuals more dynamic or combine them with other visuals or media, converting the renders or exports to lighter formats like MP4 will help dramatically. I’ve used this OGV to MP4 converter: https://www.movavi.com/video-converter/o...erter.html a few times; it keeps the quality and is quick.
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 1 Guest(s)