msx80

[Software] Blueprint, a building instruction generator for LDD

Recommended Posts

In the top bar of the editor you use to write messages.
It is the button represented by two angle brackets: <>

Edited by Calabar

Share this post


Link to post
Share on other sites
17 hours ago, cameronmiller1988 said:

This works great! any chance you could wrap blue render as well?

Already done! It's buried deep in the forum : 

 

 

 

Share this post


Link to post
Share on other sites
On 7/12/2016 at 11:41 PM, cameronmiller1988 said:

This did not work for me on Win7 64 bit. Version 21 does. Im not sure how to post any kind of reports but If you have a guide i'd be happy to give it a shot to get you any info you need.

 

Can you copy/paste the output in the console window (the black window)

 

On 7/12/2016 at 7:00 PM, tanakkas said:

Win10 Pro, JavaSetup8u111 ok

 

Glad to hear!

 

On 8/12/2016 at 2:14 AM, Malou said:

For MacOS, you can use this .command file. It should do the same thing as the windows .bat file. You still need Java JDK installed for it to work : 

http://dl.bbqsoftwares.com/LDD/blueprint_MacOS.command.zip

Or you can use this nice (but heavy) MacOS App Bundle that contain the Java JRE : http://dl.bbqsoftwares.com/LDD/Blueprint0022.dmg

 

Thanks Malou, i'll package the .command files in Blueprint (i hope i can do it on windows)

Share this post


Link to post
Share on other sites

Hello,

Here is the info from the command prompt when running the blueprint.bat file.

Initializing database..
Database is located in: C:\Users\cmiller\AppData\Roaming\Blueprint\database\brickcache.db
Cache is up to date (1x2075)
Exception in Application start method
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(Unknown Source)
        at com.sun.javafx.application.LauncherImpl.launchApplication(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.launcher.LauncherHelper$FXHelper.main(Unknown Source)
Caused by: java.lang.RuntimeException: Exception in Application start method
        at com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at org.lwjgl.system.Library.loadSystem(Unknown Source)
        at org.lwjgl.system.Library.<clinit>(Unknown Source)
        at org.lwjgl.system.MemoryAccess.<clinit>(Unknown Source)
        at org.lwjgl.system.Pointer.<clinit>(Unknown Source)
        at org.lwjgl.system.Platform.mapLibraryNameBundled(Unknown Source)
        at org.lwjgl.glfw.GLFW.<clinit>(Unknown Source)
        at blueprint.opengl.a.<init>(Unknown Source)
        at blueprint.opengl.d.<init>(Unknown Source)
        at blueprint.opengl.b.<init>(Unknown Source)
        at blueprint.b.b.a.a(Unknown Source)
        at blueprint.Blueprint.b(Unknown Source)
        at blueprint.Blueprint.initApp(Unknown Source)
        at a.a.start(Unknown Source)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(Unknown Source)
        at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(Unknown Source)
        at com.sun.javafx.application.PlatformImpl.lambda$null$173(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(Unknown Source)
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
        at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
        at com.sun.glass.ui.win.WinApplication.lambda$null$148(Unknown Source)
        ... 1 more
Exception running application blueprint.Blueprint

 

Share this post


Link to post
Share on other sites
5 hours ago, cameronmiller1988 said:

Hello,

Here is the info from the command prompt when running the blueprint.bat file.


Initializing database..
Database is located in: C:\Users\cmiller\AppData\Roaming\Blueprint\database\brickcache.db
Cache is up to date (1x2075)
Exception in Application start method
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(Unknown Source)
        at com.sun.javafx.application.LauncherImpl.launchApplication(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.launcher.LauncherHelper$FXHelper.main(Unknown Source)
Caused by: java.lang.RuntimeException: Exception in Application start method
        at com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at org.lwjgl.system.Library.loadSystem(Unknown Source)
        at org.lwjgl.system.Library.<clinit>(Unknown Source)
        at org.lwjgl.system.MemoryAccess.<clinit>(Unknown Source)
        at org.lwjgl.system.Pointer.<clinit>(Unknown Source)
        at org.lwjgl.system.Platform.mapLibraryNameBundled(Unknown Source)
        at org.lwjgl.glfw.GLFW.<clinit>(Unknown Source)
        at blueprint.opengl.a.<init>(Unknown Source)
        at blueprint.opengl.d.<init>(Unknown Source)
        at blueprint.opengl.b.<init>(Unknown Source)
        at blueprint.b.b.a.a(Unknown Source)
        at blueprint.Blueprint.b(Unknown Source)
        at blueprint.Blueprint.initApp(Unknown Source)
        at a.a.start(Unknown Source)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(Unknown Source)
        at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(Unknown Source)
        at com.sun.javafx.application.PlatformImpl.lambda$null$173(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(Unknown Source)
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
        at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
        at com.sun.glass.ui.win.WinApplication.lambda$null$148(Unknown Source)
        ... 1 more
Exception running application blueprint.Blueprint

 

This error looks like you havent unzipped all the files and subfolders of the installation zip.

4 hours ago, cameronmiller1988 said:

Additionally when I run 0.0.21 and try to generate instructions for the attached files, I get some errors.

I have placed all the files in a zip archive here:
https://dl.dropboxusercontent.com/u/14398544/BluePrint 0021 Error.zip

This is the only file I have that is doing this. 

This is actually some broken data in the blueprint model. You have some "ghost" submodels with no steps in it:

F83wasB.png

 

they're a bug and will break the generation of instructions. To remove them, move away the valid submodel and remove the step completely.

Share this post


Link to post
Share on other sites

Its funny I just re downloaded the zip and it works great. I did not have all the info and I thought it was quite strange.

 

I also fixed my layout to get rid of the ghost steps. Thank you! for your help!

 

If I could submit a couple feature requests:
- When inserting a new step, it should retain the rotation data from the step previous.
- Allow sub sub models to be shown when you have the "treat as a callout" checked on the sub model
- In the layout page, have an option to  move the step to the previous/next page so it can be arranged as needed if there is space but the layout algorithm sees it as an issue. 

Share this post


Link to post
Share on other sites

I get an error when I try to run the .bat file. here is the output from the command window:

Exception in thread "main" java.lang.UnsupportedClassVersionError: blueprint/Blueprint : Unsupported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

 

Share this post


Link to post
Share on other sites
31 minutes ago, SylvainLS said:

Wrong Java version.

52.0 means Java 8.

 

Installed latest version of Java and tried to run Blueprint. The command window gave an error (which, unfortunately, I did not copy) which said that the Java version was it needed Java 7. Installed Java 7 and Blueprint worked fine, which is weird because

On 4/17/2015 at 8:05 AM, msx80 said:

Requirements:

  • Java8 (revision 8u40 or better)
  • Opengl capabilities, version 3.2 or better (if you have a semi-recent graphic card, you should be ok)
  • Lego Digital Designer

Anyway, thanks for the help.

Share this post


Link to post
Share on other sites

Wow I can't believe you guys sorting out the MAC thing after SOOOOOOO long, have got it running now.

I downloaded the package to the desktop, jumped in terminal and did the  - cd desktop/Blueprint0022 and the cut and pasted the command from the last page  

java -Djava.library.path=native -jar ./bin/blueprint.jar

Share this post


Link to post
Share on other sites

I'm trying to get the instructions for a model with about 4200 pieces.

But the program is very slow.

Can I do anything about that, or is the program not build for such big files?

 

Share this post


Link to post
Share on other sites

I tried Blueprint 0019 and 0020 on one of my ongoing LDD projects.

They both crashed with a "null!!!" message out of nowhere, but loading and saving again in LDD misteriously solved the issue on the 0020:
 

Rendering assembly x10
Centering viewport 1.0443491,0.30602288
Rendering assembly x20
null!!!
Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java
.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
        at blueprint.Blueprint.h(Unknown Source)
        at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
[...]


I also got lots of "Bounding box overflow" when (re)generating:

Rendering assembly x180
Centering viewport 0.32566673,-0.5251057
Bounding box overflow
Rendering assembly x190
Centering viewport 0.32566673,-0.5251057
Bounding box overflow
[...]

Here are a few quick suggestions for possible future releases.

  • Pieces should not be placed in mid-air.
  • Some parts should be grouped by default (torso assemblies, train motors... once loaded and parsed the LXF file if you scan the parts list for a "torso" probably there are "hands" parts as well, within reasonable radius).
  • Doors and windows including a glass should be in the same step of the glass (it was funny having those door glasses stuck in mid-air for a number of pages because I forgot to manually move them before regenerating).
  • It would be nice to have an option to add below the left pane a text list of the same pieces (something like: "1x ROOF TILE 1X2X3/74° INV, Bright Yellow").

It is difficult to spot parts less than some 30-40% visible; it would be nice to have some option to require the user to rotate the view or modify the step if visibility is below some threshold (maybe some thin guidelines on the x and y axes could be easier to implement). I had a hard time figuring where the heck that black 2x6 plate was intended for... and it was on the train wheels bearing element, hidden by the chassis.

Share this post


Link to post
Share on other sites

I solved my problem by cutting my LDD file in two. The biggest file was about 3800 pieces and it worked fine. By making groups in LDD I managed to get instructions for an model over 12000 pieces. Thanks for this great program.

Share this post


Link to post
Share on other sites

Yesterday I used Blueprint to start the building instructions for my new project, and everything went well. I used an old version (19), so I may need to get a newer.

Things I missed are: 

  • Being able to change the background color of submodels (I'll do it in photoshop...),
  • Adding text and common symbols, like "x2" or rotation arrows,
  • A cup of tea.

Share this post


Link to post
Share on other sites

I have used version 22 for a little bit and if you create a sub model and then place the second, third, etc set of parts on the step after the sub model then it will auto add the x2, x3, etc. You can also add arrows but it seems to be a little tough to do. 

You can see that here:
2fMScGl.png

VLsbI24.png

 

Share this post


Link to post
Share on other sites

I'm having some issues with generating high resolution instructions for print, there seems to be a max size on the bounding box for displaying the model. Anyone else run into this or found a work around?

I'm creating 8.5 x 11 at 300dpi which comes out to 3300 x 2550 px. Model and part zoom is only 200... 

31995544262_0c7ea1e5cd_b.jpgScreen Shot 2017-01-06 at 10.28.36 by James Eilers, on Flickr

Share this post


Link to post
Share on other sites
2 hours ago, supertruper1988 said:

I have used version 22 for a little bit and if you create a sub model and then place the second, third, etc set of parts on the step after the sub model then it will auto add the x2, x3, etc. You can also add arrows but it seems to be a little tough to do. 

You can see that here:
2fMScGl.png

VLsbI24.png

 

Awesome find! FYI, the submodel needs to be marked as a callout for it to work.

Share this post


Link to post
Share on other sites
3 hours ago, jameseilers said:

I'm having some issues with generating high resolution instructions for print, there seems to be a max size on the bounding box for displaying the model. Anyone else run into this or found a work around?

I'm creating 8.5 x 11 at 300dpi which comes out to 3300 x 2550 px. Model and part zoom is only 200... 

31995544262_0c7ea1e5cd_b.jpgScreen Shot 2017-01-06 at 10.28.36 by James Eilers, on Flickr

I too am having this issue at a similar resolution. I have been doing all my instructions at 300 dpi and I use 250% assembly zoom and 150% text zoom. I have not found a work around. 

Share this post


Link to post
Share on other sites

Hi msx80,

I just installed the program on my Mac, and it works very nicely. But I did think about the logo as it's in a very low resolution, and it has that big blue box around it. So, I thought about making a new one for you, if you want to use it. I based it on the same blue 1x1 plate as you are currently using. I did however change the angle a bit to make it fit in with peoples programs in the Dock (mac) or in the TaskBar (windows). Are you interested in using it in your program? If so, can I post a link directly here so you can see it?

//ThinkClever

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.