This commit is contained in:
Andrej730
2025-10-31 12:32:03 +05:00
parent ce0348518d
commit 8b1cb8e7ae
@@ -834,6 +834,7 @@ def get_end_area(obj: bpy.types.Object) -> float:
return end_area return end_area
def get_gross_top_area(obj: bpy.types.Object, angle: float = 45) -> float: def get_gross_top_area(obj: bpy.types.Object, angle: float = 45) -> float:
"""_summary_: Returns the gross top area of the object. """_summary_: Returns the gross top area of the object.
@@ -886,7 +887,6 @@ def get_gross_top_area(obj: bpy.types.Object, angle: float = 45) -> float:
return area + opening_area return area + opening_area
# curently net top area is larger then projected area, because its taking into account internal polygons, or window sills # curently net top area is larger then projected area, because its taking into account internal polygons, or window sills
def get_net_top_area(obj: bpy.types.Object, angle: float = 45, ignore_internal: bool = True) -> float: def get_net_top_area(obj: bpy.types.Object, angle: float = 45, ignore_internal: bool = True) -> float:
"""_summary_: Returns the net top area of the object. """_summary_: Returns the net top area of the object.