Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # takes one object selected and rockifies it.
- # needs the wiggler to run
- # recommended to run the proportionizer on the object first
- # 4 is a good number for howManyIterations, 5 is pushing it
- def rockifier(whichOne, howMuch,howManyIterations):
- for x in range(1,howManyIterations):
- if x == 1 or x == 2:
- plg.polyAverageVertex(whichOne, iterations = 2)
- wiggler(whichOne, howMuch*x)
- plg.polySmooth( name = whichOne)
- plg.polyAverageVertex(whichOne, iterations = 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement