mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
black .
This commit is contained in:
@@ -38,6 +38,7 @@ REPO_PATH = r""
|
|||||||
# 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.4"
|
||||||
|
|
||||||
|
|
||||||
# Determine BONSAI_PATH from existing options
|
# Determine BONSAI_PATH from existing options
|
||||||
def find_bonsai_path(blender_path):
|
def find_bonsai_path(blender_path):
|
||||||
candidates = [
|
candidates = [
|
||||||
@@ -51,11 +52,10 @@ def find_bonsai_path(blender_path):
|
|||||||
return path
|
return path
|
||||||
raise FileNotFoundError("Could not find Bonsai path in expected locations.")
|
raise FileNotFoundError("Could not find Bonsai path in expected locations.")
|
||||||
|
|
||||||
|
|
||||||
BONSAI_PATH = find_bonsai_path(BLENDER_PATH)
|
BONSAI_PATH = find_bonsai_path(BLENDER_PATH)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
|
|
||||||
# Never changed by user.
|
# Never changed by user.
|
||||||
|
|||||||
Reference in New Issue
Block a user