1
0
mirror of https://github.com/kristov/ldraw2stl.git synced 2025-05-15 14:20:11 -07:00
ceade c05cf2c4da Attempt to fix incorrectly inverted sub-parts
There was bad behaviour if there were nested include files combined with a recursive invert flag, resulting in incorrect surface normals for sub-parts. For example try ldraw/parts/3020.dat before this commit. This is not the best way to solve the problem, but it may suffice for now. IMO the best way would be to "flip" the invert flag between states, rather than explcitely set it to 1 or 0. That way recursively setting invert would simply flip the flag.
2020-04-30 22:57:17 +02:00
2020-04-30 21:50:18 +02:00

ldraw2stl

Convert LEGO LDraw files to STL, for super-sizing and 3d printing!!

  1. Get the ldraw parts archive at :

    wget http://www.ldraw.org/library/updates/complete.zip unzip complete.zip bin/dat2stl --file ldraw/parts/3894.dat --ldrawdir ./ldraw

  2. Install LeoCAD so you can find your parts (optional)

  3. Make a note of the .dat file name in LeoCAD, and then run:

bin/dat2stl --file /usr/share/ldraw/parts/3894.dat --ldrawdir ./ldraw --scale 4 > 3894.stl

For a 4X scale one of those!

Description
No description provided
Readme 66 KiB
Languages
Perl 100%