equal
deleted
inserted
replaced
1963 return i, self.Segments[i] |
1963 return i, self.Segments[i] |
1964 return None |
1964 return None |
1965 |
1965 |
1966 # Define the wire points |
1966 # Define the wire points |
1967 def SetPoints(self, points, merge_segments=True): |
1967 def SetPoints(self, points, merge_segments=True): |
1968 print("SetPoints", self) |
|
1969 if len(points) > 1: |
1968 if len(points) > 1: |
1970 |
1969 |
1971 # filter duplicates, add corner to diagonals |
1970 # filter duplicates, add corner to diagonals |
1972 self.Points = [] |
1971 self.Points = [] |
1973 lx,ly = None,None |
1972 lx,ly = None,None |