General‎ > ‎

Custom version (LPub5)

Since the developent of LPub has come to an end by the original author, there are some custom versions available.
One of those versions is one where you can make more then one page with BOMs.

Custom BOMs

Through my contacts I got this version of LPub that makes it possible to make more than one page BOMs where one can specify what color bricks are on the BOM pages.
Say you have a model with mainly many grey bricks you could generate a BOM page with only grey bricks and a BOM page with all the rest of the used colors.
Also very usefull for large models!
This modification was done by Jean-Noël Meurisse for his son Guillaume to create building instructions for his model of a New-Holland excavator.

Also new in this version

  • export one page at a time (very convenient when there is an error only on one page)
  • permits to move callouts on a page with two steps
  • fixed add text
  • added the link to this online manual in the Help menu

Download

If you like to try it, you can download it below.
Just unpack the contents of the zip file in a new folder "LPub5" or similar right next to and under the folder you installed LDraw.
Typically this would be something like C:\LDraw or C:\Program Files\LDraw.
Start LPub by clicking the lpub.exe file in the folder.
This compiled version is Windows only.

Usage for custom BOMs

You could also do this in a text editor of your choice to prevent LPub from generating the complete BOM each time you alter.

Working in the LPub editor add a step in the main model file after the final building step and insert a page and then insert the BOM.
After the BOM has been generated add the LDraw color code for the color you want to show on that specific page of the BOM.
Alter settings and size of the BOM if you like and refresh the page to re-generate the BOM or flick
You can use more than one color by separating the color codes by a space.

You should add ALL colors used in the model, so you'll have to figure that out.
And have atleast 2 pages with BOMs.
Depending on how you want to split the BOM into colors you can more pages and split out more colors.

The code should look something like this:

0 STEP
0 !LPUB BOM CONSTRAIN LOCAL HEIGHT 4.38
0 !LPUB INSERT PAGE
0 !LPUB INSERT BOM 71 72
0 STEP
0 !LPUB BOM CONSTRAIN LOCAL HEIGHT 4.16
0 !LPUB INSERT PAGE
0 !LPUB INSERT BOM 0 1 2 4 15 19 28 40 47 70 80 288 320

In the example above 2 pages with BOMs are made. One with light and dark bluish grey bricks and one with the rest of the colors bricks used.

ċ
LPub5.zip
(5168k)
Jaco van der Molen,
Jun 24, 2015, 4:37 AM