Hi, this is my last question about curve parameterisation so dont worry

i have this line in python that creates an ep curve:

cmds.curve(d=3,n='curve11', 
ep=[posList[0],posList[1],posList[2],posList[3],posList[4],posList[5]])  

this creates a curve of 6 edit points of degree 3, which is what i want. When 
you right click the curve and go to curve point and then drag between any of 
the points, you will get a parameteristion that is the chord length of the 
curve, rather than 0 to 1, 1 to 2, 2 to 3 between each edit point.

in the past i have been using rebuild curve to correct the parameterisation 
afterwards, 

but then recently i just created an ep curve by hand in maya manually, and the 
parameterisation is uniform 0 to 1, 1 to 2 between points like i wanted all 
along.

i checked the options of the ep curve tool in maya and it had a 'uniform' knot 
spacing option checked. however in python cmds there is not a flag for knot 
spacing to make the curve uniform.

Does anyone know how to select this 'uniform' option for the ep curve command 
in python?
because this will solve all my problems, 

thanks, 
Sam

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/b98e39f5-d5e2-4e94-80e7-98a8ae747d7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to