ifc5d: wire up GrossFootprintArea/NetFootprintArea for IfcWall QTO

Root cause: the IfcOpenShell-geometry-engine calculator ruleset
(IFC4QtoBaseQuantities.json and IFC4X3QtoBaseQuantities.json) left
IfcWall's GrossFootprintArea/NetFootprintArea mapped to null, so
these two quantities were silently omitted from Qto_WallBaseQuantities
whenever that ruleset was used. The generic gross_get_footprint_area
and net_get_footprint_area formulas already exist and are already
wired up for IfcSlab in the same files, so this was a missing mapping,
not a missing implementation.

Fixes #7029.

Generated with the assistance of an AI coding tool.

(cherry picked from commit f3cb7aea61)
This commit is contained in:
Petru Conduraru
2026-07-16 16:14:25 +03:00
committed by Dion Moult
parent 0d8813348c
commit c5f25405a2
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -606,13 +606,13 @@
},
"IfcWall": {
"Qto_WallBaseQuantities": {
"GrossFootprintArea": null,
"GrossFootprintArea": "gross_get_footprint_area",
"GrossSideArea": "gross_get_side_area",
"GrossVolume": "gross_get_volume",
"GrossWeight": "gross_get_weight",
"Height": "net_get_z",
"Length": "net_get_x",
"NetFootprintArea": null,
"NetFootprintArea": "net_get_footprint_area",
"NetSideArea": "net_get_side_area",
"NetVolume": "net_get_volume",
"NetWeight": "net_get_weight",
+2 -2
View File
@@ -769,13 +769,13 @@
},
"IfcWall + IfcWallType": {
"Qto_WallBaseQuantities": {
"GrossFootPrintArea": null,
"GrossFootPrintArea": "gross_get_footprint_area",
"GrossSideArea": "gross_get_side_area",
"GrossVolume": "gross_get_volume",
"GrossWeight": "gross_get_weight",
"Height": "net_get_z",
"Length": "net_get_x",
"NetFootPrintArea": null,
"NetFootPrintArea": "net_get_footprint_area",
"NetSideArea": "net_get_side_area",
"NetVolume": "net_get_volume",
"NetWeight": "net_get_weight",