py path
This commit is contained in:
parent
35787b3845
commit
f977302d7b
1 changed files with 3 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue