(obj, options)
return mesh_name
:param obj:
    :param options:
def mesh(obj, options):
    """

    :param obj:
    :param options:

    """
    logger.debug('object.mesh(%s, %s)', obj, options)
    if obj.type != MESH:
        return

    for mesh_, objects in _MESH_MAP.items():
        if obj in objects:
            return mesh_
    else:
        logger.debug('Could not map object, updating manifest')
        mesh_ = extract_mesh(obj, options)
        if len(mesh_.tessfaces) is not 0:
            manifest = _MESH_MAP.setdefault(mesh_.name, [])
            manifest.append(obj)
            mesh_name = mesh_.name
        else:
            # possibly just being used as a controller
            logger.info('Object %s has no faces', obj.name)
            mesh_name = None

    return mesh_name
def mesh ( obj , options ) : logger . debug ( 'object.mesh(%s, %s)' , obj , options ) if obj . type != MESH : return for mesh_ , objects in _MESH_MAP . items ( ) : if obj in objects : return mesh_ else : logger . debug ( 'Could not map object, updating manifest' ) mesh_ = extract_mesh ( obj , options ) if len ( mesh_ . tessfaces ) is not 0 : manifest = _MESH_MAP . setdefault ( mesh_ . name , [ ] ) manifest . append ( obj ) mesh_name = mesh_ . name else : # possibly just being used as a controller logger . info ( 'Object %s has no faces' , obj . name ) mesh_name = None return mesh_name