[Plugin] Material Replacer
-
I thought about an additional function in this plugin that may be useful for a lot of people.
The plugin would create several squares (or plans, or boxes) in the scene, in a separate place, maybe in separate tab.
The of number of the squares (or plans, or boxes) it would be the same as the number of the materials in the scene.
In each one of them it would be applied a material. The objective of this function would be the one of to join identical materials or to join similar materials in the scene, reducing the number of materials in the scene. That would aid a lot in the moment of preparing the materials for rendering.
Another interesting function would be to erase all of the squares and to recreate all from materials purged.
That would be very special for me. Please, think with love about this possibility. -
Another interesting thing would be if it was possible to change materials just in the selected objects.
-
Excellent ideas!
-
Thomtom huge thank you!
2 things that would make this script a dream come true:- To be able to make the 'first eyedropper click' a multiple one (with control key)- to select a set of materials to be replaced.
- To insert material editor into the picture. I mean ability to select materials (to be replaced\replacement candidate) both in model and mateditor.
Almost forgot:
-
Very cool! Thank you!
-
I have a real need for something very similar to bagatelo's request.
I have a need that doesn't seem to fit "Select by Material" or "Material Replacer" or "Repaint" or "GlobalMaterialChange".
In the development of my major models I was not very consistent with color application. As I've learned more and have gotten much more involved with rendering (TwiLight originally and now Thea) the actual colors are very important.
What I would like to be able to do is select a material/color that is in the model from the materials dialog (or something like bagatelo's idea) and then be able to select all objects that have that color/material. Then I need to be able to isolate them so I can see what's been selected, and, finally, with all of these selected, I can change their color. But I need to know which objects, groups, components are that color so I don't accidentally change one that I don't want changed.
Does anyone have an idea of how to do this or even if it could be done?
-
One can select all entities that has material with the same colour.
However, this isolation - not quite sure what you mean there. You mean hide all other faces/edges?
Can't think of nay other way to isolate. You do have the Hide Rest of Model feature in SU, but then everything would need to be inside a group/component - and the API doesn't let us upen up groups etc... -
someone buy thomthom a cookie at base camp and take a picture of it
-
I'm not going to Basecamp...
-
-
@thomthom said:
One can select all entities that has material with the same colour.
That's what I don't know how to do: If I could select all the entities with the same color and then isolate only those entities I could see which ones had the "wrong" color so I could change it.
Very belated update:Karen Walkerman has done just what I requested above.
http://forums.sketchucation.com/viewtopic.php?t=31378
Thanks again Karen -
Is it possible to change just the material of the picked face?
-
@dedmin said:
Is it possible to change just the material of the picked face?
Can't you just paint it ??
-
The beauty of this tool - You don't have to open a component to change the material of the faces.
But it changes all the material in the whole model - not just the face You click on. -
@dedmin said:
The beauty of this tool - You don't have to open a component to change the material of the faces.
But it changes all the material in the whole model - not just the face You click on.BUT your question was to change the material of the picked face !
You mean to change the material of the picked face INSIDE THE GROUP/INSTANCE !
It couldbe done... but I must leave it to others...... -
Yes, inside the group or component. And only of that picked fase.
-
How do you install this plugin
-
Open the zip file and drop the .rb file and the folder with it into the Plugins folder where SketchUp is installed.
-
It would be possible to create a function swap some materials? Something like this:
Imagine a blue box and a red ball. We play the plugin, we click on the box and after the ball, and the colors are reversed. It would be interesting too, if it were possible to exchange materials not in the whole scene, but only on selected objects. Thanks for this fantastic tool. -
Is there any way we can use this plugin to replace a specific material [.skm]..that has been used in the model with vray materials [i.e. .vismats]...??
Advertisement