Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Extend/TopologyUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
)
from OCC.Core.TopExp import TopExp_Explorer, topexp
from OCC.Core.TopTools import (
TopTools_ListIteratorOfListOfShape,
TopTools_ListOfListOfShape,
TopTools_IndexedDataMapOfShapeListOfShape,
)
from OCC.Core.TopoDS import (
Expand Down Expand Up @@ -332,7 +332,7 @@ def _map_shapes_and_ancestors(
if results.Size() == 0:
yield None

topology_iterator = TopTools_ListIteratorOfListOfShape(results)
topology_iterator = TopTools_ListOfListOfShape(results)
while topology_iterator.More():
topo_entity = self.topology_factory[topology_type_2](
topology_iterator.Value()
Expand Down Expand Up @@ -380,7 +380,7 @@ def _number_shapes_ancestors(
results = _map.FindFromKey(topological_entity)
if results.Size() == 0:
return None
topology_iterator = TopTools_ListIteratorOfListOfShape(results)
topology_iterator = TopTools_ListOfListOfShape(results)
while topology_iterator.More():
topo_set.add(topology_iterator.Value())
topology_iterator.Next()
Expand Down