mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
prompt for Blender version
This commit is contained in:
@@ -37,8 +37,8 @@ if sys.platform not in available_platforms:
|
||||
REPO_PATH = r""
|
||||
|
||||
# BLENDER_PATH: Path to Blender's configuration folder.
|
||||
# Usually don't need to change, just ensure Blender version matches.
|
||||
BLENDER_VERSION = "5.0"
|
||||
# User will be prompted for the Blender version.
|
||||
BLENDER_VERSION = input("Enter your Blender version (e.g., 4.5, 4.2, 3.6): ").strip()
|
||||
|
||||
if sys.platform == "win32":
|
||||
BLENDER_PATH = Path.home() / f"AppData/Roaming/Blender Foundation/Blender/{BLENDER_VERSION}"
|
||||
|
||||
Reference in New Issue
Block a user