Skip to content
Open
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
4 changes: 2 additions & 2 deletions src/build123d/topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -6782,7 +6782,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, **kwargs): # pragma: no cover
"""Connect Joint self by repositioning other"""
Expand All @@ -6792,7 +6792,7 @@ def _connect_to(self, other: Joint, **kwargs): # pragma: no cover

relative_location = self.relative_to(other, **kwargs)
other.parent.locate(self.parent.location * relative_location)
self.connected_to = other
self.connected_to.add(other)

@abstractmethod
def connect_to(self, other: Joint, **kwags):
Expand Down