Iterate over subshapes.
(self)
| 1730 | return display(self)._repr_javascript_() |
| 1731 | |
| 1732 | def __iter__(self) -> Iterator[Shape]: |
| 1733 | """ |
| 1734 | Iterate over subshapes. |
| 1735 | """ |
| 1736 | |
| 1737 | it = TopoDS_Iterator(self.wrapped) |
| 1738 | |
| 1739 | while it.More(): |
| 1740 | yield Shape.cast(it.Value()) |
| 1741 | it.Next() |
| 1742 | |
| 1743 | def ancestors(self, ctx: Shape, kind: Shapes) -> Compound: |
| 1744 | """ |