From f977302d7b8a10527f453f4bd21784b0fda5b6f1 Mon Sep 17 00:00:00 2001 From: milovann Date: Sat, 3 Feb 2024 13:59:50 +0100 Subject: [PATCH] py path --- python/extract.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/extract.py b/python/extract.py index e22c261..228cf0d 100644 --- a/python/extract.py +++ b/python/extract.py @@ -5,6 +5,7 @@ import ifcopenshell.util.element import ifcopenshell.util.selector from ifcopenshell.api import run + def load_model(filepath): print("loading " + filepath) model = ifcopenshell.open(filepath) @@ -78,7 +79,8 @@ def compute(p): if len(sys.argv) == 1: arg = "duplex" - p = "../ifc/" + arg + ".ifc" + #p = "../ifc/" + arg + ".ifc" + p = "/home/fordjx/SOURCES/FORDJ/fordjx/hackathon-zurich/ifc/" + arg + ".ifc" compute(p) elif len(sys.argv) > 1: arg = sys.argv[1]