def load_collada(file_obj, resolver=None, **kwargs):
    '\n    Load a COLLADA (.dae) file into a list of trimesh kwargs.\n\n    Parameters\n    ----------\n    file_obj : file object\n      Containing a COLLADA file\n    resolver : trimesh.visual.Resolver or None\n      For loading referenced files, like texture images\n    kwargs : **\n      Passed to trimesh.Trimesh.__init__\n\n    Returns\n    -------\n    loaded : list of dict\n      kwargs for Trimesh constructor\n    '
    c = collada.Collada(file_obj)
    material_map = {}
    for m in c.materials:
        effect = m.effect
        material_map[m.id] = _parse_material(effect, resolver)
    meshes = {}
    graph = []
    for node in c.scene.nodes:
        _parse_node(node=node, parent_matrix=np.eye(4), material_map=material_map, meshes=meshes, graph=graph, resolver=resolver)
    result = {'class': 'Scene', 'graph': graph, 'geometry': meshes}
    return result
Load a COLLADA (.dae) file into a list of trimesh kwargs.

Parameters
----------
file_obj : file object
  Containing a COLLADA file
resolver : trimesh.visual.Resolver or None
  For loading referenced files, like texture images
kwargs : **
  Passed to trimesh.Trimesh.__init__

Returns
-------
loaded : list of dict
  kwargs for Trimesh constructor
def load_collada(file_obj, resolver=None, **kwargs):
    '\n    Load a COLLADA (.dae) file into a list of trimesh kwargs.\n\n    Parameters\n    ----------\n    file_obj : file object\n      Containing a COLLADA file\n    resolver : trimesh.visual.Resolver or None\n      For loading referenced files, like texture images\n    kwargs : **\n      Passed to trimesh.Trimesh.__init__\n\n    Returns\n    -------\n    loaded : list of dict\n      kwargs for Trimesh constructor\n    '
    c = collada.Collada(file_obj)
    material_map = {}
    for m in c.materials:
        effect = m.effect
        material_map[m.id] = _parse_material(effect, resolver)
    meshes = {}
    graph = []
    for node in c.scene.nodes:
        _parse_node(node=node, parent_matrix=np.eye(4), material_map=material_map, meshes=meshes, graph=graph, resolver=resolver)
    result = {'class': 'Scene', 'graph': graph, 'geometry': meshes}
    return result