Minor fix

This commit is contained in:
Massimo Fabbro
2022-11-16 21:56:29 +01:00
committed by Dion Moult
parent 85dde1033a
commit 899995cb51
2 changed files with 1 additions and 1 deletions
@@ -8,6 +8,7 @@ This is in order to follow the native IFC approach.
WALLS WALLS
Walls quantities are calculated with the convention that the object main axis is the 'x'. Walls quantities are calculated with the convention that the object main axis is the 'x'.
Also openings inside a wall have to main axis 'x'
SLAB THICKNESS SLAB THICKNESS
The slab thickness is defined as Width, following the IFC definition The slab thickness is defined as Width, following the IFC definition
@@ -462,7 +462,6 @@ class QtoCalculator:
total_opening_area = ( total_opening_area = (
0 if subtract_openings else self.get_opening_area(obj, angle_z1=angle_z1, angle_z2=angle_z2) 0 if subtract_openings else self.get_opening_area(obj, angle_z1=angle_z1, angle_z2=angle_z2)
) )
print(total_opening_area)
polygons = obj.data.polygons polygons = obj.data.polygons
for polygon in polygons: for polygon in polygons: