This commit is contained in:
Milovann Yanatchkov 2024-02-03 14:47:04 +01:00
parent c86e8b389f
commit ad448e5337

View file

@ -1,5 +1,6 @@
import sys import sys
import os import os
import datetime
import ifcopenshell import ifcopenshell
import ifcopenshell.util.element import ifcopenshell.util.element
import ifcopenshell.util.selector import ifcopenshell.util.selector
@ -84,7 +85,8 @@ def compute_server(p):
select(model,"IfcBuildingStorey") select(model,"IfcBuildingStorey")
print("writing test.ifc") print("writing test.ifc")
arg = "test" arg = "test"
p = "/home/fordj/SOURCES/FORDJ/fordjx/hackathon-zurich/ifc/" + arg + ".ifc" now = datetime.datetime.now()
p = "/home/fordj/SOURCES/FORDJ/fordjx/hackathon-zurich/output/" + arg + "_" + now + ".ifc"
create(p,lst) create(p,lst)
if len(sys.argv) == 1: if len(sys.argv) == 1: