LDraw.org Discussion Forums

Full Version: Unoffcial part not showing up in LPub3D in the PLI and BOM
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi all,

What does LPub3D require to count and render an unofficial part, because I have this part not showing up in the PLI and BOM of a model. It is part 20310 (Design Brick) mocked up by Magnus.
Where ever I put it, LPub3D just won't count it nor render it in PLI and BOM.
It is rendered in de assembly images though, so it can find the part.
It is in the folder C:\Users\Public\Documents\LDraw\Parts
I manually added it to the parts.lst file like this:
Code:
20310.dat                  Brick  1 x  1 with Capital Open Stud (Mock-up)
Please help! I need some instructions done this weekend... :-(

Thanks.

P.S. LPub 4.0.0.11 (on the same system) renders and counts it just fine in the assembly images, PLI and BOM
Hmm, something very very strange just happened. The part showed up!
The preview in LPub3D did NOT show the part in PLI and BOM. Refresh all caches did not help either.

But.... making a PDF of the instructions suddenly generated it!
Returning to LPub3D the part is there!

How?
Hmm, it happened again. Used an unofficial part and it refuses to show up in the PLI and BOM.
In this case it did work before and suddenly it is gone.

What could be causing this?

The most frustrating thing is that part 20310.dat in the model that worked yesterday now does not show up anymore too.
Rendering a PDF of PNG does not solve it now :-(
OK, either I am going crazy or my laptop is playing tricks on me.
The 20310.dat is there again after opening another model and then reopening the model the part is in.

What I see now when I hover the mouse over the part in the PLI and BOM is that the description is different from what I have in my parts.lst in my LDraw folder.

"Brick 1 x 1 with Scroll with Open Stud" which is the name of it on the Parttracker:
http://www.ldraw.org/cgi-bin/ptdetail.cgi?s=20310

Where does LPub3D get that from?

The version I have is a mock-up that Magnus Forsberg made for me in this thread
http://forums.ldraw.org/showthread.php?t...4#pid20754
It has description "Brick with Capital Open Stud (Mock-up).
EUREKA! Found it!

LPub3D looks for unofficial parts in ldrawunf.zip in the folder LDraw3DViewer-Library
(on my system C:\Users\Public\Documents\LDraw\LDraw3DViewer-Library)

I downloaded it again in LPub3D using Tools > Refresh LDraw unofficial parts
and saw that the part I use was not in the zip and thus not on the parttracker.

3039pcb2.dat
Where Grey in "Slope Brick 45 2 x 2 with Radar and Disk Slot Grey Pattern" needs to change to Black.

Philo once modified it for me from the official 3039pcb.dat which has indeed Grey pattern. But there is a black version too.
So, Philo, if you read this: can you upload 3039pcb2.dat to the tracker and modify the description too? Once again, I thank you.
Quote:Philo once modified it for me from the official 3039pcb.dat which has indeed Grey pattern. But there is a black version too.
So, Philo, if you read this: can you upload 3039pcb2.dat to the tracker and modify the description too? Once again, I thank you.
Here it is... http://www.ldraw.org/cgi-bin/ptdetail.cg...039pce.dat
Was not uploaded before because the pattern is not really matching the real part!
Hi All,
I am having the same issue.  I have custom LDraw parts for altBricks and when I tried to render the model the element will render in the model but not the BOM or the PLI.  But this case is different because it is not official or unofficial. :-)  
This sounds like a bug. Is there a way to get these elements rendered in the BOM and PLI if its in the model?
BTW Will the LDraw board except/add non LEGO parts?  I'd love to have the altBricks element included in the LDraw download. 
Steve Barile
altBricks
I tried to add the file names to the pliSubstituteParts.lst file and no help. And copied the files to the unoffical directory, no help. Did I understand that LPub3D is checking the zip file?
Steve
Yes Steve, that is (still) correct.
Unofficial parts do render in the model, but sometimes not in the PLI and BOM because they are not in the zip.
(2016-09-02, 23:22)Steve Barile Wrote: [ -> ]I tried to add the file names to the pliSubstituteParts.lst file and no help.  And copied the files to the unoffical directory, no help.   Did I understand that LPub3D is checking the zip file?
Steve

Hi Steve,

Unofficial parts are automatically added to the LPub3D archive which is then loaded into memory on application startup. When LPub3D checks the PLI list it is verified against the part list in memory; therefore, if for some reason your part was not updated to the archive file, it is unlikely to be represented in memory and will not be detected/added to the PLI. This scenario is not common and should only exist if there is some path or configuration issues preventing automatic update of the LPub3D archive library.

From your description above, a more common cause for not seeing your unofficial part in the PLI/BOM is due to the fact that there is no meta line in the part file stating that it is a part. LPub3D recognizes the LDraw standards 0 !LDRAW_ORG Unofficial_Part and 0 !LDRAW_ORG Unofficial Part, and the LDCad generated meta 0 UNOFFICIAL PART. 

Cheers,
Pages: 1 2