diff --git a/src/bonsai/docs/quickstart/ide/linux/dev_environment.sh b/src/bonsai/docs/quickstart/ide/linux/dev_environment.sh index 47bc7c9a2f..a172a0ae4a 100644 --- a/src/bonsai/docs/quickstart/ide/linux/dev_environment.sh +++ b/src/bonsai/docs/quickstart/ide/linux/dev_environment.sh @@ -1,11 +1,11 @@ #!/bin/bash # Please update REPO_PATH and BLENDER_PATH in the script below. -# Default BLENDER_PATH on Mac: "/Users/$USER/Library/Application Support/Blender/4.4" -# Default BLENDER_PATH on Linux: "$HOME/.config/blender/4.4" +# Default BLENDER_PATH on Mac: "/Users/$USER/Library/Application Support/Blender/4.5" +# Default BLENDER_PATH on Linux: "$HOME/.config/blender/4.5" # REPO_PATH="/path/to/where/your/git/repository/is/cloned/IfcOpenShell" set -e REPO_PATH="$HOME/bonsaiDevel/IfcOpenShell" -BLENDER_PATH="$HOME/.config/blender/4.4" +BLENDER_PATH="$HOME/.config/blender/4.5" PACKAGE_PATH="${BLENDER_PATH}/extensions/.local/lib/python3.11/site-packages" # If you are installing offline, use this instead: # BONSAI_PATH="${BLENDER_PATH}/extensions/user_default/bonsai" diff --git a/src/bonsai/scripts/installation/dev_environment.bat b/src/bonsai/scripts/installation/dev_environment.bat index 789bed12af..6972f0295c 100644 --- a/src/bonsai/scripts/installation/dev_environment.bat +++ b/src/bonsai/scripts/installation/dev_environment.bat @@ -6,7 +6,7 @@ setlocal rem Uncomment setting REPO_PATH to use custom path for IfcOpenShell repository. rem Otherwise by default it is assumed script is executed from IfcOpenShell directory. rem SET REPO_PATH=%HOMEDRIVE%\Users\%USERNAME%\Where\Your\Git\Repository\Is\Cloned\IfcOpenShell -SET BLENDER_PATH=%HOMEDRIVE%\Users\%USERNAME%\AppData\Roaming\Blender Foundation\Blender\4.4 +SET BLENDER_PATH=%HOMEDRIVE%\Users\%USERNAME%\AppData\Roaming\Blender Foundation\Blender\4.5 SET PACKAGE_PATH=%BLENDER_PATH%\extensions\.local\lib\python3.11\site-packages SET BONSAI_PATH=%BLENDER_PATH%\extensions\raw_githubusercontent_com\bonsai diff --git a/src/bonsai/scripts/installation/dev_environment.py b/src/bonsai/scripts/installation/dev_environment.py index 9e69dc9c60..eb0cccc991 100644 --- a/src/bonsai/scripts/installation/dev_environment.py +++ b/src/bonsai/scripts/installation/dev_environment.py @@ -2,7 +2,7 @@ Script links existing Bonsai installation to the provided IfcOpenShell repository. -If you're on Windows, using Blender 4.4, Bonsai is installed from unstable repo (raw_githubusercontent_com) +If you're on Windows, using Blender 4.5, Bonsai is installed from unstable repo (raw_githubusercontent_com) and this script is already part of IfcOpenShell repo you want to link, then you can just run it and it will just work. Otherwise, see the SETTINGS section below to validate script settings to ensure it fits your evnironment. @@ -36,7 +36,7 @@ REPO_PATH = r"" # BLENDER_PATH: Path to Blender's configuration folder. # Usually don't need to change, just ensure Blender version matches. -BLENDER_PATH = Path.home() / r"AppData/Roaming/Blender Foundation/Blender/4.4" +BLENDER_PATH = Path.home() / r"AppData/Roaming/Blender Foundation/Blender/4.5" # Determine BONSAI_PATH from existing options