/autoMaterial

Blender addon - automate stuff to handle materials

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Auto material

Blender addon - automate stuff to handle materials

Download latest

Want to support me? Check this page

Description:

Set viewport color from nodes (or the opposite)

set_color

When getting from node, the node tree is reverse climbed until it found a "relevant" color input. (result can be unexpected)

If it stumble upon an image texture it will sample the center pixel color of the image

Auto name material from closest color name

auto_rename

Applied on selected objects. There is an option to apply on all slots instead of active only

On grease pencil material the fill color is always taken if activated

Only unnamed option (in addon preferences, disabled by default) : Allow to rename only materials that have default names ('Material', 'Material.001'...)

The color name are taken from xkcd database (Licence CC0) listed here : https://xkcd.com/color/rgb
Made for a color survey by Randall Munroe

If you want to use another data base, just swap yours with colornames.json in addon folder (formated like "name" : "hexa code")

e.g:

{   
    "cloudy blue": "#acc2d9",
    "dark pastel green": "#56ae57"
}