Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- edgeNum = 2
- xValEven = 0
- xValOdd = -4
- yVal = 0
- zVal = 1
- for i in range(1,10):
- stringconstruct = 'a=[' + str(edgeNum) + ',(' + str(xValEven) + ',0,' + str(zVal)+ ')]'
- eval('plg.polyAppend(' + stringconstruct + ')')
- edgeNum = edgeNum + 1
- zVal = zVal + 1
- stringconstruct = 'a=[' + str(edgeNum) + ',(' + str(xValOdd) + ',0,' + str(zVal)+ ')]'
- eval('plg.polyAppend(' + stringconstruct + ')')
- edgeNum = edgeNum + 3
Advertisement
Add Comment
Please, Sign In to add comment