pyupdate
This commit is contained in:
parent
85f2ea51fa
commit
c1a13b7395
1 changed files with 10 additions and 1 deletions
|
|
@ -77,11 +77,20 @@ def compute(p):
|
|||
print("writing test.ifc")
|
||||
create("../output/test.ifc",lst)
|
||||
|
||||
def compute_server(p):
|
||||
model = load_model(p)
|
||||
lst = get_walls(model)
|
||||
select(model,"IfcBuildingStorey")
|
||||
print("writing test.ifc")
|
||||
arg = "test"
|
||||
p = "/home/fordj/SOURCES/FORDJ/fordjx/hackathon-zurich/ifc/" + arg + ".ifc"
|
||||
create(p,lst)
|
||||
|
||||
if len(sys.argv) == 1:
|
||||
arg = "duplex"
|
||||
#p = "../ifc/" + arg + ".ifc"
|
||||
p = "/home/fordj/SOURCES/FORDJ/fordjx/hackathon-zurich/ifc/" + arg + ".ifc"
|
||||
compute(p)
|
||||
compute_server(p)
|
||||
elif len(sys.argv) > 1:
|
||||
arg = sys.argv[1]
|
||||
print(f">> filename:{arg}")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue