Arch: fixed import IFC again (better this time)

This commit is contained in:
Yorik van Havre 2014-08-31 15:03:58 -03:00
parent ed0c6ebd7d
commit c60d39c4e7

View File

@ -80,7 +80,8 @@ ifctypes = ["IfcSite", "IfcBuilding", "IfcBuildingStorey", "IfcBeam", "IfcBeamSt
"IfcPlateStandardCase", "IfcRailing", "IfcRamp", "IfcRampFlight", "IfcRoof",
"IfcSlab", "IfcStair", "IfcStairFlight", "IfcWall","IfcSpace",
"IfcWallStandardCase", "IfcWindow", "IfcWindowStandardCase", "IfcBuildingElementProxy",
"IfcPile", "IfcFooting", "IfcReinforcingBar", "IfcTendon", "IfcGroup"]
"IfcPile", "IfcFooting", "IfcReinforcingBar", "IfcTendon", "IfcGroup",
"FurnishingElement", "SanitaryTerminal", "ElectricAppliance"]
def explore(filename=None):
@ -301,7 +302,9 @@ def export(exportList,filename):
elif ifctype == "HydroEquipment":
ifctype = "SanitaryTerminal"
elif ifctype == "ElectricEquipment":
ifctype == "ElectricAppliance"
ifctype = "ElectricAppliance"
elif ifctype == "Furniture":
ifctype = "FurnishingElement"
ifctype = "Ifc" + ifctype
if ifctype == "IfcGroup":
continue