From 5d6453db1c28239c46247fc59c38aed56a4ebad2 Mon Sep 17 00:00:00 2001 From: Chris Mackey Date: Mon, 1 Jul 2024 15:06:13 -0700 Subject: [PATCH] fix(face): Fix bug of merging holes to faces --- ladybug_geometry/geometry3d/face.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ladybug_geometry/geometry3d/face.py b/ladybug_geometry/geometry3d/face.py index f543dbd8..3c3027d8 100644 --- a/ladybug_geometry/geometry3d/face.py +++ b/ladybug_geometry/geometry3d/face.py @@ -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.