Skip to content

Commit

Permalink
fix(room): Update to use correct input argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey committed Jun 21, 2024
1 parent 1aa01af commit a797b13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions honeybee/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -2216,7 +2216,7 @@ def rooms_from_rectangle_plan(
footprint = []
base = Polygon2D.from_rectangle(Point2D(), Vector2D(0, 1), width, length)
sub_polys_perim, sub_polys_core = perimeter_core_subpolygons(
polygon=base, distance=perimeter_offset, tol=tolerance)
polygon=base, distance=perimeter_offset, tolerance=tolerance)
for s_poly in sub_polys_perim + sub_polys_core:
sub_face = Face3D([Point3D(pt.x, pt.y, 0) for pt in s_poly])
footprint.append(sub_face)
Expand Down Expand Up @@ -2280,7 +2280,7 @@ def rooms_from_l_shaped_plan(
footprint = []
base = Polygon2D(tuple(Point2D(*pt) for pt in pts))
sub_polys_perim, sub_polys_core = perimeter_core_subpolygons(
polygon=base, distance=perimeter_offset, tol=tolerance)
polygon=base, distance=perimeter_offset, tolerance=tolerance)
for s_poly in sub_polys_perim + sub_polys_core:
sub_face = Face3D([Point3D(pt.x, pt.y, 0) for pt in s_poly])
footprint.append(sub_face)
Expand Down

0 comments on commit a797b13

Please sign in to comment.