Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

Hey folks,

I've been meaning to write these two for sometime now.

Many times, after working on a scene for a number of hours or days, I find that I've ended up with multiple materials, with each having the same image textures. For instance, in EEVEE+CYCLES Materials, I use this scratched png to help create a realistic texture on some metals. And it can also be used on glass as well. So...now I have 2 versions of the same texture taking up memory in my scene.

So, the first addon, called Material Image Remapper, solves this problem nicely. It works by looking specifically at the data of each texture image and if it finds the data matches, then it tags it as a duplicate of an existing image. Once all reviewed, it goes ahead and remaps all the duplicates to a single texture image in all of the affected materials.

Then it's easy for you to use Recursive Unused Data Blocks under the File: Clean Up menu to remove the files from your scene.

The second addon solves another memory issue-- but this one is file storage. As many of you know, Blender creates backup files called .blend1. And these can certainly come in handy-- they've saved my rear many times! Still, they do add up and years of these files can consume huge amounts of disk space.

This addon is called Delete .blend1 Files in Current Dir

And it does just that. Whatever folder your current file is open with, this addon will scan and delete the .blend1 files there. And when you press the button, it will give you the ability to also delete .blend1 files from all subdirectories as well. When finished, it reports below the number of files deleted.

Both of these utils end up in the Edit menu on the N-Panel. You can access them there. Here are the links:

https://www.dropbox.com/scl/fi/463sfyg4xaphj433a9pso/cw-del-blend1-files-in-current-dir.py?rlkey=bvwx48cpqbwkvu6vsn4i870st&dl=0

and

https://www.dropbox.com/scl/fi/50xopik1w7dmoea7n9r7p/cw-remap.py?rlkey=iuib98wuwtzkp7echx3anw1nl&dl=0


Let me know if you have any issues. Seeya around!

Files

Previews only

2 Free Addons for Blender: Remap and Remove

Two free addons you may find useful. The first one walks through all the materials in your scene looking for the exact same image texture (no matter the name) and if it finds duplicates, it remaps them all to a single image texture. You can then use Recursive Unused Data Blocks under the File: Clean Up menu to remove the files from your scene. This gives you more memory for rendering and may also make the viewport faster as well. The second one removes all those .blend1 backup files that take up tons of space on your hard drive. You can choose to remove only .blend1 files in the currently open files directory, or you can also have it delete all the .blend1 files in the subdirectories as well. Both of these tiny utilities show up on the Edit panel in the N-panel. They are very small and take little to no memory themselves and report what's happening in the console as well. The addons are at: https://www.dropbox.com/scl/fi/463sfyg4xaphj433a9pso/cw-del-blend1-files-in-current-dir.py?rlkey=bvwx48cpqbwkvu6vsn4i870st&dl=0 and https://www.dropbox.com/scl/fi/50xopik1w7dmoea7n9r7p/cw-remap.py?rlkey=iuib98wuwtzkp7echx3anw1nl&dl=0 DISCORD http://cw1.me/discord PATREON https://patreon.com/chippwalters KIT OPS 2 PRO https://gum.co/kitopspro https://blendermarket.com/products/kit-ops-pro-asset--kitbashing-addon CYBERDECKS KPACKS at Blender Market: https://blendermarket.com/products/cyberdecks SCIFI FLEX v2 https://blendermarket.com/products/simple-scifi-pro SPOCK https://blendermarket.com/products/spock QSHOT2 https://blendermarket.com/products/quick-shot https://chippwalters.gumroad.com/l/quickshot EEVEE+Cycles Materials System https://blendermarket.com/products/definitely-eevee-materials-system https://chippwalters.gumroad.com/l/EEVEE2 KIT OPS PARALLAX https://blendermarket.com/products/kit-ops-parallax https://chippwalters.gumroad.com/l/koparallax DESIGN MAGIC https://chippwalters.gumroad.com/l/designmagic https://blendermarket.com/products/design-magic KIT OPS 2 FREE https://gum.co/kitops https://blendermarket.com/products/kit-ops-free SYNTH https://gum.co/kitopssynth https://blendermarket.com/products/kit-ops-synth KIT OPS BATCH https://gumroad.com/l/kitopsbatch https://blendermarket.com/products/kit-ops-batch K-Cycles https://blendermarket.com/products/k-cycles?ref=295 Sci-Fi in a Box by GREEZYBEAR https://blendermarket.com/creators/greezybear?ref=295 https://gumroad.com/a/1049842803 Perspective Plotter by Mark Kingsnorth https://blendermarket.com/products/perspective-plotter?ref=295 Simple Bake by HaughtyGrayAlien https://blendermarket.com/products/simplebake---simple-pbr-and-other-baking-in-blender-2?ref=295Two free addons you may find useful.

Comments

Uwe Bröckert

Thank you Chipp, another great tool.

Russ Swaney

Nice, been using similar tools for over two decades in Max at work - 'Consolidate Materials'/'Find and Replace Duplicates' and 'Purge', nice to get these for blender. Just need a good way to copy/move to a new location/relink textures in Blender

Russ Swaney

Unfortunately that's a not a batch tool, and not well designed for large scenes that may have thousands of textrues