К основному содержанию
скилл CX Codex

blender-character-rigging — скилл для Claude Code: риггинг персонажей

Скилл blender-character-rigging для Claude Code автоматизирует риггинг персонажей в Blender 5.3 через Rigify. Подключается при задачах на создание скелета, скиннинг и развесовку.

MIT 779 установок ★ 2 624 обновлён 2026-11-13

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add EL4CTEO/blender-skills --skill blender-character-rigging -a claude-code
Открыть на GitHub

Что делает blender-character-rigging

Скилл выстраивает цепочку риггинга гуманоидных моделей в Blender 5.3. Сначала подгоняется метариг Rigify и настраиваются суставы в объёме сетки. Суставы ставятся строго внутри объёма. Затем генератор собирает риг управления с механизмами IK и FK.

При скиннинге скрипт привязки использует автоматический переход на воксельный прокси, если метод heat weights дал сбой на нецельной геометрии. Готовый игровой скелет очищается от вспомогательных костей и форматируется под иерархии Unity, Unreal Engine или Roblox R15. Валидатор rig_check.py проверяет лимит в четыре влияния на вершину и отслеживает зеркальный крен костей.

Для работы требуются Blender 5.3 и окружение blender-core. Неприменённый масштаб меша перед связыванием приводит к удвоению трансформаций.

Какие задачи решает

  • сгенерировать управляющий риг через Rigify
  • привязать проблемный меш через воксельный прокси
  • ограничить веса до четырёх влияний на вершину
  • собрать чистый скелет деформации для Unity или Unreal

Примеры запросов агенту

  • Собери метариг basic_human под модель Body и настрой суставы
  • Привяжи сетку персонажа к арматуре RIG_Body и нормализуй веса
  • Сформируй игровой скелет под Unreal и запусти rig_check.py

Как установить blender-character-rigging

1Через Skills CLI (Vercel)

npx skills add EL4CTEO/blender-skills --skill blender-character-rigging -a claude-code

2Вручную: положить файлы

~/.claude/skills/blender-character-rigging/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/blender-character-rigging/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о blender-character-rigging

Как установить blender-character-rigging в Claude Code?

Выполните команду npx skills add EL4CTEO/blender-skills --skill blender-character-rigging -a claude-code.

Что делает blender-character-rigging?

Настраивает метариги Rigify, скиннит меши с обходом ошибок связывания и экспортирует скелеты в игровые движки.

Что нужно для работы blender-character-rigging?

Нужны установленный Blender 5.3 и базовый набор модулей blender-core.

Исходный текст

SKILL.md · MIT
---
name: blender-character-rigging
description: Character rigging in Blender 5.3 - Rigify metarig fit/generate, bone naming/roll/collections, DEF/MCH/control layers, IK/FK, robust skinning (heat + proxy fallback), weight-painting rules, correctives, engine game skeletons (Unity, Unreal, Roblox R15), rig validation and deformation stress tests. Use for armature, skinning or weights tasks.
license: MIT
metadata:
  author: blender-agent-skills
  version: "1.2.0"
---

# Character Rigging

The execution model is in `blender-core`. Faces and shape keys are in `blender-facial-shapekeys`, animation in `blender-animation`.

## Pipeline (scripts chain; each returns JSON)
1. **Prepare the mesh**: scale applied, facing **-Y**, feet at Z=0, centered on X=0, symmetric, in T- or A-pose (A-pose 30–45° deforms shoulders better). Run `blender-asset-qa` first.
2. **Metarig**: `scripts/rigify_build.py -- --add basic_human --fit Body` (`human` adds a full face rig; for games use `--no-face` + shape keys).
3. **Place the joints** (the fit only scales). Edit bones in X-ray against the mesh: joints sit at the **pivot of rotation** (inside the volume, not on the surface). The elbow and knee need a slight bend toward their natural direction (elbow back, knee forward) so the IK solves the right way. Symmetrize: `bpy.ops.armature.symmetrize()`. Check with `look` (`shading="xray"`).
4. **Generate**: `--metarig META_Body --generate` gives `RIG_Body` (control rig: FK/IK, IK/FK snapping, tweak bones, bone collections).
5. **Skin**: `scripts/bind_mesh.py -- --armature RIG_Body --meshes Body`. It uses heat weights, switches to the voxel-proxy transfer automatically when heat fails (non-manifold, kitbashed or AI meshes), then cleans to 4 influences and normalizes.
6. **Stress test**: `scripts/stress_poses.py -- --armature RIG_Body`, then `look(mode="frames", frames=[1,10,20,30,40,50])`. Fix collapsing elbows, candy-wrapped forearms, a sunken shoulder or a hip crease (below).
7. **Engine skeleton**: `rigify_build.py -- --rig RIG_Body --game-skeleton` gives `GAME_RIG_Body` = `root` + DEF bones in a clean hierarchy, with `DEF-` stripped, constrained to the control rig and with the meshes re-targeted. Animate with the control rig, then bake to the game skeleton and export it (`blender-animation` → `blender-export-pipelines`).
8. **Validate**: `scripts/rig_check.py -- --armature GAME_RIG_Body --profile unity|unreal|roblox [--fix]`.

## Bone rules
- **Layers of a production rig**: `DEF` (deforming, the only ones exported), `ORG` (original metarig copy), `MCH` (mechanism helpers), controls (what animators touch). Never weight to control/MCH bones.
- **Naming**: `.L`/`.R` suffixes (mirror tools, Rigify and `rig_check` depend on them). Unique, ASCII. Bone collections (`arm.collections.new("FK")`, `bcoll.assign(bone)`) replace the old bone layers.
- **Roll**: consistent local axes. Y points down the bone; recalc with `armature.calculate_roll(type="GLOBAL_POS_Z")` for limbs, or per chain. Mirrored bones must have mirrored roll (`rig_check` flags this).
- **Chains**: connected parent→child for limbs. Spine 3–5 bones, neck 1–2. Twist bones on the forearm and upper arm (Rigify's `.001` segments) prevent candy-wrapping.
- The root bone sits at the origin, Y-forward, carries no weights, and is used for root motion.
- **Scale**: armature object scale 1, rotation 0. Apply before skinning. Non-uniform bone scale animation breaks engines.

## Weight painting rules (what pros check)
- ≤ 4 influences per vertex (mobile/Roblox), ≤ 8 on PC if the engine supports it. Always normalized. Weights below 0.01 removed.
- **Smooth falloff across joints**: a 50/50 blend at the joint line, fading over ~1–2 edge loops. A hard 1/0 cut shows a crease; too wide gives rubbery limbs.
- **Elbows/knees**: weight the outer side to the upper bone longer so the joint keeps volume. Add a helper/corrective bone or corrective shape for sharp bends.
- **Shoulders**: blend the clavicle, upper arm and spine. Test arms raised above the head (stress frame 10).
- **Hips**: the thigh-pelvis blend in front stays tight (crease) and soft at the back (glutes).
- **Head/neck**: rigid head (100% head bone above the jawline), smooth neck blend. Props (helmets, armor plates) get 100% weight to a single bone, so they stay rigid with no stretching.
- **Mirror**: paint one side, then `object.vertex_group_mirror(all_groups=True, flip_group_names=True, use_topology=False)`, or work with X-mirror on.
- **Tools** (live): Weight Paint mode with auto-normalize on (5.3 default, with Multi-Paint and Mirror Vertex Groups; brushes `Add Weight`/`Set Weight`, plus automasking), the gradient tool, Smooth (`vertex_group_smooth`), Levels, and `object.data_transfer` from a good mesh (clothing gets its weights from the body).

## Correctives (beyond weights)
Corrective shape keys driven by bone rotation fix elbows, knees and shoulders in hero rigs. Sculpt the fix in the posed state (`modifier_apply_as_shapekey` or the Corrective Shape Keys add-on approach), then drive the key value from the bone's local rotation (driver `TRANSFORMS` var `ROT_X` in `LOCAL_SPACE`, mapped from 0 at rest to 1 at full bend). Games: correctives export as blendshapes. Drive them in the engine (UE Pose Driver / Unity script) or bake them into the animation.

## Engine skeleton specifics
- **Unity Humanoid**: Hips → Spine → Chest → Neck → Head, plus limbs. The game skeleton maps automatically (`rig_check --profile unity` shows the mapping). T-pose bind pose recommended.
- **Unreal**: retarget to the UE5 Mannequin with IK Retargeter. Matching names (`pelvis`, `spine_01`, `thigh_l`...) speeds up chain mapping (`--profile unreal` lists the gaps). No leaf bones.
- **Roblox R15**: a fixed hierarchy and names (`LowerTorso`, `UpperTorso`, `LeftUpperArm`...), `Root > HumanoidRootNode > LowerTorso`, no weights on Root, ≤ 4 influences. Build it manually or from Roblox's Blender template rather than Rigify. Details are in `blender-export-pipelines/references/roblox.md`.

## Gotchas
- `rigify_generate` needs the metarig **selected and active** (`temp_override` isn't enough). The scripts handle this.
- "Bone Heat Weighting: failed to find solution" comes from non-manifold, intersecting parts or tiny scale. `bind_mesh.py` falls back to proxy. Fix the scale first.
- Meshes parented with "Keep Transform" but with unapplied scale get a double transform. Apply the scale before parenting.
- Modifier order: Armature should come **after** shape-key-like deforms and **before** Subdivision/Corrective Smooth (Corrective Smooth after Armature reduces collapsing).
- 5.0: `bone.select` is gone. Use `pose_bone.select` or `edit_bone.select`. `bone.hide` affects edit bones too.

© blender-agent-skills · MIT · EL4CTEO/blender-skills

Похожие скиллы

Все скиллы по теме «Геймдев и 3D: Unity, Unreal, Godot, Blender» →
scenario-blender-rigging scenario-labs Скилл scenario-blender-rigging для риггинга персонажа, существа или пропа в Blender через Python: метариг Rigify, веса, IK/FK, лицевой риг. CX Codex +1 1 200установок scenario-blender-export scenario-labs Скилл scenario-blender-export для Claude Code и Cursor готовит трехмерные модели из Blender к экспорту в игровые движки и форматы вроде FBX, glTF или USDZ. CX Codex +1 736установок 3d-spatial dylantarre Скилл 3d-spatial переносит 12 классических принципов анимации Диснея в 3D, VR и AR. Помогает настроить физику, сплайны и тайминги в Blender, Unity или Unreal Engine. CX Codex +1 861установок blender MonumentalSystems Справочник по интерфейсу Blender, горячим клавишам, риггингу и пайплайну экспорта моделей в движки Unity и Unreal. CX Codex +1 563установок blender-export RobLe3 Скилл blender-export для Claude Code и пяти других платформ, который экспортирует сцены Blender в glTF/GLB, FBX, OBJ, USD и STL с нужными настройками под каждую цель. CX Codex +1 2 600установок 3d-artist davila7 Субагент 3d-artist помогает создавать игровые 3D-ассеты, настраивать материалы, анимацию и оптимизацию для Unity и Unreal Engine. CX Codex 1 011установок

Из того же набора28

Весь набор →
blender-core Скилл blender-core для Claude Code и Cursor координирует задачи в Blender 5.2 и 5.3 через bpy, MCP и CLI, направляя запросы к скриптам моделирования, анимации и рендеринга. CX Codex +1 965установок blender-asset-qa Скилл blender-asset-qa для Claude Code автоматизирует проверку 3D-моделей и ассетов в Blender. Запускается перед экспортом или сдачей задачи. CX Codex +1 765установок blender-animation Скилл blender-animation для Claude Code, автоматизирующий анимацию в Blender 5.3 через Python-скрипты. Управляет ключевыми кадрами, ретаргетингом mocap и запеканием ригов для игровых движков. CX Codex +1 757установок blender-export-pipelines Скилл blender-export-pipelines для Claude Code настраивает экспорт ассетов из Blender под игровые движки и другие форматы. Включается, когда ассет нужно выгрузить из Blender и проверить результат. CX Codex +1 681установок blender-game-optimization Скилл blender-game-optimization работает в Claude Code, Codex, Cursor и других платформах для оптимизации трехмерных моделей под лимиты игровых движков. CX Codex +1 657установок blender-pbr-materials Скилл blender-pbr-materials для Claude Code настраивает PBR-материалы и текстурные карты для Blender 5.3 по правилам игровых движков. CX Codex +1 644установок blender-hardsurface-modeling Скилл blender-hardsurface-modeling для Claude Code задаёт пайплайн hard-surface моделирования в Blender 5.3: от блокаута до сборки стека модификаторов. Помогает моделировать технику, оружие и пропсы. CX Codex +1 621установок blender-lighting-lookdev Скилл blender-lighting-lookdev для Claude Code настраивает свет, камеры и вид материалов в Blender 5.3. Подключается при подготовке сцены к рендеру или презентации ассета. CX Codex +1 606установок

Ещё в каталоге

Спонсоры проекта

Компании, которые помогают держать аналитику открытой