Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/loadbearing_wall/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The wall model is parameterizable and can represent any material
"""

__version__ = "0.3.0"
__version__ = "0.3.1"

from loadbearing_wall.wall_model import LinearWallModel
from loadbearing_wall import *
4 changes: 0 additions & 4 deletions src/loadbearing_wall/geom_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ def apply_spread_angle(
print(f"Weird condition: {locals()=}")

projected_length = projected_x1 - projected_x0

print(f"{projected_length=}")
ratio = original_length / projected_length

if None not in [w0, w1, x0, x1]:
Expand All @@ -46,7 +44,6 @@ def apply_spread_angle(
elif None not in [x, p]:
projected_w0 = p / projected_length
projected_w1 = p / projected_length
print(f"{projected_w1=}")
return (
round_to_close_integer(projected_w0),
round_to_close_integer(projected_w1),
Expand Down Expand Up @@ -89,7 +86,6 @@ def apply_minimum_width(

projected_x1 = location + spread_width / 2
projected_w0 = projected_w1 = magnitude / (projected_x1 - projected_x0)
print(f"{projected_w0=}")
return (
round_to_close_integer(projected_w0),
round_to_close_integer(projected_w1),
Expand Down
2 changes: 0 additions & 2 deletions src/loadbearing_wall/wall_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ def spread_loads(self) -> None:
}
)
else:
print(f"{dist_load=}")
proj[load_dir][load_case].append(dist_load)

for load_dir, load_cases in self.point_loads.items():
Expand Down Expand Up @@ -224,7 +223,6 @@ def spread_loads(self) -> None:
}
)
else:
print(f"Min spread: {point_load=}")
projected_load = geom.apply_minimum_width(
point_load[p],
point_load[x],
Expand Down