This commit is contained in:
Milovann Yanatchkov 2024-02-03 13:59:50 +01:00
parent 35787b3845
commit f977302d7b

View file

@ -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]