MCPcopy
hub / github.com/CadQuery/cadquery / __iter__

Method __iter__

cadquery/occ_impl/shapes.py:3256–3266  ·  view source on GitHub ↗

Iterate over edges in an ordered way.

(self)

Source from the content-addressed store, hash-verified

3254 return rv
3255
3256 def __iter__(self) -> Iterator[Edge]:
3257 """
3258 Iterate over edges in an ordered way.
3259
3260 """
3261
3262 exp = BRepTools_WireExplorer(self.wrapped)
3263
3264 while exp.Current():
3265 yield Edge(exp.Current())
3266 exp.Next()
3267
3268
3269class Face(Shape):

Callers

nothing calls this directly

Calls 1

EdgeClass · 0.85

Tested by

no test coverage detected