BIM: ArchComponent Only counts planar surfaces as vertical areas

This commit is contained in:
Lukas Schattenhofer
2024-06-18 12:05:47 +02:00
committed by Yorik van Havre
parent 1ba341194e
commit 8a07f71c28

View File

@@ -1015,7 +1015,9 @@ class Component(ArchIFC.IfcProduct):
obj.PerimeterLength = 0
return
else:
if (ang > 1.57) and (ang < 1.571):
if ((ang > 1.57) and
(ang < 1.571) and
f.Surface.isPlanar()):
a += f.Area
else:
fset.append(f)