Arch: Added Equipment tool

The purpose of this tool is to handle standalone objects such as
furniture or sanitary equipment in a building. It is mesh-based,
and accepts either a mesh or a part shape as its base object.
This commit is contained in:
Yorik van Havre
2014-08-29 19:16:28 -03:00
parent 6ab34f16d4
commit 5bbdde61ea
10 changed files with 1865 additions and 11 deletions

View File

@@ -39,7 +39,8 @@ typesmap = { "Site": ["IfcSite"],
"Roof": ["IfcRoof"],
"Stairs": ["IfcStair", "IfcStairFlight", "IfcRamp", "IfcRampFlight"],
"Space": ["IfcSpace"],
"Rebar": ["IfcReinforcingBar"]
"Rebar": ["IfcReinforcingBar"],
"Equipment": ["IfcFurnishingElement","IfcFurniture","IfcSanitaryTerminal","IfcFlowTerminal","IfcElectricAppliance"]
}
ifctemplate = """ISO-10303-21;
@@ -297,6 +298,9 @@ def export(exportList,filename):
ifctype = "BuildingStorey"
elif ifctype == "Rebar":
ifctype = "ReinforcingBar"
elif ifctype == "HydroEquipment":
elif ifctype == "ElectricEquipment":
ifctype == "ElectricAppliance"
ifctype = "Ifc" + ifctype
if ifctype == "IfcGroup":
continue