From c60d39c4e7743219d67416d0b61fcdfda0d42cf5 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Sun, 31 Aug 2014 15:03:58 -0300 Subject: [PATCH] Arch: fixed import IFC again (better this time) --- src/Mod/Arch/importIFC.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Mod/Arch/importIFC.py b/src/Mod/Arch/importIFC.py index e542261f4..46e3c179f 100644 --- a/src/Mod/Arch/importIFC.py +++ b/src/Mod/Arch/importIFC.py @@ -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