def getWidenedLoops(loop, loopList, outsetLoop, radius):
 intersectingWithinLoops = getIntersectingWithinLoops(loop, loopList, outsetLoop)
 if (len(intersectingWithinLoops) < 1):
  return [loop]
 loopsUnified = boolean_solid.getLoopsUnion(radius, [[loop], intersectingWithinLoops])
 if (len(loopsUnified) < 1):
  return [loop]
 return loopsUnified

def getWidenedLoops ( loop , loopList , outsetLoop , radius ) : intersectingWithinLoops = getIntersectingWithinLoops ( loop , loopList , outsetLoop ) if ( len ( intersectingWithinLoops ) < 1 ) : return [ loop ] loopsUnified = boolean_solid . getLoopsUnion ( radius , [ [ loop ] , intersectingWithinLoops ] ) if ( len ( loopsUnified ) < 1 ) : return [ loop ] return loopsUnified
get the widened loop .