Knows anyone “Material by Element” modifier in 3D Studio Max? Well, my scripts is born due to this task inside my every days workflow: I needed to generate a list of material (with precise name and random diffuse variations), to get it back, to assign randomly and to delete it or modify easly.
I’ve added some more features (find objects without materials, remove unused materials, select objects involved in a known list, …).
I’ve been using all this tools as macro, finally I’ve got the time to build’em together into an addon; it seems to be quite easy to use and intuitive (I hope!) so I’d like to share it.
Do it assign different materials to every element of an object, without separate it in different objects? This days I had the problem to assign different materials to a board pavement in a random way. So I wonder if this add-on could solve my problem.
Ciao Lell!
Yes, I’m Italian but on this wall I’d prefer to discuss in English so everybody can understand us
At the moment the scripts focuses on separated objects but thank you for the suggestion! I’ll work on this feature. By the way, now you could split the elements, assign material list, select the elements with “select MBE objects” button and CTRL+J them toghether to get back the single big objects with multimaterial applyied.
Another quick update…
maybe too early, but my “assign to subobject” seems to work correctly so I decided to put it on as a button.
Thanks to CodeMax for helping me in the discussion (have a look to it in Python support forum).
Ok I am going to look at the sites that you posted to see if I can answer this question by reading and viewing them. But what exactly do you mean “by element” I have never heard of anything in blender called an “element”
Hi shaba, thank you a lot for your post!
At the moment i’m in sicily working and I haven’t got my pc with me. On wednsday I will be back in milano so I will explain with screenshots what I want to get from this script.
Ciao!
Pietro
Sorry, you’re right.
I’ll try to be as clear as I can, feel free to ask me more:
a polygon is a blender polygon
an object is a blender object (n polygons)
an element is a number of polygons linked each other. The “test” to determine where an element starts and where it finishes is to selected one polygon and run “select linked” (CTRL+L in edit mode)
So we have a new ierarchy: [vertex-edge-polygon] -> elements -> mesh -> object
Blender doesn’t track the elements (so far I couldn’t find them) so I have to remap them each time: but I’m not a python ninja, so I think that my code could be better implemented.
The name “elements” come from max, I was only looking for a definition for it, don’t want to make blender similar to max, only add an useful (in my opinion) feature.
Thank you a lot, I apologize for my delay in answering you.