We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3492b54 commit 5bad6fbCopy full SHA for 5bad6fb
src/compas_occ/brep/brep.py
@@ -241,11 +241,11 @@ def is_surface(self) -> bool:
241
@property
242
def points(self) -> list[Point]:
243
points = []
244
- # seen = []
+ seen = []
245
for vertex in self.vertices:
246
- # if any(vertex.is_same(test) for test in seen):
247
- # continue
248
- # seen.append(vertex)
+ if any(vertex.is_same(test) for test in seen):
+ continue
+ seen.append(vertex)
249
points.append(vertex.point)
250
return points
251
0 commit comments