def getBottomPath(path):
 bottom = 999999999.9
 for point in path:
  bottom = min(bottom, point.z)
 return bottom

def getBottomPath ( path ) : bottom = 999999999.9 for point in path : bottom = min ( bottom , point . z ) return bottom
get the bottom of the path .