def getInsetLoopsFromLoops(loops, radius):
 insetLoops = []
 for loop in loops:
  insetLoops += getInsetLoopsFromLoop(loop, radius)
 return insetLoops

def getInsetLoopsFromLoops ( loops , radius ) : insetLoops = [ ] for loop in loops : insetLoops += getInsetLoopsFromLoop ( loop , radius ) return insetLoops
get the inset loops .