Sub topic 2
Preparing the Armature: Bones and the Deform Setting
Skinning only works if the armature is ready to drive a mesh. This chapter covers what the armature must provide: which bones deform, how bones are named, what scale and rest pose the armature needs, and how to check all of this before binding. Problems here cause failures later that look like weight problems but are not.
This chapter assumes you can navigate the 3D Viewport, switch between Object, Edit and Pose Mode, and add and move bones in Edit Mode. You should also have a finished mesh with reasonable topology around the joints.
What the armature contributes
An armature is an object that contains bones. Each bone has a head, a tail, a roll, and a position in a hierarchy. For skinning, three facts about a bone matter:
- Its name. The Armature modifier matches vertex groups to bones by name. Chapter 3 covers vertex groups, but the rule starts here: a bone called
Thigh.Lonly moves vertices in a vertex group calledThigh.L. - Its Deform flag. A bone moves vertices only if its Deform property is enabled.
- Its rest pose. The bone's position in Edit Mode defines the rest pose. Weights are bound relative to that pose, and Pose Mode transforms are measured from it.
Deform and control bones
Not every bone in a rig should move the mesh. Rigs usually contain two kinds of bones:
- Deform bones form the skeleton the mesh follows: spine, limbs, fingers, jaw.
- Control bones exist to make posing easier: IK targets, pole targets, custom shape controllers, and helper bones. They move other bones, but they should not move vertices.
If a control bone deforms the mesh, it competes with the real deform bones. When auto-weights run, it can take weight from the bones that should own those vertices. Posing then produces odd pulls when you move a controller.
Setting the Deform flag
Select the armature, enter Edit Mode or Pose Mode, and select a bone. Open the Bone tab in the Properties Editor and find the Deform panel. Its checkbox in the panel header controls whether the bone deforms.
To change many bones at once, select them and Alt-click the checkbox so the change applies to all selected bones. If your Blender version does not apply the change, set it on the active bone and use Copy Attributes from an add-on, or set the flag with Python as shown below.
The same panel includes settings you should know about:
| Setting | What it does | Typical use |
|---|---|---|
| Deform (checkbox) | Allows the bone to move vertices | On for skeleton bones, off for controls |
| Envelope Distance, Weight, Radius | Used when the Armature modifier uses Envelopes | Rarely needed when you use vertex groups |
| Inherit Rotation, Scale, Connected | Hierarchy behaviour, not skinning | Leave alone unless the rig needs it |
Auditing Deform flags with Python
For rigs with dozens of bones, a script is faster than clicking. This lists every bone and its flag, and turns off Deform for bones whose names start with a control prefix. The prefixes CTRL, IK and MCH are examples. Replace them with your own naming scheme.
import bpy
arm_obj = bpy.data.objects["Armature"]
control_prefixes = ("CTRL", "IK", "MCH")
for bone in arm_obj.data.bones:
if bone.name.startswith(control_prefixes):
bone.use_deform = False
print(f"{bone.name:30} deform={bone.use_deform}")bone.use_deform is a property of the armature data (arm_obj.data.bones), so the script works from Object Mode. Edit bones (arm_obj.data.edit_bones) are only available while the armature is in Edit Mode.
Naming bones
The Armature modifier connects bones to vertex groups through exact name matching. The match is case sensitive. Arm.L and arm.L are different names.
Good naming has practical effects beyond the match itself:
- Mirroring. Blender recognises side suffixes such as
.Land.R,_Land_R, and prefixes such asLeftandRight. Mirroring weights (chapter 10) and X-axis mirror options use these pairs to find the opposite bone. A bone calledArm.Lwith a partner calledArm_Rdoes not pair correctly. - Renaming is safe in one direction. Renaming a bone in the Outliner or Properties Editor does not automatically rename the matching vertex group if the group is on a mesh. In recent Blender versions, renaming a bone in the armature does update vertex groups on child meshes that use an Armature modifier pointing to it, but you should verify this rather than assume it. A mismatch makes the bone silently stop affecting that group.
- Duplicates. Blender forces unique bone names within one armature by appending
.001. If you duplicate a bone, check that the new name follows your scheme.
Use one naming convention across the whole rig. A common pattern is Part.Side, for example Spine.001, Upperarm.L, Forearm.L, Hand.L.
Scale and the rest pose
Two properties of the armature object cause many skinning errors.
Apply the armature and mesh scale
Check that both the armature and the mesh have a scale of 1 in Object Mode. Select each object, press N to open the sidebar, and read the Scale values in the Item tab. If either object is scaled, select it and use Object > Apply > Scale. Apply rotation as well if the object has been rotated.
Non-uniform or unapplied scale causes deformation that stretches or shears the mesh in unexpected ways, particularly when bones rotate. Applying scale on the mesh after it is already bound can change how the mesh sits relative to its weights, so do it before binding.
Match the pose to the mesh
The mesh and the armature must agree on the rest pose. The bones should sit inside the mesh at joint positions, in the same pose in which you modelled the character. A T-pose or A-pose works well. Check the following:
- In Pose Mode, make sure no bone carries a transform. Select all with A, then use Pose > Clear Transform > All to return to rest.
- In Edit Mode, make sure each joint bone sits near the pivot of the real joint, for example the centre of the elbow and not at its outer surface.
- Make sure the armature's Pose Position setting is on (Object Data tab, Skeleton panel). If it is set to Rest Position, the armature ignores pose transforms and the mesh will not move when you test it.
Bone hierarchy and roll
The hierarchy determines how motion propagates. A child bone follows its parent, so the thigh sits under the pelvis, the shin under the thigh, and so on. For skinning, the hierarchy matters in two ways:
- Posing a parent moves all of its children. If a child is not connected to its parent, weights on the parent still decide only the vertices in the parent's group. The child bone moves with the parent, but its own vertices move only according to its own weights.
- Rolled bones rotate around their own axis. Bone roll does not change the rest shape of the mesh, but it changes which axis a rotation uses. Consistent roll along a limb makes posing predictable and makes it easier to see problems in weights.
Keep bones from overlapping at the same joint. Two deforming bones whose heads sit at the same point, such as a deforming helper bone parked next to a thigh bone, split the weight between them and make the influence harder to control.
Checking the armature before binding
Run through this checklist before you bind the mesh.
- Armature and mesh both have scale 1 and rotation applied, or you understand why they do not.
- Both objects are in the same rest pose, and the pose has been cleared.
- Every bone that should move the mesh has Deform enabled.
- Every control, IK and helper bone has Deform disabled.
- Bone names are unique, consistent and use matching
.Land.Rsuffixes. - Joint bones sit at the real joint pivots, inside the mesh volume.
- Pose Position is enabled on the armature.
You can check the Deform and naming items together with one script that reports what the armature will provide to a binding.
import bpy
arm_obj = bpy.data.objects["Armature"]
deforming = [b.name for b in arm_obj.data.bones if b.use_deform]
non_deforming = [b.name for b in arm_obj.data.bones if not b.use_deform]
print("Scale:", tuple(round(s, 4) for s in arm_obj.scale))
print("Pose position:", arm_obj.data.pose_position)
print(f"{len(deforming)} deforming bones, {len(non_deforming)} non-deforming")
print("Deforming:", deforming)Scale should print (1.0, 1.0, 1.0) and the pose position should print POSE. If the scale is anything else, apply it before binding.
Common mistakes in this stage
| Symptom later | Likely cause here | Fix |
|---|---|---|
| A bone has no vertex group after auto-weights | Deform is disabled on that bone | Enable Deform, then bind again or add the group by hand |
| A controller bone pulls the mesh | Deform is enabled on a control bone | Disable Deform on the control bone and remove its vertex group |
| A bone moves but vertices do not | Bone name and group name differ | Rename the group or the bone so they match exactly |
| Mesh stretches or shears when a bone rotates | Unapplied scale on mesh or armature | Apply scale before binding |
| Mesh does not move in Pose Mode | Armature set to Rest Position | Switch to Pose Position |
| Left and right weights do not mirror | Inconsistent side suffixes | Rename bones to a `.L` and `.R` pattern |
Exercise
You bind a mesh with automatic weights and notice the character's left hand has no vertex group, although the right hand has one. The mesh is fine and the armature scale is 1. Name two checks you would make on the left hand bone, and the order in which you would make them.
Show answer
First, open the Bone tab and check whether Deform is enabled on the left hand bone. A bone with Deform off gets no vertex group from auto-weights, so this is the most likely cause. Second, check the bone name against other bones, to confirm it follows the same naming scheme as the right hand (for example Hand.L and Hand.R) and was not renamed after binding. If Deform was off, enable it and bind again, or create the group by hand with the bone's exact name.
Exercise
Your armature object has a scale of (1.0, 1.0, 1.0), yet when you rotate an arm bone in Pose Mode the mesh does not move at all. Which armature setting do you check first, and where is it?
Show answer
Check the Pose Position setting. It is in the Object Data tab of the Properties Editor, in the Skeleton panel. If it is set to Rest Position, the armature ignores pose transforms, so the mesh stays still. Set it to Pose Position.