1
0
mirror of https://github.com/kristov/ldraw2stl.git synced 2025-05-28 04:20:09 -07:00
ldraw2stl/README.md
2025-03-19 22:08:52 +01:00

18 lines
677 B
Markdown

# ldraw2stl
Convert LEGO LDraw files to STL, for super-sizing and 3d printing!!
1) Locate the ldraw parts archive at [getting started](https://www.ldraw.org/help/getting-started.html) (note: the `wget` link below might go stale):
2) Install LeoCAD so you can find your parts (optional)
3) Make a note of the .dat file name in LeoCAD, and then run:
wget https://library.ldraw.org/library/updates/complete.zip
unzip complete.zip
bin/dat2stl --file ldraw/parts/3894.dat --ldrawdir ./ldraw > 3894.stl
Use the `--scale` argument to scale the part:
bin/dat2stl --file /usr/share/ldraw/parts/3894.dat --ldrawdir ./ldraw --scale 4 > 3894.stl
For a 4X scale one of those!