Skip to content

Commit b02bde9

Browse files
committed
Update mesh.py
1 parent 44c7d8c commit b02bde9

File tree

1 file changed

+2
-2
lines changed
  • src/compas/datastructures/mesh

1 file changed

+2
-2
lines changed

src/compas/datastructures/mesh/mesh.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2932,7 +2932,7 @@ def quads_to_triangles(self, check_angles=False):
29322932
del self.facedata[face]
29332933

29342934
# only reason this is here and not on the halfedge is because of the spatial tree
2935-
def unify_cycles(self, root=None, nmax=None, radius=None):
2935+
def unify_cycles(self, root=None, nmax=None, max_distance=None):
29362936
"""Unify the cycles of the mesh.
29372937
29382938
Parameters
@@ -2960,7 +2960,7 @@ def unify_cycles(self, root=None, nmax=None, radius=None):
29602960
vertices = self.vertices_attributes("xyz")
29612961
faces = [[vertex_index[vertex] for vertex in self.face_vertices(face)] for face in self.faces()]
29622962

2963-
unify_cycles(vertices, faces, root=root, nmax=nmax, radius=radius)
2963+
unify_cycles(vertices, faces, root=root, nmax=nmax, max_distance=max_distance)
29642964

29652965
self.halfedge = {key: {} for key in self.vertices()}
29662966
for index, vertices in enumerate(faces):

0 commit comments

Comments
 (0)