An interesting script I dug up today.
There was a situation where I needed to select a number of random edges from my selection to create some geometry for a more randomized effect. I didn't want to have to do it over and over again, so I wrote some quick scripting to work on the components I had selected.
I sat down and expanded on the code I started with and wound up creating a script which works not only on the selected components, but on all things selected... components, geometry etc.
I don't see any problems with this script right now. Not the cleanest implementation of the idea I think, but -shrug- that's why we learn while we're developing.
I hope someone finds it useful!
There was a situation where I needed to select a number of random edges from my selection to create some geometry for a more randomized effect. I didn't want to have to do it over and over again, so I wrote some quick scripting to work on the components I had selected.
I sat down and expanded on the code I started with and wound up creating a script which works not only on the selected components, but on all things selected... components, geometry etc.
I don't see any problems with this script right now. Not the cleanest implementation of the idea I think, but -shrug- that's why we learn while we're developing.
I hope someone finds it useful!
Here's another one I found. - <Had to remove because link depreciated>
Fun trying to use dictionaries.
Someone who is working with particle emitters in Maya might be familiar with the frustration of "Emitting from object" and using surface emitters and then realizing that the surface you're using is not the best shape or object for the emission.
With this script, you can select your emitter and a target surface, it will disconnect the current surface and replace it with the new surface.
Fun trying to use dictionaries.
Someone who is working with particle emitters in Maya might be familiar with the frustration of "Emitting from object" and using surface emitters and then realizing that the surface you're using is not the best shape or object for the emission.
With this script, you can select your emitter and a target surface, it will disconnect the current surface and replace it with the new surface.