Repository navigation
Installation
Orlando Garcia-Feal edited this page Nov 25, 2019
·
6 revisions
In order to install VisualSPHysics you have to first install latest version of Blender for your system.
If you don't have it already, you need to install Visual Studio 2015 redistributable package. You can download it from here. You may need to restart your system afterwards.
Now download the latest precompiled version of VisualSPHyiscs for Windows from here.
To install the add-on in Blender you have to follow these steps.
No binary packages are distributed for GNU/Linux, so you have to download the source code and compile it for your system.
You have to install Blender, CMake, GCC, VTK and Python3 packages in your system.
wget https://github.com/EPhysLab-UVigo/VisualSPHysics/archive/master.zip
unzip master.zip
cd VisualSPHysics-master
mkdir build
cd build
cmake ..
make
zip -j VisualSPHysics.zip ../blendermodule/VisualSPHysics.py foamsimulator/diffuseparticles.so vtkimporter/vtkimporter.so
To install the add-on in Blender you have to follow these steps:
- Open Blender and go to File → User Preferences → Add-ons.
- Click on “Install from file…” button.
- Select the downloaded or compiled ZIP file VisualSPHysics.zip
- Enable the checkbox with “Object: VisualSPHysics Blender Addon”
- Click on “Save User Settings” button and close the preferences window.