mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
Minor fix
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user