From 1de67ffd9c42aef1e3471d008d36dc380169f121 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 14 Mar 2025 11:48:52 +0500 Subject: [PATCH] ifc5d.qto - add x,y,z functions just for consistency with ifcopenshell calculator --- src/ifc5d/ifc5d/qto.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ifc5d/ifc5d/qto.py b/src/ifc5d/ifc5d/qto.py index 1ed520193a..016fd06da2 100644 --- a/src/ifc5d/ifc5d/qto.py +++ b/src/ifc5d/ifc5d/qto.py @@ -348,13 +348,15 @@ class Blender(QtoCalculator): # Implementations are located in bonsai.bim.module.qto.calculator. functions = { # IfcLengthMeasure + "get_x": Function("IfcLengthMeasure", "X", ""), + "get_y": Function("IfcLengthMeasure", "Y", ""), + "get_z": Function("IfcLengthMeasure", "Z", ""), "get_covering_width": Function("IfcLengthMeasure", "Covering Width", ""), "get_finish_ceiling_height": Function("IfcLengthMeasure", "Finish Ceiling Height", ""), "get_finish_floor_height": Function("IfcLengthMeasure", "Finish Floor Height", ""), "get_gross_perimeter": Function("IfcLengthMeasure", "Gross Perimeter", ""), "get_height": Function("IfcLengthMeasure", "Height", ""), "get_length": Function("IfcLengthMeasure", "Length", ""), - "get_x": Function("IfcLengthMeasure", "Length", ""), "get_opening_depth": Function("IfcLengthMeasure", "Opening Depth", ""), "get_opening_height": Function("IfcLengthMeasure", "Opening Height", ""), "get_rectangular_perimeter": Function("IfcLengthMeasure", "Rectangular Perimeter", ""),