def pack_islands(rotate: bool=True, margin: float=0.001):
    """Transform all islands so that they fill up the UV space as much as possible 

    :param rotate: Rotate, Rotate islands for best fit 
    :type rotate: bool
    :param margin: Margin, Space between islands 
    :type margin: float
    """
    pass
