You can get the selected FCurves with FCurveSelection. Then all you would
have to do is get the keys values, find the average value and move your
keys.
adapt the tangents to keep your curves would be a little problematic, but
for something linear it shouldn't be that hard.

Martin


On Fri, Aug 30, 2013 at 12:59 AM, Eric Thivierge <[email protected]>wrote:

> Ah, I got you. grab all of them and act on the keyframes relative to each
> fcurves average's not all together. I've wanted that interaction forever.
> Would be nice if the Devs could implement this by default.
>
> Good luck on implementing it. I'm sure it's doable.
>
>
> On August-29-13 11:56:51 AM, Michael Heberlein wrote:
>
>> Here's a dancing fcurve gif of what he wants. Am i an animator now? ;)
>> If it's already possible and you know the magic button to press, that
>> would be perfect!
>>
>> Inline image 3 Inline image 4
>>
>>
>>
>>
>> On Thu, Aug 29, 2013 at 5:29 PM, Eric Thivierge
>> <[email protected] <mailto:[email protected]**>> wrote:
>>
>>     Works on multiple for me.
>>
>>
>>     On August-29-13 11:16:30 AM, Michael Heberlein wrote:
>>
>>         Eric, yes they know the Q tool but if I got it right, this
>>         only works
>>         for one curve at a time and not with multiple curves.
>>
>>         Stephen, I was searching the 2012 docs and it looks like these
>>         anchors
>>         were introduced in 2013?
>>         I should have found the FCurveEditor page though ;D thank you!
>>
>>         Cheers,
>>         Michael
>>
>>
>>         On Thu, Aug 29, 2013 at 4:58 PM, Stephen Blair
>>         <[email protected] 
>> <mailto:stephenrblair@gmail.**com<[email protected]>
>> >
>>         <mailto:stephenrblair@gmail.__**com
>>
>>         <mailto:stephenrblair@gmail.**com <[email protected]>>>>
>> wrote:
>>
>>             On 29/08/2013 10:49 AM, Michael Heberlein wrote:
>>
>>                 I'd like to add a custom menu to the FCurve Editor that
>>                 provides easy access to features like, for example,
>>                 absolute/relative pasting (hidden in the preferences)
>>         but had
>>                 no luck again: There's no appropriate menu anchor
>>         point available.
>>
>>
>>             Wouldn't siMenuFCurveEditorTopLevelID  be appropriate?
>>
>>             siMenuAnchorPoints.____**siMenuFCurveEditorTopLevelID // 3500
>>             siMenuAnchorPoints.____**siMenuFCurveEditorFileID // 3501
>>             siMenuAnchorPoints.____**siMenuFCurveEditorEditID // 3502
>>              siMenuAnchorPoints.____**siMenuFCurveEditorViewID // 3503
>>             siMenuAnchorPoints.____**siMenuFCurveEditorKeysID // 3504
>>             siMenuAnchorPoints.____**siMenuFCurveEditorCurvesID // 3505
>>              siMenuAnchorPoints.____**siMenuFCurveEditorSelectID
>>
>>
>>
>>
>>
>

Reply via email to