Continue purging tools that were specific to base qtos

Base qtos shouldn't be too special, it should be based off a calculation mapping. This means we can also support IFC2X3 better (which has no base qtos)
This commit is contained in:
Dion Moult
2024-05-29 15:56:50 +10:00
parent 8c3d10a2bd
commit f4247c3527
3 changed files with 2 additions and 51 deletions
+2
View File
@@ -84,6 +84,8 @@ class IfcOpenShell:
for name, quantities in qtos.items():
for quantity, formula in quantities.items():
if not formula:
continue
if formula.startswith("gross_"):
formula = formula[6:]
gross_qtos.setdefault(name, {})[quantity] = formula