mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 06:21:40 +00:00
dev_environment scripts - bump Blender version
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Please update REPO_PATH and BLENDER_PATH in the script below.
|
# 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 Mac: "/Users/$USER/Library/Application Support/Blender/4.5"
|
||||||
# Default BLENDER_PATH on Linux: "$HOME/.config/blender/4.4"
|
# Default BLENDER_PATH on Linux: "$HOME/.config/blender/4.5"
|
||||||
# REPO_PATH="/path/to/where/your/git/repository/is/cloned/IfcOpenShell"
|
# REPO_PATH="/path/to/where/your/git/repository/is/cloned/IfcOpenShell"
|
||||||
set -e
|
set -e
|
||||||
REPO_PATH="$HOME/bonsaiDevel/IfcOpenShell"
|
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"
|
PACKAGE_PATH="${BLENDER_PATH}/extensions/.local/lib/python3.11/site-packages"
|
||||||
# If you are installing offline, use this instead:
|
# If you are installing offline, use this instead:
|
||||||
# BONSAI_PATH="${BLENDER_PATH}/extensions/user_default/bonsai"
|
# BONSAI_PATH="${BLENDER_PATH}/extensions/user_default/bonsai"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ setlocal
|
|||||||
rem Uncomment setting REPO_PATH to use custom path for IfcOpenShell repository.
|
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 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
|
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 PACKAGE_PATH=%BLENDER_PATH%\extensions\.local\lib\python3.11\site-packages
|
||||||
SET BONSAI_PATH=%BLENDER_PATH%\extensions\raw_githubusercontent_com\bonsai
|
SET BONSAI_PATH=%BLENDER_PATH%\extensions\raw_githubusercontent_com\bonsai
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Script links existing Bonsai installation to the provided IfcOpenShell repository.
|
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.
|
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.
|
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.
|
# BLENDER_PATH: Path to Blender's configuration folder.
|
||||||
# Usually don't need to change, just ensure Blender version matches.
|
# 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
|
# Determine BONSAI_PATH from existing options
|
||||||
|
|||||||
Reference in New Issue
Block a user