D Major Studio
  • Demo Reel
  • Gallery
  • Blog
  • Contact/Resume

Script Bits

8/27/2014

0 Comments

 
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!
SCRIPT - Select random
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.
0 Comments



Leave a Reply.

    Categories

    All
    Dynamics
    Fur
    Hair/Fur
    Scripting

    Archives

    September 2016
    April 2016
    June 2015
    August 2014
    March 2014
    September 2013
    January 2013
    March 2011

Copyright © 2016 - David Major | 778.886.8073 | major@dmajorstudio.com