meshlabxml/delete.py
def unreferenced_vert(script):
    """ Check for every vertex on the mesh: if it is NOT referenced by a face,
        removes it.

    Args:
        script: the FilterScript object or script filename to write
            the filter to.

    Layer stack:
        No impacts

    MeshLab versions:
        2016.12
        1.3.4BETA
    """
    if script.ml_version == '1.3.4BETA':
        filter_xml = '  <filter name="Remove Unreferenced Vertex"/>\n'
    else:
        filter_xml = '  <filter name="Remove Unreferenced Vertices"/>\n'
    util.write_filter(script, filter_xml)
    return None
def unreferenced_vert(script):
    """ Check for every vertex on the mesh: if it is NOT referenced by a face,
        removes it.

    Args:
        script: the FilterScript object or script filename to write
            the filter to.

    Layer stack:
        No impacts

    MeshLab versions:
        2016.12
        1.3.4BETA
    """
    if script.ml_version == '1.3.4BETA':
        filter_xml = '  <filter name="Remove Unreferenced Vertex"/>\n'
    else:
        filter_xml = '  <filter name="Remove Unreferenced Vertices"/>\n'
    util.write_filter(script, filter_xml)
    return None
Check for every vertex on the mesh: if it is NOT referenced by a face,
        removes it.

    Args:
        script: the FilterScript object or script filename to write
            the filter to.

    Layer stack:
        No impacts

    MeshLab versions:
        2016.12
        1.3.4BETA