def getOuterLoops(loops):
 outerLoops = []
 for loop in loops:
  if (not euclidean.isPathInsideLoops(outerLoops, loop)):
   outerLoops.append(loop)
 intercircle.directLoops(True, outerLoops)
 return outerLoops

def getOuterLoops ( loops ) : outerLoops = [ ] for loop in loops : if ( not euclidean . isPathInsideLoops ( outerLoops , loop ) ) : outerLoops . append ( loop ) intercircle . directLoops ( True , outerLoops ) return outerLoops
get widdershins outer loops .