mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
black .
This commit is contained in:
@@ -95,6 +95,7 @@ def get_stair_length(obj: bpy.types.Object) -> float:
|
||||
stair_length = math.sqrt(pow(length, 2) + pow(height, 2))
|
||||
return stair_length
|
||||
|
||||
|
||||
def get_footing_length(o: bpy.types.Object) -> float:
|
||||
element = tool.Ifc.get_entity(o)
|
||||
assert element
|
||||
@@ -108,6 +109,7 @@ def get_footing_length(o: bpy.types.Object) -> float:
|
||||
else:
|
||||
return get_length(o)
|
||||
|
||||
|
||||
def get_net_stair_area(obj: bpy.types.Object) -> float:
|
||||
OBB_obj = get_OBB_object(obj)
|
||||
OBB_net_footprint_area = get_net_footprint_area(OBB_obj)
|
||||
@@ -186,6 +188,7 @@ def get_width(o: bpy.types.Object) -> float:
|
||||
y = get_y(o)
|
||||
return min(x, y)
|
||||
|
||||
|
||||
def get_footing_height(o: bpy.types.Object) -> float:
|
||||
element = tool.Ifc.get_entity(o)
|
||||
assert element
|
||||
|
||||
Reference in New Issue
Block a user