bonsai other scripts #5178

This commit is contained in:
Andrej730
2024-08-14 15:43:06 +05:00
committed by Andrej
parent 3318de7f6d
commit f8f7884278
12 changed files with 23 additions and 27 deletions
@@ -20,13 +20,13 @@ import os
import bpy
import ifcopenshell
import ifcopenshell.api
import blenderbim.tool as tool
import bonsai.tool as tool
from pathlib import Path
# When run from Blender
BLEND_DIR = os.path.dirname(bpy.data.filepath)
OUT_PATH = os.path.join(BLEND_DIR, "..", "blenderbim", "bim", "data", "libraries", "IFC4 Entourage Library.ifc")
OUT_PATH = os.path.join(BLEND_DIR, "..", "bonsai", "bim", "data", "libraries", "IFC4 Entourage Library.ifc")
class LibraryGenerator: