def addToThreadsRemove(extrusionHalfWidth, nestedRings, oldOrderedLocation, skein, threadSequence):
 while (len(nestedRings) > 0):
  getTransferClosestNestedRing(extrusionHalfWidth, nestedRings, oldOrderedLocation, skein, threadSequence)

def addToThreadsRemove ( extrusionHalfWidth , nestedRings , oldOrderedLocation , skein , threadSequence ) : while ( len ( nestedRings ) > 0 ) : getTransferClosestNestedRing ( extrusionHalfWidth , nestedRings , oldOrderedLocation , skein , threadSequence )
add to threads from the last location from nested rings .