From 8817a7e6d52c3ad81d4541365b415b6494ad2a5e Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 28 May 2024 11:42:38 +0500 Subject: [PATCH] qtocalculator to support backported EQto_BodyGeometryValidation --- .../blenderbim/bim/data/pset/EQto_BodyGeometryValidation.ifc | 1 + .../blenderbim/bim/module/pset/calc_quantity_function_mapper.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/blenderbim/blenderbim/bim/data/pset/EQto_BodyGeometryValidation.ifc b/src/blenderbim/blenderbim/bim/data/pset/EQto_BodyGeometryValidation.ifc index 07c7b82603..f830cb907b 100644 --- a/src/blenderbim/blenderbim/bim/data/pset/EQto_BodyGeometryValidation.ifc +++ b/src/blenderbim/blenderbim/bim/data/pset/EQto_BodyGeometryValidation.ifc @@ -5,6 +5,7 @@ FILE_NAME('EQto_BodyGeometryValidation.ifc','2020-01-01T00:00:00',(),(),'EQto_Bo FILE_SCHEMA(('IFC4')); ENDSEC; DATA; +/* This quantity set is Qto_BodyGeometryValidation backport from IFC4X3 to support IFC4. */ #1=IFCPROPERTYSETTEMPLATE('2KS9su6r517uLXTGKwwDdn',$,'EQto_BodyGeometryValidation','Quantities supplied for validating the correct interpretation of the body shape representation at import. In case of multiple representation items, the quantities are summed for each of the items (irrespective of any overlap). Choosing a suitable tolerance value for comparing the supplied numbers to the numbers calculated from the reconstructed geometry is at the discretion of the importing application.',.QTO_OCCURRENCEDRIVEN.,'IfcProduct',(#2,#3,#4,#5,#6,#7)); #2=IFCSIMPLEPROPERTYTEMPLATE('3iCdOOLRjCwQ_HRTB41Xh8',$,'GrossSurfaceArea','Total gross area of the object, normally generated as perimeter * length + 2 * cross section area. It is the sum of OuterSurfaceArea + (2 x CrossSectionArea) and shall only be given, if the OuterSurfaceArea and CrossSectionArea cannot be established separately.\X2\000A000A\X0\Total gross surface area of the element before applying product-level geometric features such as openings and projections.',.Q_AREA.,$,$,$,$,$,$,.READWRITE.); #3=IFCSIMPLEPROPERTYTEMPLATE('0juemEqF5889vg7HwR87Fv',$,'NetSurfaceArea','Net surface area of the object, normally generated as perimeter * length + 2 * cross section area taking into account possible processing features (cut-out''s, etc.) or openings and recesses.\X2\000A000A\X0\Total net surface area of the element after applying product-level geometric features such as openings and projections.',.Q_AREA.,$,$,$,$,$,$,.READWRITE.); 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 dd7045df7f..e484b97717 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 @@ -575,3 +575,5 @@ mapper = { 'OvertimeWork' : None, }, } + +mapper["EQto_BodyGeometryValidation"] = mapper["Qto_BodyGeometryValidation"]