parameters: (materials)
return_statement: return mtl
docstring: Generate dummy materials (if there is no MTL file).
docstring_summary: Generate dummy materials (if there is no MTL file).
docstring_tokens: Generate dummy materials ( if there is no MTL file ) .
function: def generate_mtl(materials):
      """Generate dummy materials (if there is no MTL file).
      """
  
      mtl = {}
      for m in materials:
          index = materials[m]
          mtl[m] = {
              'DbgName': m,
              'DbgIndex': index,
              'DbgColor': generate_color(index)
          }
      return mtl
function_tokens: def generate_mtl ( materials ) : mtl = { } for m in materials : index = materials [ m ] mtl [ m ] = { 'DbgName' : m , 'DbgIndex' : index , 'DbgColor' : generate_color ( index ) } return mtl