Giter Site home page Giter Site logo

pyroevil / blender-molecular-script Goto Github PK

View Code? Open in Web Editor NEW
106.0 106.0 73.0 31.83 MB

This is my molecular python script for blender. A bit similar to Lagoa Multiphysic in Softimage.

Home Page: http://blenderartists.org/forum/showthread.php?233643-SCRIPT-Moleculars-physics

Python 99.77% Shell 0.23%

blender-molecular-script's People

Contributors

pyroevil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blender-molecular-script's Issues

Replace KD-Tree with Octree

Hi bro, i heard that you wanted to replace KD-Tree with Octree.
Long story short, i managed to write the Octree version last night to test it:
image

the results are more or less the same, it can crash on breaking point (sometimes works fine no issue) that i need to investigate what is wrong with it but i in the matter of performance I did not gain so much speed from it.

Octree
image
I think the actual bottleneck is Blender and the connection between Python itself. every time we have this connection all processes should respect the GIL lock and we depend on particles and collision in the blender so I imagine with every update how much performance we could lose.
One thing that I noticed with Octree we need almost 3 times more memory. i hope that helps.
i think i do not know how to use the debugging symbols in Blender it gives me nothing, absolutely nothing. can you help me with that?

Pyro Evil Website is down

Hi there, I'm trying to download the latest version of this add-on from the link you've posted but I'm getting an "Account Suspended" message from your website.
Is there anywhere else I can get this addon?
Thanks,
Ben

Some memory issue

Hi, I'm using Pavel's fork on blender 2.8
Ever since older versions until now, when I start molecular simulation my memory usage skyrocket. For simple 3000 particles, 0 substeps, when I reach about 80 frames calculated blender is using 5gb of Ram and doesn't release on cancellation.

Break the code into modules

But first you need to get rid of global variables.
Here are the approximate names of the modules:
__init__, operators, panels, properties.

Groups as an integer value

Change the group type to an integer value.
Now there is a limit of 11 groups.
It is necessary that this restriction does not exist.

Not able to clear interrupted baking simulation

Screen Shot 2020-09-20 at 8 19 18 PM

Screen Shot 2020-09-20 at 8 20 15 PM

Firstly, thanks for making this great plug-in 😍

When doing the simulation if fx. force shutting down Blender, or crash and reopening the file the simulation baking button is stuck in the countdown mode, and I am not able to clear it. Even if making a new object, it is still stuck. I would need to make a new blender file and start from scratch.

Blender 2.9 - Mac

system-info.txt

Running from commandline not working

When I try to render a file from the commandline, it seems that molecular is not running. Everything just renders as if normal particle physics runs.

I've tried setting the -y flag and adding it to the --addons explicitly.

Am I overlooking something? Is there a way to trigger the addon via python? (pretty new to programming blender with python)

Bake UVs Bug

if you enable the "Bake UV at ending" option, there will be an error:

  File "C:\Program Project\Blender Foundation\Blender 2.79\2.79\scripts\addons\molecular\__init__.py", line 769, in modal
    bpy.ops.object.mol_set_active_uv()
  File "C:\Program Project\Blender Foundation\Blender 2.79\2.79\scripts\modules\bpy\ops.py", line 189, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Ошибка: Traceback (most recent call last):
  File "C:\Program Project\Blender Foundation\Blender 2.79\2.79\scripts\addons\molecular\__init__.py", line 669, in execute
    mod.use_beauty = False
AttributeError: 'TriangulateModifier' object has no attribute 'use_beauty'

location: C:\Program Project\Blender Foundation\Blender 2.79\2.79\scripts\modules\bpy\ops.py:189



location: <unknown location>:-1

Blender version: 2.79

Can't install check the box in liunx after installing the addon

this is the output

Traceback (most recent call last):
  File "/home/tusqasi/Downloads/blender-2.83.6-linux64/2.83/scripts/modules/addon_utils.py", line 382, in enable
    mod.register()
  File "/home/tusqasi/.config/blender/2.83/scripts/addons/molecular/__init__.py", line 42, in register
    from . import properties, ui, operators
  File "/home/tusqasi/.config/blender/2.83/scripts/addons/molecular/operators.py", line 7, in <module>
    from . import simulate, core
ImportError: /home/tusqasi/.config/blender/2.83/scripts/addons/molecular/core.cpython-37m-x86_64-linux-gnu.so: undefined symbol: __powf_finite

Linking Group

Add the ability to specify a group to create links.

No Python 3.8 support, cannot import name 'clock' from 'time' (unknown location)

Hello, I cannot import molecular script, Blender 2.8 runs on Python 3.8, which doesn't support time.clock.
Traceback (most recent call last): File "/usr/share/blender/2.81/scripts/modules/addon_utils.py", line 351, in enable mod = __import__(module_name) File "/home/flynn/.config/blender/2.81/scripts/addons/molecular/__init__.py", line 41, in <module> from time import clock,sleep,strftime,gmtime ImportError: cannot import name 'clock' from 'time' (unknown location)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.