SHARE
TWEET

The Waller 0.1.0

jeffwincek Oct 6th, 2011 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #if range(1,10) only nine in a directionbricks will be produced
  2. for y in range(1,10):
  3.         print 'doing row' + str(y)
  4.         for z in range(1,10):
  5.                 currentName = 'brick' + str(y) + str(z)
  6.                 plg.polyCube(d = 2,sx = 2,sy = 2, sz= 4, name = currentName)
  7.                 if bool(y&1):
  8.                         plg.setAttr(currentName +'.translateZ', (z*2)+.1)
  9.                 else:
  10.                         plg.setAttr(currentName +'.translateZ', (z*2)+.6)
  11.                 plg.setAttr(currentName +'.translateY', (y)+.1)
  12.                 rockifier(currentName, 3, 4)
  13.  
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