diff --git a/src/blenderbim/blenderbim/bim/module/pset/calc_quantity_function_mapper.py b/src/blenderbim/blenderbim/bim/module/pset/calc_quantity_function_mapper.py index d366033073..c55b78b00b 100644 --- a/src/blenderbim/blenderbim/bim/module/pset/calc_quantity_function_mapper.py +++ b/src/blenderbim/blenderbim/bim/module/pset/calc_quantity_function_mapper.py @@ -71,10 +71,10 @@ mapper = { 'Area' : "get_net_side_area", }, 'Qto_DuctSegmentBaseQuantities' : { - 'Length' : None, + 'Length' : "get_length", 'GrossCrossSectionArea' : None, 'NetCrossSectionArea' : None, - 'OuterSurfaceArea' : None, + 'OuterSurfaceArea' : "get_outer_surface_area", 'GrossWeight' : None, }, 'Qto_TransformerBaseQuantities' : { @@ -203,10 +203,10 @@ mapper = { 'Weight' : None, }, 'Qto_DuctFittingBaseQuantities' : { - 'Length' : None, + 'Length' : "get_length", 'GrossCrossSectionArea' : None, 'NetCrossSectionArea' : None, - 'OuterSurfaceArea' : None, + 'OuterSurfaceArea' : "get_outer_surface_area", 'GrossWeight' : None, }, 'Qto_UnitaryControlElementBaseQuantities' : { diff --git a/src/blenderbim/blenderbim/bim/module/pset/notes_about_mapped_calculated_quantities.txt b/src/blenderbim/blenderbim/bim/module/pset/notes_about_mapped_calculated_quantities.txt index fb56c86ad0..73acaecd2f 100644 --- a/src/blenderbim/blenderbim/bim/module/pset/notes_about_mapped_calculated_quantities.txt +++ b/src/blenderbim/blenderbim/bim/module/pset/notes_about_mapped_calculated_quantities.txt @@ -31,6 +31,9 @@ NetFloorArea: it doesn't count the following entities contained in the spatial e NetVolume: like NetFloorArea, it doesn't count the following entities contained in the spatial entity: IfcColumn and IfcWall Also, the entire IfcColumn (or IfcWall) object volume is substracted, so it should be better to substract only the shared volume between IfcSpace and IfcColumn. Look at todo list +DUCT SEGMENTS AND DUCT FITTINGS +The length is calculated like a beam. Also outer surface area. Gross cross section area, net cross section area and weight are not calculated right now because the parametrically cross section area seems filled (without hole). + WEIGHT The object weight is calculated by multiplying the object mass density with the object volume (net or gross). It's only calculated if the object material has a MassDensity property in the Pset_MaterialCommon.