[Plugin] Material Replacer
-
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]...??
-
@cobb89 said:
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]...??
Use V-Ray's material editor. Right click a material and Import
-
thank you for this plugin, i found this very useful.
-
This sort of ties in with the current thread:
http://forums.sketchucation.com/viewtopic.php?f=79&t=36987 -
As I can see, this plugin replaces a material globally in entire model. It would be awesome to have option to replace material on a specific object only.
Will you take into consideration my suggestion?
Thank you. -
@unknownuser said:
As I can see, this plugin replaces a material globally in entire model. It would be awesome to have option to replace material on a specific object only.
Will you take into consideration my suggestion?
Thank you.You probably need http://forums.sketchucation.com/viewtopic.php?p=63629#p63629 [my olde Global_Material_Replacer.rb tool] - it is dialog driven to choose the material to go and material to use - including 'All' and 'Default-front/back'. It swaps materials in the entire model's active_entities collection, OR IF there's a selection on selected objects... It works inside 'containers'...
Advertisement