meshlabxml/texture.py
def isometric_transfer(script, sourceMesh=0, targetMesh=1):
    """Isometric parameterization: transfer between meshes

    Provide the layer numbers of the source and target meshes.

    """
    filter_xml = ''.join([
        '  <filter name="Iso Parametrization transfer between meshes">\n',
        '    <Param name="sourceMesh"',
        'value="%s"' % sourceMesh,
        'description="Source Mesh"',
        'type="RichMesh"',
        'tooltip="The mesh already having an Isoparameterization"',
        '/>\n',
        '    <Param name="targetMesh"',
        'value="%s"' % targetMesh,
        'description="Target Mesh"',
        'type="RichMesh"',
        'tooltip="The mesh to be Isoparameterized"',
        '/>\n',
        '  </filter>\n'])
    util.write_filter(script, filter_xml)
    return None
def isometric_transfer(script, sourceMesh=0, targetMesh=1):
    """Isometric parameterization: transfer between meshes

    Provide the layer numbers of the source and target meshes.

    """
    filter_xml = ''.join([
        '  <filter name="Iso Parametrization transfer between meshes">\n',
        '    <Param name="sourceMesh"',
        'value="%s"' % sourceMesh,
        'description="Source Mesh"',
        'type="RichMesh"',
        'tooltip="The mesh already having an Isoparameterization"',
        '/>\n',
        '    <Param name="targetMesh"',
        'value="%s"' % targetMesh,
        'description="Target Mesh"',
        'type="RichMesh"',
        'tooltip="The mesh to be Isoparameterized"',
        '/>\n',
        '  </filter>\n'])
    util.write_filter(script, filter_xml)
    return None
def isometric_transfer ( script , sourceMesh = 0 , targetMesh = 1 ) : filter_xml = '' . join ( [ '  <filter name="Iso Parametrization transfer between meshes">\n' , '    <Param name="sourceMesh"' , 'value="%s"' % sourceMesh , 'description="Source Mesh"' , 'type="RichMesh"' , 'tooltip="The mesh already having an Isoparameterization"' , '/>\n' , '    <Param name="targetMesh"' , 'value="%s"' % targetMesh , 'description="Target Mesh"' , 'type="RichMesh"' , 'tooltip="The mesh to be Isoparameterized"' , '/>\n' , '  </filter>\n' ] ) util . write_filter ( script , filter_xml ) return None
Isometric parameterization: transfer between meshes

    Provide the layer numbers of the source and target meshes.
Isometric parameterization : transfer between meshes