Hello !

I am quite new to python Maya API. Iknow how to write plugins that
gather info from existing objects, I need to write a node that
generates curves from given matrices of MPoints() and MVectors(), when
no objects are in scene. Could you help me? Here is some pseudocode:

m = 2 is a parameter
n = pi/12 is an angle
curveArray = [[(0,0,0),(0,m,0)],[[(0,m,0),(sin(n)*m,m+cos(n)*m,0)],
[(0,m,0),(sin(2n)*m,m+cos(2n)*m,0)],[(0,m,0),(sin(3n)*m,m+cos(3n)*m,
0)]]]

I need a plug that creates curve dynamicly

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to