From BlenderWiki

Jump to: navigation, search


Page status (reviewing guidelines)

Images mirror, copy, duplicate
Proposed fixes: none

Curve Editing

By default, when you add keyframes to a channel, the Graph Editor displays them in Edit Mode. Just like in the 3D View, you can toggle the editability of a channel by pressing ⇆ Tab. In the Channel Box, the lock icon also toggles between edit and "non-edit" mode.

Selection Tools

You can select curve handles clicking LMB Template-LMB.png (or ⇧ ShiftLMB Template-LMB.png for multiple. You can select an entire key by selecting the center point, or just select one the handles

You can also (de)select all visible curves with A (or Select » Select/Deselect All), and do a border-selection with B (or Select » Border Select) – simple LMB Template-LMB.png click-and-drag to add to the selection, and RMB Template-RMB.png (or CtrlAltLMB Template-LMB.png) to remove from the selection.

Select All A
In edit mode, select/deselect all keyframes
In locked mode, select/deselect all visible channels
Invert Selection CtrlI
Inverts selected keys
Border Select B
Allows selection of keyframes within a region
Border Axis Range AltB
Axis Range...
Border (include Handles CtrlB
Include Handles, handles tested individually against the selection criteria
Columns on Selected Keys K
Select all keys on same frame as selected one(s)
Column on current Frame CtrlK
Select all keyframes on the current frame
Columns on selected Markers ⇧ ShiftK
Select all keyframes on the frame of selected marker(s)
Between Selected Markers AltK
Select all keyframes between selected markers
Before Current Frame [
Select all keys before the current frame
After Current Frame ]
Select all keys after the current frame
Select More Ctrl+ NumPad
Grow keyframe selection along Fcurve
Select Less Ctrl- NumPad
Shrink keyframe selection along Fcurve
Select Linked L
Selects all keyframes on Fcurve of selected keyframe


Transformations

Transform properties

You can grab (G), rotate (R) and scale (S) the selected curves (those visible, with white control points/keyframes) – operations also available from the Curve » Transform sub-menu.

Additionally, for translation and scaling, you can lock the transformation along the X (time) or Y (value) axis, as usual by hitting X or Y during transformation.

Transform Properties

For precise control of keyframe position and value, you can enter values in the Active Keyframe section of the Properties Panel.

Snapping

You also have the classic “transform snapping” features: holding Ctrl while transforming will snap it to one-frame/one-value steps, while holding ⇧ Shift will slow down the movement, increasing its precision. Note however that using ⇧ ShiftCtrl just slows down the movement, without reducing the snapping steps.

(⇧ ShiftS or Key » Snap) You can snap keyframes in several ways:

Current Frame
This option will move all selected keyframes to the currently active frame.
Cursor Value
This option will move the selected keyframes to the current position of your 2d cursor in the graph editor.
Nearest Frame
This will horizontally (timely) move all keyframes of the selected curves to their nearest frame (e.g. a keyframe defined at frame 23.2 will be moved at frame 23).
Nearest Second
This will horizontally (timely) move all slected keyframes of the selected curves to their nearest full second (e.g. a keyframe between 00:02 and 00:03 seconds will move to either 00:02 or 00:03 depending on which is nearer).
Nearest Marker
This will horizontally (timely) move all keyframes of the selected curves to the marker nearest to them (see also Markers).
Flatten Handles
This is only useful with the default F-curves: it will rotate all control points of the selected curves to set them horizontal.
“Flatten Handles” snapping example.
Before Flatten Handles.
After Flatten Handles.


Auto-snap

Auto snap is another way of constraining keyframe position. The selection box in the header allows you to set how keyframes behave when you move them

Nearest Marker
Snap x-axis to marker positions
Nearest Frame
Snap to frames (default)
Time Step
Snap to 1.0 frame/second intervals
No auto-snap
Disable auto snapping


Copying

You can copy one or more keyframes into a buffer, and then paste them into the same curves. This is done through two header buttons:

Copy CtrlC Key » Copy Keyframes
Copies the selected and visible curves into the buffer.
Paste CtrlV Key » Paste Keyframes
Pastes the buffer content into the corresponding visible curves of the current channel.

Note that this tool is not working (even though available) in “keyframe” mode. And in edit mode, only the selected points are copied/pasted (not the whole curve…).

Duplicate

Duplicate ⇧ ShiftD Key » Duplicate Keyframes
Duplicates selected keyframes the enters grab mode.

Deleting

To delete a keyframe, select it (in “default” mode), and hit X (or use Curve » Delete).


Mirror

You can mirror the selected curves (⇧ ShiftM or Curve » Mirror)

By Times Over Current Frame
Mirror horizontally across current frame
By Values over Cursor Value
Mirror vertically across cursor value
By Times over Time 0
Mirror horizontally across frame 0
By Values over Value 0
Mirror vertically across value 0
By Times over First Selected Marker
Mirror by Times over First Selected Marker, Flip times of selected keyframes using the first selected marker as the reference point.

Cleaning

O (or Curve » Clean Keyframes menu entry) Cleaning keyframes resets keyframe tangents to theier auto-clamped shape, if they have been modified.

Fcurve before cleaning
Fcurve after cleaning


Smoothing

(AltO or Curve » Smooth Keys) There is also an option to smooth the selected curves , but beware: its algorithm seems to be to divide by two the distance between each keyframe and the average linear value of the curve, without any setting, which gives quite a strong smoothing! Note that the first and last keys seem to be never modified by this tool.

Fcurve before smoothing
Fcurve before smoothing


Sampling and Baking Keyframes

Sample Keyframes ⇧ ShiftO
Sampling a set a keyframes replaces interpolated values with a new keyframe for each frame.
Fcurve before sampling
Fcurve after sampling


Bake Curves AltC
Baking a curve replaces it with a set of sampled points, and removes the ability to edit the curve.