Home

Awesome

Molecular Addon for Blender

Blender-Molecular-Script

This is the molecular python script for blender, originally coded py Pyroevil. Inspired from the 2d simulator Really (1998) and Lagoa Multiphysic in Softimage.

To download the latest version go to the release section of this repository.

The script can be installed like any other addons in Blender: First way:

or

Second Way:

To activate the plugins:

How to manually build Molecular:

In order for a manual recompilation clone this repo and just run

python make_release.py

from within the "Blender-Molecular-Script" folder on your desired platform,

with a python version matching blender's own being installed. (and cython, too. install with pip for example)

Or alternatively, run

python setup.py build_ext --inplace

from the "sources" folder.

How to add UVs to molecular particle instances:

This didnt seem to work in blender 3.2.x any more and was fixed in 1.1.4. Should also apply to blender 3.1.x but that was not tested by me.

When the UV data is being baked during the simulation, it will be written into the angular velocity cache part of the particle system at the moment.

Hence you can retrieve it via a particle info node later on in order to feed it into the vector socket of the texture node. Note that the Particle Info Node belongs to the Material on the Sphere aka the object which is being instanced. In the example blend file there is also a Particle Info Node on the Cube material, but it doesnt really belong there. Rather it was added by mistake.

Example with 10x10x10 Grid: molecular_bake_uv

Same Example with 30x30x30 Grid molecular_bake_uv_high

Remarks: