This is the assignment about making a 3D grid of points, which I couldn't make work the last time.
# GRID 3D
numColumns = 30
numRows = 30
numLevels = 30
for i in range (0, numColumns, 1):
x = i
for j in range (0, numRows, 1):
y = j
for k in range (0, numLevels, 1):
z = k
myPoint = [x, y, z]
cmds.spaceLocator (p = myPoint)

No comments:
Post a Comment