import maya.cmds as cmds
from random import*
from math import*
#REVOLVING A CURVE TO FORM A SURFACE
def revolve(numPoints,myAxis,myEndSweep):
"revolve a curve"
myPoints=[]
for i in range(numPoints):
x=uniform(0,20)
y=10
z=i*5
myPoints.append([x,y,z])
crv=cmds.curve(ep=myPoints,d=3)
cmds.revolve(crv,axis=myAxis,endSweep=myEndSweep)
revolve(10,[1,0,1],90)
Tuesday, June 16, 2009
02B_COSMOS BEDZRA_SURFACE
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment