meshlabxml/texture.py
def isometric_build_atlased_mesh(script, BorderSize=0.1):
    """Isometric parameterization: Build Atlased Mesh

    This actually generates the UV mapping from the isometric parameterization

    """
    filter_xml = ''.join([
        '  <filter name="Iso Parametrization Build Atlased Mesh">\n',
        '    <Param name="BorderSize"',
        'value="%s"' % BorderSize,
        'description="BorderSize ratio"',
        'min="0.01"',
        'max="0.5"',
        'type="RichDynamicFloat"',
        'tooltip="This parameter controls the amount of space that must be left between each diamond when building the atlas. It directly affects how many triangle are splitted during this conversion. In abstract parametrization mesh triangles can naturally cross the triangles of the abstract domain, so when converting to a standard parametrization we must cut all the triangles that protrudes outside each diamond more than the specified threshold. The unit of the threshold is in percentage of the size of the diamond, the bigger the threshold the less triangles are splitted, but the more UV space is used (wasted)."',
        '/>\n',
        '  </filter>\n'])
    util.write_filter(script, filter_xml)
    return None
def isometric_build_atlased_mesh(script, BorderSize=0.1):
    """Isometric parameterization: Build Atlased Mesh

    This actually generates the UV mapping from the isometric parameterization

    """
    filter_xml = ''.join([
        '  <filter name="Iso Parametrization Build Atlased Mesh">\n',
        '    <Param name="BorderSize"',
        'value="%s"' % BorderSize,
        'description="BorderSize ratio"',
        'min="0.01"',
        'max="0.5"',
        'type="RichDynamicFloat"',
        'tooltip="This parameter controls the amount of space that must be left between each diamond when building the atlas. It directly affects how many triangle are splitted during this conversion. In abstract parametrization mesh triangles can naturally cross the triangles of the abstract domain, so when converting to a standard parametrization we must cut all the triangles that protrudes outside each diamond more than the specified threshold. The unit of the threshold is in percentage of the size of the diamond, the bigger the threshold the less triangles are splitted, but the more UV space is used (wasted)."',
        '/>\n',
        '  </filter>\n'])
    util.write_filter(script, filter_xml)
    return None
def isometric_build_atlased_mesh ( script , BorderSize = 0.1 ) : filter_xml = '' . join ( [ '  <filter name="Iso Parametrization Build Atlased Mesh">\n' , '    <Param name="BorderSize"' , 'value="%s"' % BorderSize , 'description="BorderSize ratio"' , 'min="0.01"' , 'max="0.5"' , 'type="RichDynamicFloat"' , 'tooltip="This parameter controls the amount of space that must be left between each diamond when building the atlas. It directly affects how many triangle are splitted during this conversion. In abstract parametrization mesh triangles can naturally cross the triangles of the abstract domain, so when converting to a standard parametrization we must cut all the triangles that protrudes outside each diamond more than the specified threshold. The unit of the threshold is in percentage of the size of the diamond, the bigger the threshold the less triangles are splitted, but the more UV space is used (wasted)."' , '/>\n' , '  </filter>\n' ] ) util . write_filter ( script , filter_xml ) return None
Isometric parameterization: Build Atlased Mesh

    This actually generates the UV mapping from the isometric parameterization
Isometric parameterization : Build Atlased Mesh