Skip to content

Commit

Permalink
fix(face): Fix bug of merging holes to faces
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey authored and Chris Mackey committed Jul 1, 2024
1 parent 58a678d commit 5d6453d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ladybug_geometry/geometry3d/face.py
Original file line number Diff line number Diff line change
Expand Up @@ -2702,7 +2702,7 @@ def _match_holes_to_face(base_face, other_faces, tol):
return base_face
else:
hole_verts = [hole.vertices for hole in holes]
return Face3D(base_face.vertices, Plane(n=Vector3D(0, 0, 1)), hole_verts)
return Face3D(base_face.vertices, base_face.plane, hole_verts)

def to_dict(self, include_plane=True, enforce_upper_left=False):
"""Get Face3D as a dictionary.
Expand Down

0 comments on commit 5d6453d

Please sign in to comment.