KaiKostack / bullet-constraints-builder

Add-on for Blender to connect rigid bodies via constraints in a physical plausible way. (You only need the ZIP file for installation in Blender. Click the filename and at the next page "Download", right click and "Save As" won't work!)
https://inachuslaurea.wordpress.com
GNU General Public License v2.0
135 stars 21 forks source link

Doesn't Build #5

Closed parsarahimi closed 5 years ago

parsarahimi commented 6 years ago

Doesn't build, I'm not using your example projects, I got my own model and it doesn't build when I press the button And sometimes when I press the build button blender gets stuck in the not responding state

KaiKostack commented 6 years ago

This can have many reasons, have a look at the console for possible error messages. If this doesn't help you then please provide a test file, so that I can reproduce the problem.

parsarahimi commented 6 years ago

It seems like its just that my model is too large, I have 11000 parts (they are all cuboids though) But since I can run the simulation at around 1 fps without the plugin why am I not able to build the constraints?

Here is the model I used, it has to be scaled up after importing Building2.zip

KaiKostack commented 6 years ago

Yes, it's pretty large. I recommend to start smaller to get familiar with the BCB, and then you can go back to the large structure. You need to create at least one element group to perform a simulation, try to add a "default" preset to the Element Group List, then you are good to go.

parsarahimi commented 6 years ago

Oh I did and I am familiar with BCB... The model I created is made using scripts, there are no overlaps... do you think you can configure the plugin in such a way that constraints are set from two polygons touching surfaces? This way you will be optimizing the search process Seems like anything over 2000 objects leads to this crash (not responding) Did you use a special version of the program to create this? https://www.youtube.com/watch?v=yu2bQtIS69g&t=57s

KaiKostack commented 6 years ago

Not responding doesn't necessarily mean it's crashed, it just means that the program is busy doing stuff. Keep the console open to see what happens. The program does exactly what you are asking for, it detects geometry in contact from different objects and creates constraints there. The Chennai building had like 6k elements, only half as many as your test file. This can work but takes quite some time to build. We use the Fracture Modifier (FM) Blender build to improve build and simulation speeds. Just press the "Build FM" instead of the "Build" button if you have the build. If not, you can get one from here: http://kaikostack.com/fracture Anyway, for me it works, it just takes time. Here is a reduced version with basic settings: building2a.zip

parsarahimi commented 6 years ago

You are right! the program is making progress, In the console it shows how many constraints are being written... Its just that I was expecting it to take less than 2 minutes for it to complete. Thank you for your help and the plugin, I hope I will be able to contribute to your work by making a few showcases

KaiKostack commented 6 years ago

Showcases are very nice, we are looking forward to it. :)