Hello friends,

i think i posted something similar to this a year ago but no answers. Basically 
i have a script which generates a curve using 'cmds.curve()' command with 'ep' 
for edit point flag.  (this curve will be curved not straight). 

Then the second part of the code involves adding two more points, each one 
evenly between these 3 initial points using the 'insertKnotCurve' command.

However in order to place these two additional points evenly between the first 
points, the curve first needs to be rebuilt with 'cmds.rebuildCurve()' so the 
parameterisation of the curve is even between each point. so then i know to 
insert a knot at 'u[0.5]' and u'[1.5]' and it will be placed evenly.

if the curve is rebuilt however , any point between the first and last move 
position  slightly (for some bizarre reason) which means those points that move 
need to be moved back before the knew points can be inserted and finally the 
job is done.
###########

this may not be clear, but basically if anyone can tell me how to rebuild a 
curve without the central points changing position...or maybe a way to create 
uniforms parameterisation with the cmds.curve command. i would love love love 
to know, because the workaround to fix this issue is ridiculous.


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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/049ebeba-f36c-49e6-8ff6-9d0acd33086b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to