Lava simulation processes and data in Blender
To build the extension you first have to download the dependency wheels:
Double click on get_wheels.cmd
sh get_wheels.sh
Then you can run this command to build the addon zip file:
blender --command extension build --split-platform
See below if you don't have Blender available in your CLI.
- Download and install Blender from the official website
- During Blender installation, check the option to "Add Blender to system PATH"
- If you missed this option or need to add it manually:
- Find your Blender installation directory (typically
C:\Program Files\Blender Foundation\Blender X.X
) - Open Start menu and search for "Edit environment variables"
- Click on "Environment Variables"
- Under "System variables", find and select "Path", then click "Edit"
- Click "New" and add your Blender installation directory
- Click "OK" on all dialog boxes
- Find your Blender installation directory (typically
sudo ln -s /Applications/Blender.app/Contents/MacOS/Blender /usr/local/bin/blender
You may experience Python environment clashes, this also works;
/Applications/Blender.app/Contents/MacOS/Blender --command extension build --split-platform
If you installed Blender via package manager, the CLI should already be available.
If using a downloaded version, add Blender to your PATH:
export PATH=$PATH:/path/to/blender
Add this line to your .bashrc
or .zshrc
file to make it permanent.
Test that Blender CLI is working by opening a terminal/command prompt and typing:
blender --version
This should display the installed Blender version.