mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 06:32:09 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user