Skip to content

Commit

Permalink
New versions added and Readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
vo3xel committed Jan 14, 2022
1 parent 487c560 commit ed0df7b
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# blender-python-module
This repo builds Blender as Python module packed in a Docker image.

## License
The code to build Blender as Docker image is released under MIT license. To use the packed Blender Software please follow the license provided by Blender (https://www.blender.org/about/license).

## Build new Blender image
Run `./build-nightly-precompiled-deps.sh` to build new Blender image.
Run `./build-nightly-precompiled-deps.sh` to build new Blender Docker image from the latest master commit. To build a specific Blender version please use the corresponding `./build-release-x.xx.x.sh` script.

## Usage
Please copy the python scripts into the `./data` folder and run it with `docker run` or mount the desired folder to `/home/blender/data`.
Expand Down
6 changes: 6 additions & 0 deletions build-release-2.93.6.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
BLENDER_VERSION_STRING="2.93.6"
BLENDER_PRECOMPILED_LIBS_VERSION_STRING="blender-2.93-release"
BLENDER_PYTHON_VERSION="3.9"

./build-release-precompiled-deps.sh "$BLENDER_VERSION_STRING" "$BLENDER_PRECOMPILED_LIBS_VERSION_STRING" "$BLENDER_PYTHON_VERSION"
6 changes: 6 additions & 0 deletions build-release-2.93.7.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
BLENDER_VERSION_STRING="2.93.7"
BLENDER_PRECOMPILED_LIBS_VERSION_STRING="blender-2.93-release"
BLENDER_PYTHON_VERSION="3.9"

./build-release-precompiled-deps.sh "$BLENDER_VERSION_STRING" "$BLENDER_PRECOMPILED_LIBS_VERSION_STRING" "$BLENDER_PYTHON_VERSION"
6 changes: 6 additions & 0 deletions build-release-3.0.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
BLENDER_VERSION_STRING="3.0.0"
BLENDER_PRECOMPILED_LIBS_VERSION_STRING="blender-3.0-release"
BLENDER_PYTHON_VERSION="3.9"

./build-release-precompiled-deps.sh "$BLENDER_VERSION_STRING" "$BLENDER_PRECOMPILED_LIBS_VERSION_STRING" "$BLENDER_PYTHON_VERSION"

0 comments on commit ed0df7b

Please sign in to comment.