A Blender addon that consolidates duplicate materials (e.g., Material.001, Material.002, Glass.004) back to their base materials within a collection.
When you copy and paste objects in Blender, it often creates duplicate materials with .001, .002, .003 suffixes. This addon automatically consolidates all these duplicates back to the base material name.
Example:
Door/Shutter.004→Door/ShutterGlass.004→GlassMaterial.001→Material
- Works on entire collections at once
- Automatically finds and replaces duplicate materials
- Preserves the base material if it exists
- If no base material exists, renames the first duplicate to be the base
- User-friendly UI in the 3D View sidebar
- Reports how many materials were consolidated
- Download or create a ZIP file containing
__init__.py - In Blender, go to
Edit→Preferences→Add-ons - Click
Install...button - Navigate to the ZIP file and select it
- Enable the addon by checking the checkbox next to "Material: Material Duplicates Consolidator"
- Locate your Blender addons folder:
- Windows:
C:\Users\[YourUsername]\AppData\Roaming\Blender Foundation\Blender\[Version]\scripts\addons\ - macOS:
/Users/[YourUsername]/Library/Application Support/Blender/[Version]/scripts/addons/ - Linux:
~/.config/blender/[Version]/scripts/addons/
- Windows:
- Create a folder called
BlenderMaterialDups - Copy
__init__.pyinto this folder - Restart Blender or click
Refreshin Preferences → Add-ons - Enable the addon by searching for "Material Duplicates Consolidator" and checking the checkbox
- Open the 3D View in Blender
- Press
Nto open the sidebar (if not already open) - Click on the "Materials" tab
- Select a collection from the dropdown menu
- Click the "Consolidate Material Duplicates" button
The addon will process all objects in the selected collection and consolidate any duplicate materials.
- The addon scans all objects in the selected collection
- For each material slot on each object:
- Checks if the material name ends with
.###(three digits) - Extracts the base material name
- Looks for the base material in the Blender file
- If found, replaces the duplicate with the base material
- If not found, renames the duplicate to become the base material
- Checks if the material name ends with
- Reports the results in Blender's status bar
- Blender 3.0 or higher
If you encounter any issues or have suggestions, please report them at the project repository.
This addon is provided as-is for use in Blender projects.