Sunday 6 January 2019

Creating Lego Instructions From The Command Line

As Brickalo (www.brickalo.com) now allows a computer to create multiple ldr files I wondered if it was possible to also create LEGO instructions, as PDF files,automatically from the command line.  Whilst the computer doesn't need any instructions they are still useful for us humans when physically building Lego models! After a bit of poking around I discovered it was possible to use the command line with the latest version of LPub3D v2.3.3

You can use the following command

"C:\Program Files\LPub3D\LPub3D.exe" -pe -o -f "C:\path\myFile.ldr"

Which will output a pdf file in the same folder as the ldr file (and with the same name - just with .pdf on the end) - The full list of command line options for LPub3D is here..

https://github.com/trevorsandy/lpub3d/issues/12

No comments:

Post a Comment