Nodes/Avatar Graph/Object Skin Radii Equalize
ComfyUI Node

Object Skin Radii Equalize

Un-warp a lopsided skin mesh

By avatechai·Created 3 years ago·Updated 2 years ago· 264
Object Skin Radii Equalize
  • BPY_OBJ
  • BPY_OBJ

Every vertex in a Skin modifier mesh carries two radii - one for the local X axis, one for the local Y - and if you've been scaling your stick figure unevenly, you end up with tubes that look squashed sideways. Object Skin Radii Equalize wraps bpy.ops.object.skin_radii_equalize and snaps each vertex's two radii to the same value, so the inflated body becomes round again.

It's the fix for "my character looks like it was run over." One operator, no parameters, and the whole skin mesh gets its X and Y radii equalized - the geometric equivalent of a deep breath.

How it works

Auto-generated wrapper, standard for the pack. Your incoming BPY_OBJ becomes the active object and the operator iterates the skin mesh's vertices, setting each vertex's skin radii to match across both axes.

The inputs that matter

Just BPY_OBJ. There's no axis control and no intensity slider - equalize is equalize, applied to all skin vertices on the object. If you want only some vertices fixed, you'd handle that in Blender proper, because this node is all-or-nothing on the whole mesh.

Output is one BPY_OBJ, unchanged.

Install

Standard Avatar Graph install. ComfyUI Manager: search Avatar Graph, install, restart. Manual:

cd ComfyUI/custom_nodes
git clone https://github.com/avatechai/avatar-graph-comfyui
cd avatar-graph-comfyui
python -m pip install -r requirements.txt

The pack pins bpy==3.6.0, effectively requiring Python 3.10, and first launch downloads the ~2.5 GB SAM checkpoint plus MediaPipe landmarkers.

Common issues

The honest caveat is that equalizing radii is a blunt instrument. If your character's asymmetry is intentional - you deliberately squashed a limb to make it oval - this node will undo that everywhere. It has no "only fix the ones that are super wrong" mode; it equalizes every vertex on the object.

Also, since it's a persistent mutation of the shared Blender scene, running it twice changes nothing (already equalized), but running it after any radius-scaling work will flatten that work too. Use it early in the skin setup, before you start tuning individual radii for character shape.

Categoryblender

Inputs (1)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ