Skip to content

Commit

Permalink
fix(face): Fix a typo in Face3D.coplanar_union
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey authored and Chris Mackey committed Aug 7, 2023
1 parent e726831 commit 60c1826
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 @@ -1916,7 +1916,7 @@ def coplanar_union(face1, face2, tolerance, angle_tolerance):
try:
poly_result = pb.union(b_poly1, b_poly2, int_tol)
except Exception:
return [face1], [face2] # typically a tolerance issue causing failure
return None # typically a tolerance issue causing failure
# rebuild the Face3D from the results and return them
union_faces = Face3D._from_bool_poly(poly_result, prim_pl)
return union_faces[0]
Expand Down

0 comments on commit 60c1826

Please sign in to comment.