Arch: small cosmetic fixes in ifc importer
This commit is contained in:
parent
66595d6eda
commit
2424fc4c7c
|
@ -219,12 +219,16 @@ def read(filename):
|
|||
parent = None
|
||||
elif parent_ifcobj.type == "IfcBuildingStorey":
|
||||
parent = Arch.makeFloor(name=n)
|
||||
parent.Label = n
|
||||
elif parent_ifcobj.type == "IfcBuilding":
|
||||
parent = Arch.makeBuilding(name=n)
|
||||
parent.Label = n
|
||||
elif parent_ifcobj.type == "IfcSite":
|
||||
parent = Arch.makeSite(name=n)
|
||||
parent.Label = n
|
||||
elif parent_ifcobj.type == "IfcWindow":
|
||||
parent = Arch.makeWindow(name=n)
|
||||
parent.Label = n
|
||||
else:
|
||||
if DEBUG: print "Fixme: skipping unhandled parent: ", parent_ifcobj.id, " ", parent_ifcobj.type
|
||||
parent = None
|
||||
|
|
Loading…
Reference in New Issue
Block a user