diff --git a/src/build123d/topology.py b/src/build123d/topology.py index 84cc34e8..7f0f75f6 100644 --- a/src/build123d/topology.py +++ b/src/build123d/topology.py @@ -6762,7 +6762,7 @@ class Joint(ABC): def __init__(self, label: str, parent: Union[Solid, Compound]): self.label = label self.parent = parent - self.connected_to: Joint = None + self.connected_to: Joint = set() def connect_to(self, other: Joint, *args, **kwargs): # pragma: no cover """Connect Joint self by repositioning other""" @@ -6778,7 +6778,7 @@ def connect_to(self, other: Joint, *args, **kwargs): # pragma: no cover other.parent.locate(self.parent.location * relative_location) - self.connected_to = other + self.connected_to.add(other) @abstractmethod def relative_to(self, other: Joint, *args, **kwargs) -> Location: