BIM: ArchComponent Only counts planar surfaces as vertical areas
This commit is contained in:
committed by
Yorik van Havre
parent
1ba341194e
commit
8a07f71c28
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user