I was intrigued by this photo from Wikimedia commons

and inspired to create this similar structure

in Blender. Each brick in my model is a separate mesh, and in many cases, they are separate objects as well. I'm working on a means of using a model such as this one to create masonry textures like this one

that are not found in the usual texture repositories. To make the texture more realistic, I'd like to create a set of materials, in this case, brick hues, and have an automated method to randomly assign a different one of the elements in the set of materials to each successive mesh. Is there such a tool available, or do I have to do this manually for each of the 1000 or so meshes?
https://github.com/Tlousky/blender_scripts/blob/master/random_material_assigners/random_material_assigner_per_face_new_features.py
– TLousky Dec 14 '15 at 07:24