LDraw.org Discussion Forums
Generate LDCad parts bin custom list. - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html)
+--- Thread: Generate LDCad parts bin custom list. (/thread-15309.html)

Pages: 1 2 3 4 5 6


Generate LDCad parts bin custom list. - Trevor Sandy - 2015-01-27

You can generate LDCad parts bin lists using this modified version of BrickUtils: BrickUtils-0.2.0.0(trev).jar, (.exe version).

Other modifications include the ability to create part-mappings. For a complete list of BrickUtils modifications see the ChangeLog.

This application is distributed under the terms of the GNU General Public License. You can download the source code here.

BrickUtils is free software developed by Mario Pascucci and is available on SourceForge.

For example, after importing bricklink .xml set into BrickUtils(trev)...

Following are the steps to generate a .pbg file (LDCad parts bin list):

   


.png   BrickUtils_02.png (Size: 7.54 KB / Downloads: 150)


.png   BrickUtils_03.png (Size: 6.86 KB / Downloads: 148)

   

   

Do not hesitate if you have any questions or remarks.

Cheers,
Trevor


Re: Generate LDCad parts bin custom list. - Roland Melkert - 2015-01-27

Very handy indeed.

This is now (as far I know of) officially the first 3rd party support tool for my LDCad, thanks Smile


Re: Generate LDCad parts bin custom list. - Jason Smith - 2015-01-28

Trevor I'm trying to run this on Ubuntu, which .jar file is the one to start? I tried to create a runme.sh of a few but couldn't get it to go.


Re: Generate LDCad parts bin custom list. - Trevor Sandy - 2015-01-28

Hello Jason - sorry, the previous executable jar file contained only Windows library jars (gluegen & jogl), as it was the dev version ;-).

I have since updated the download jar. The current download now contains the full cross-platform compliment of library jars.

I suspect the missing linux platform glugen and gogl jars may have caused your issue. Please try the current download and let me know if you continue to have unexpected behavior.

To answer your question, start the BrickUtils-0.2.0.0(trev).jar file. The launch class is brickUtils.

java -jar <filename>.jar should do - I would rename the file:-).

Please note that I did not run/test on linux; however, I do not believe my updates would have impacted the original BrickUtils cross-platform compatability.

Cheers,
Trevor


Re: Generate LDCad parts bin custom list. - Trevor Sandy - 2015-01-28

You are welcome! LDCad is an excellent application.


Re: Generate LDCad parts bin custom list. - Jason Smith - 2015-01-28

Well it worked Smile Fantastic I must say.

The only issues I had was it wouldn't run until I renamed it, more specifically I had to remove the () from the file name. For some reason it ran after removing just those.

Then it just hung on downloading the LDraw library zips, it just sat at 0% forever. So I simply copied the two zips into the folder and it started right up.

I went through your steps above with a recent moc of mine and it all worked great.

Great work, thank you.


Re: Generate LDCad parts bin custom list. - Trevor Sandy - 2015-01-28

Excellent, you are welcome!

Cheers,
Trevor


Re: Generate LDCad parts bin custom list. - Philippe Hurbain - 2015-02-24

I used your tool to build this http://forums.ldraw.org/showthread.php?tid=15670&pid=15670#pid15670 - very handy!
Actually the only thing I struggled with was downloading xml from Bricklink...

I initially expected LDCad to decrease part count as they are used in the model, but I realize now that it is far from obvious to do when using submodels!


Re: Generate LDCad parts bin custom list. - Merlijn Wissink - 2015-02-24

I download my xml files from Rebrickable, that's a lot easier than Bricklink.


Re: Generate LDCad parts bin custom list. - Roland Melkert - 2015-02-24

Philippe Hurbain Wrote:I initially expected LDCad to decrease part count as they are used in the model, but I realize now that it is far from obvious to do when using submodels!
That's a planned feature Smile