SHARE
TWEET

The Rockifier 0.3.1

jeffwincek Oct 6th, 2011 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # takes one object selected and rockifies it.
  2. # needs the wiggler to run
  3. # recommended to run the proportionizer on the object first
  4. # 4 is a good number for howManyIterations, 5 is pushing it
  5.  
  6. def rockifier(whichOne, howMuch,howManyIterations):
  7.     for x in range(1,howManyIterations):
  8.         if x == 1 or x == 2:
  9.                 plg.polyAverageVertex(whichOne, iterations = 2)
  10.         wiggler(whichOne, howMuch*x)
  11.         plg.polySmooth( name = whichOne)
  12.     plg.polyAverageVertex(whichOne, iterations = 2)
  13.  
  14.  
  15.  
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top