pyupdate
This commit is contained in:
parent
c86e8b389f
commit
ad448e5337
1 changed files with 3 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue