Blender QMM (Quick Metal Materials) - Free Addon

Blender MC Updated to 0.10.0

0.10.0

  • Add World Background bool that changes target to World > Background Shader > Color

I liked how the Moods colors (added in v0.9.0) looked as background colors, so I added a World Background checkbox that lets all of the MC colors target the world color.

If Rename Material is checked at the same time, the world name is set to the color name.

  • Move color set classes and color functions to separate files

I plan to integrate all the Blender QMC color sets into a single add-on – named Blender QMC, of course – so I’ve started making the color sets modular and migrating them into separate files.

2 Likes

Your work is amazing.

Glad you like – I live to serve! :nerd_face:

Could you please take a look at the possibility of adding RAL colors?

Interesting notion, but I don’t understand what exactly you have in mind.

Do you mean using matcaps as image textures, or is this some new thing I don’t know about?


It’s sure possible, but I haven’t used RAL, and there are over 200 colors on the ralcolor.com front page.

I have a script that automates generating the classes, but the time-consuming part is getting the hex values and writing the array of all the colors.

If you’re willing to create the array, I’d be glad to convert it.

Here’s the format:

["Class Name","Tool Tip","Label Name","ID Name","Hex Color"],

And here’s an example:

["F58ARavenBlack","Ford Colors 1958 - A Raven Black","A Raven Black","f58a_raven_black","010303"],
1 Like

Blender QMC Updated to 1.0.1

This release consolidates all the existing color set add-ons into one add-on and one panel named Quick Material Colors.

Sets, color names, and swatches are listed on the main page of the repo.

1.0.1

  • Merge colors and panels files into unified color_sets files

1.0.0

  • Migrate all color sets into one add-on
    • Ford 1958
    • House & Garden 1971
    • General Electric
    • Mid-Century Modern
    • Moods
    • Pantone Color of the Year
    • Suburban Modern Exterior
    • Suburban Modern Interior
    • The Jazz Age
  • Move color sets into separate files
    • Each color set gets a colors file and a panels file


Thanks to the folks in the Python Support forums for helping make this upgrade possible.

1 Like

OK. I’ll take a look at it over the weekend.

If you’re feeling brave, and want to generate the files and add it to your local copy of QMC, the scripts are posted to Github.

Blender QMC Updated to 1.0.2

1.0.2

  • Add error detection for missing World
1 Like

I’ve tried to do the first three colors and I’m sending it off to be checked to see if that’s okay? Alternatively, can you please edit it into the necessary form and I’ll add the other colours already according to the pattern?

[“RALRAL1000”,“RAL1000 - Green beige”,“RAL 1000”,“RALRAL_1000”,“CDBA88”],[“RALRAL1001”," RAL1001 - Beige",“RAL 1001”,“RALRAL_1001”,“D0B084”],[“RALRAL1002”,“RAL1002 - Sand yellow”,“RAL 1002”,“RALRAL_1002”,“#D2AA6D”],

Unfortunately, I don’t feel brave, I have no experience with it at all. But if you could provide a simple tutorial on how to do it, I’d be happy to (I’d like to learn something new).

This is a good start, but the final format would be better like this:

# LONG ARRAY

["RAL1000","RAL1000 - Green beige","RAL 1000","ral_1000","CDBA88"],
["RAL1001","RAL1001 - Beige","RAL 1001","ral_1001","D0B084"],
["RAL1002","RAL1002 - Sand yellow","RAL 1002","ral_1002","D2AA6D"],

One bug I noticed is that the quote marks were curly braces “” rather than straight quotes ", which could cause problems.

For simplicity’s sake…

There’s a script in the repo called Array_Generator.py that generates the full array from a smaller set.

It takes this input:

# SHORT ARRAY

["1000","Green beige","CDBA88"],
["1001","Beige","D0B084"],
["1002","Sand yellow","D2AA6D"],

and generates the longer version I posted above. Less typing is better. :smile:

So…

Write out all the RAL colors in the Short Array style, save it to a .txt file and post it here. Copy/pasting all that text into the comment window would be… oof! :sweat:

Or…

If you want to try the script, grab it from the repo, fill out the array, and save the file.

Run it by opening Terminal, navigating to the directory containing the Array_Generator.py script, and running python Array_Generator.py > ral.py.

Then post the ral_vars.py file here, and I will process it.

Color sets…

I took another look at the RAL page, and I see they use background colors to group the colors into sets – yellow, orange, and etcetera.

It’s smart to do the same in the add-on, so I’ll do that manually once the final file is generated.

Thank you very much. I will do it in Short Array style. But it will take a while. Then I will post it here as a .txt file.

1 Like

So I finally finished it. I have sent you a txt file to your e-mail.

Blender QMC Updated to 1.1.0

This update adds the 218 colors of the RAL Classic color system.

Thanks to Meleagros for making this happen!

1.1.0

  • Add RAL Classic set of 218 colors
  • Set Parent Panel default to open
1 Like

Updates: Blender QMC to 1.2.0 and Blender QMM to 1.4.6

Quick Material Colors

1.2.0

  • Add All Selected Materials checkbox
    • When selected, this changes the Base Color of all selected shader nodes
    • It ignores nodes that do not have a Base Color attribute

Quick Metal Materials

1.4.6

  • New color values from physicallybased.info
    • Set Base Color to new values
      • Aluminium
      • Copper
      • Gold
      • Iron
      • Lead
      • Mercury
      • Platinum
      • Silver
      • Titanium
    • Add new colors to Color Group nodes
      • Copper Colors
        • PBM Copper
      • Gold Colors
        • Harvest Gold
        • PBM Gold
      • Silver Colors
        • PBM Silver
    • Sort colors in Color Groups
      • All colors after Base Name color sorted from lightest to darkest
    • Add Color Group nodes to Asset Browser file
      • Colors Copper
      • Colors Gold
      • Colors Silver
      • Colors Titanium
1 Like

Blender QMC Updated to 1.2.1

Thanks to the feedback I got in this thread, I’ve optimized the code and pushad an update.

1.2.1

  • Optimize color_functions.py
2 Likes

Blender QMM Updated to 1.4.7

Among other updates, this release adds two new materials – Tin and Zinc – and the Canisotrophy node group, which adds a fake anisotropic texture to the Tin material. It is meant to add more realism to the surface of tin cans and other cylindrical objects.

I’ve also switched the Specular group out for the new Energy Conservation group, which adds Fresnel adjustment to the base color of a material, again for more realism. (It seems the Blender devs already have something like this in the pipeline for a future release, but for now, here’s a hack.)

1.4.7

  • Add new materials
    • Tin
    • Zinc
  • Add Displacement to Asphalt and Asphalt Bleached
  • Add Canisotrophy Group with To Roughness output. This affects Tin.
  • Replace Specular Group with Energy Conservation Group (via Christopher 3D). This affects ALL materials, both metal and dialectric, except:
    • Gold and Silver because: IOR value is too low
    • Gold (Fresnel), Silver (Fresnel), and Copper (Fresnel) because: not compatible with node setup
    • Glass Hack because: not relevant
  • Code cleanup
3 Likes

Blender QMM Updated to 1.4.8

Maintenance release

1.4.8

  • Update Base Color
    • Copper
    • Gold
    • Silver
  • Update IOR
    • Iron
  • Update Base Color and IOR
    • Platinum
    • Zinc
  • Bugfix: Color Group not connecting in Fresnel materials
    • Copper (Fresnel)
    • Gold (Fresnel)
    • Silver (Fresnel)

Questions? Check out the QMM wiki.

1 Like

The metal can look nice.

1 Like