From ba78f8b9d41337b779f375b81d6bfb33ee0db18f Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 17 Jun 2020 19:11:07 -0400 Subject: [PATCH] fix(polyface): Remove under-the-hood zero tolerance This is another bug fix that was exposed thanks to the previous bug fix. --- ladybug_geometry/geometry3d/polyface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ladybug_geometry/geometry3d/polyface.py b/ladybug_geometry/geometry3d/polyface.py index 38957264..2149f86b 100644 --- a/ladybug_geometry/geometry3d/polyface.py +++ b/ladybug_geometry/geometry3d/polyface.py @@ -303,7 +303,7 @@ def faces(self): holes = tuple(tuple(self.vertices[i] for i in f) for f in face[1:]) faces.append(Face3D(boundary=boundary, holes=holes)) if self._is_solid: - self._faces = Polyface3D.get_outward_faces(faces, 0) + self._faces = Polyface3D.get_outward_faces(faces, 0.01) else: self._faces = tuple(faces) return self._faces @@ -314,7 +314,7 @@ def edges(self): if self._edges is None: self._edges = tuple(LineSegment3D.from_end_points( self.vertices[seg[0]], self.vertices[seg[1]]) - for seg in self._edge_indices) + for seg in self._edge_indices) return self._edges @property