hey i have some code here that creates three simple curves and then inserts a
knot on each curve and attempts to loft the three together.
###
cmds.curve(n='c1', d=1, p=[(0,0,0),(0,3,0)])
cmds.curve(n='c2', d=1, p=[(2,0,0),(2,3,0)])
cmds.curve(n='c3', d=1, p=[(4,0,0),(4,3,0)])
cmds.insertKnotCurve( 'c1.u[0.6]', ch=True, rpo=True)
cmds.insertKnotCurve( 'c2.u[0.8]', ch=True, rpo=True)
cmds.insertKnotCurve( 'c3.u[0.8]', ch=True, rpo=True)
cmds.loft('c1','c2','c3', po=1,d=1, ss=1)
###
the result of the loft is strange though, as it seems to not be able to deal
with the first curve having a knot placed at '0.6' along its parameter length.
If all three curves have knots added at the same value the lofting works fine.
Does anyone know how to add knots to curves at different '.u[]' values and have
them loft together correctly. should be simple fix im hoping ha
thanks alot guys,
Sam x
--
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/eddf6861-83dd-42d6-bb87-1f65c380025f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.