Skip to content

Commit 5bad6fb

Browse files
committed
uniqueness check was commented out
1 parent 3492b54 commit 5bad6fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/compas_occ/brep/brep.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,11 +241,11 @@ def is_surface(self) -> bool:
241241
@property
242242
def points(self) -> list[Point]:
243243
points = []
244-
# seen = []
244+
seen = []
245245
for vertex in self.vertices:
246-
# if any(vertex.is_same(test) for test in seen):
247-
# continue
248-
# seen.append(vertex)
246+
if any(vertex.is_same(test) for test in seen):
247+
continue
248+
seen.append(vertex)
249249
points.append(vertex.point)
250250
return points
251251

0 commit comments

Comments
 (0)