I will reply in the meantime with most likely the least correct solution, until someone with more curve experience can offer better. As far as I understand, unless it is a bezier it doesn't have a proper editable tangent. What about this?
1. Select the target edit points: (P-1) , P , (P+1) 2. detachCurve (now you have 4 curve components) 3. Select the two curves: (P-1, P) and (P, P+1) 4. rebuildCurve: uniform, Keep Ends, Spans 1, Degree 1 5. Select all curves 6. attachCurve: connect, keep multiple knots Ok now someone else can point out that I have probably overcomplicated this and there is a simpler way. Justin On Sun Feb 22 2015 at 9:55:06 AM <[email protected]> wrote: > Hi there, > > i was wondering if anyone knew of a way to break a tangent on a particular > edit point on a curve. So that if the curve is cubic, you can make the > tangent linear at a particular point. > > does anyone know a way to do this in python with maybe insertKnot or > rebuildCurve commands. So far i can't find a way. > > 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/ac2b8f5f-01ca-4fc7-a465- > 0d7274f6d930%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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/CAPGFgA0OGnBvMk6%3DPsP6MApHVDU_V7aND1fhNNknq0BYuytSHA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
