Skip to content

Commit

Permalink
fix(polyface): Remove under-the-hood zero tolerance
Browse files Browse the repository at this point in the history
This is another bug fix that was exposed thanks to the previous bug fix.
  • Loading branch information
chriswmackey committed Jun 17, 2020
1 parent ef1e42f commit ba78f8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ladybug_geometry/geometry3d/polyface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ba78f8b

Please sign in to comment.