Sub topic 5
Rest pose versus pose
This chapter assumes you can navigate the 3D viewport, switch between Object, Edit and Pose modes, and read an object's location, rotation and scale. It also assumes you know what a parent and child are. You should already have built a small bone hierarchy, as in the previous chapters.
Two places where a bone lives
A bone exists in two forms. The difference between them explains most rigging surprises.
- The rest pose is the armature's default shape. It is stored on the armature data as edit bones. You change it in Edit Mode.
- The pose is a temporary deformation applied on top of the rest pose. It is stored on the armature object as pose bones. You change it in Pose Mode.
Edit bones describe where each bone sits when the rig is at rest: head, tail, roll and parent. Pose bones store only an offset from that rest position: a location, rotation and scale per bone. Moving a pose bone never rewrites the rest pose.
| Aspect | Rest pose (edit bone) | Pose (pose bone) |
|---|---|---|
| Stored on | Armature data (`bpy.data.armatures`) | Armature object (`object.pose.bones`) |
| Edited in | Edit Mode | Pose Mode |
| Contains | Head, tail, roll, parent, connection | Location, rotation, scale, constraints |
| Animatable | No | Yes |
| Shared between objects | Yes, through the data block | No, each object has its own pose |
Because the pose lives on the object, two objects that share one armature data block have the same rest pose but can hold different poses.
How the pose is applied
Each pose bone's transform is relative to its own rest position, in the bone's local space. A pose bone with all values at their defaults (location 0, rotation 0, scale 1) sits exactly at rest. This is why a freshly built rig looks unchanged in Pose Mode until you transform something.
Because bones are parented, a transform also passes down the hierarchy. Rotating a parent pose bone carries every child with it. The child's own pose values stay at zero, but its final position changes.
Seeing the difference in the viewport
In the armature's Object Data properties, the Pose Position / Rest Position toggle controls which state the viewport shows. Choosing Rest Position displays the rig and any bound mesh in the rest shape without deleting your pose. Switching back to Pose Position restores the pose. This is a fast check when a mesh looks wrong and you need to know whether the cause is the pose or the binding.
You can also clear a pose without touching the rest pose. In Pose Mode, select bones and use Pose ▸ Clear Transform ▸ All (or press Alt+G, Alt+R and Alt+S for location, rotation and scale). Clearing only resets the pose bones to zero offsets.
Inspecting both with Python
The Python API mirrors the split. Rest data is reached through armature.bones (read-only outside Edit Mode) or armature.edit_bones (Edit Mode only). Pose data is reached through object.pose.bones.
This script assumes the DemoRig object from the earlier scripting example exists, with a bone named child. It poses the bone, then prints both views.
import bpy
import math
arm_obj = bpy.data.objects["DemoRig"]
bpy.context.view_layer.objects.active = arm_obj
pbone = arm_obj.pose.bones["child"]
pbone.rotation_mode = 'XYZ'
pbone.rotation_euler = (math.radians(45), 0, 0)
# Rest data: unchanged by posing
rest_bone = arm_obj.data.bones["child"]
print("Rest head (armature space):", tuple(rest_bone.head_local))
print("Rest tail (armature space):", tuple(rest_bone.tail_local))
# Pose data: includes the 45 degree rotation
print("Pose rotation:", tuple(pbone.rotation_euler))
print("Posed head (armature space):", tuple(pbone.head))
print("Posed tail (armature space):", tuple(pbone.tail))After you run it, the rest head and tail stay at their original values. The posed tail moves, because the 45 degree rotation swings it around the bone's head. The posed head stays in place here only because child is connected to root, and root has not been posed.
Applying a pose as the new rest pose
Sometimes you want a pose to become the permanent shape. A common case is a character modeled in an A-pose that you want to fix in a better stance before skinning. Blender offers Pose ▸ Apply ▸ Apply Pose as Rest Pose.
This operation rewrites the edit bones to match the current pose and then resets the pose bones to zero. If a mesh is already bound through an Armature modifier, it matters what you do first. The mesh is deformed by the pose at that moment, so after the rest pose changes the mesh would snap back toward its original shape and no longer match the bones. The usual workflow is:
- Pose the rig into the shape you want.
- On the bound mesh, apply the Armature modifier (or use its dropdown's Apply as Shape Key if you want to keep the option). This captures the deformed mesh.
- Apply the pose as the rest pose.
- Re-add the Armature modifier on the mesh, which now matches the new rest pose.
Applying a modifier fails on meshes that have shape keys, because the stack cannot be collapsed. Use Apply as Shape Key in that case, or handle the shape keys first.
Common errors
- Editing bones in Pose Mode and expecting the rest pose to change. Moving a bone in Pose Mode only writes the pose. To change the rest shape, go to Edit Mode.
- Mesh looks distorted before you pose anything. Check whether the pose still holds leftover transforms. Switch to Rest Position, or clear transforms on all bones.
- Bone roll changes break poses. Pose rotations are measured in the bone's local axes, and roll defines those axes. If you edit roll after animating, the same numbers produce a different rotation. Finish the rest pose, including roll, before you animate.
- Scripts reading
bonesand finding stale values.armature.bonesholds rest data.pose.bonesholds the current pose. Reading the wrong one is a frequent source of off-by-a-pose bugs. - Creating edit bones outside Edit Mode.
edit_bones.new()works only while the armature is in Edit Mode, so switch modes first.
Why the split matters
Keeping rest and pose separate lets animators move bones freely while the rig always knows how to return to neutral. Keyframes only record pose bone values, so a clear transform returns the character to the rest shape. The skinning relies on the rest pose as its reference. Each vertex's offset from its bones is measured there, and the posed bones then drag the vertices along.
Exercise
A mesh bound to your rig looks bent even though you have not keyframed anything. In the Object Data properties you switch to Rest Position and the mesh straightens. What does this tell you, and how do you fix it?
Show answer
The bending comes from pose bone transforms, not from the rest pose or the binding. The pose bones hold leftover location, rotation or scale offsets. Switch back to Pose Position, enter Pose Mode, select all bones with A, and clear them with Pose ▸ Clear Transform ▸ All (or Alt+G, Alt+R, Alt+S). If the mesh still looks wrong at rest, the problem is in the weights or the rest pose itself.
Exercise
In a script, which collection do you read to get a bone's rest head position, and which do you read to get its current posed position?
Show answer
For the rest position, read armature_object.data.bones["name"].head_local. For the current posed position, read armature_object.pose.bones["name"].head.