Repository navigation
v3.1 Just Ldr.exe
SEApp (Node.JS Single Executable Application) to get your Lego 3D models up and running easily.
- You only need:
ldr.exe(this one) from this repo, and- Web folder content (i.e. viewer) now bundled as well - will be extracted if it does not exist.
- Lego/LDraw parts libraries from complete.zip here and ldrawunf.zip there. They are the official and unoffical parts (archives) respectively.
- Put them in say
c:\LDraw_Data\LDraw\partsfolder.
- Put them in say
- Run:
Syntax: ldr.exe -p <port_number> -l <path_to_ldraw_libs> [optional_model_to_convert] Server mode E.g.s : ldr.exe ldr.exe -p 8080 -l "c:\LDraw_Data\LDraw\" ldr.exe --port 8080 --lego "c:\LDraw_Data\LDraw\" Generation/conversion mode E.g.s: ldr.exe c:\lego\millenium_falcon.ldr ldr.exe -l "c:\LDraw_Data\LDraw\" c:\lego\millenium_falcon.ldr- Omit optional_model_to_convert to run in web server mode and visit http://localhost/viewer.html to load and view your Lego models in .LDR files.
- Supply optional_model_to_convert, the input .LDR, to convert. Port not needed in this mode.
TODO?: Maybe bundle a copy of LDraw parts as defaults in case user hasn't setup any. So as to make it even more foolproof!