Transform Vert Slide
Smooth Out Edges by Sliding Vertices
- BPY_OBJ
- snap_elements
- snap_point
- BPY_OBJ
Transform Vert Slide is the tidy-up artist of the Avatar Graph transform shelf. It wraps Blender's transform.vert_slide, which slides selected vertices along their connecting edges - a movement that stays on the mesh's own topology instead of shoving things through the air. Where Translate moves a whole mesh in space, Vert Slide moves vertices within the mesh, which makes it the right tool for tightening a lip line, evening out a jaw silhouette, or fixing that one vertex that's sticking out of an otherwise clean curve.
How it works
The node takes a BPY_OBJ, enters edit mode, and runs bpy.ops.transform.vert_slide(...). The value float is the slide amount - in this pack it's clamped to -10 to 10, with 0 being "no slide." Positive and negative push the vertices in opposite directions along their edges.
Inputs worth knowing:
value- the slide amount. Small values; this is a fine-tuning tool.use_even- keep edge lengths even while sliding, so the movement doesn't distort the surrounding geometry. Usually what you want.use_clamp- default on. Clamps the slide so vertices don't overshoot their edges.flipped- reverses the direction of the slide.correct_uv- default on. This one matters for avatar work: it keeps the UVs in sync with the sliding vertices, so the character texture doesn't stretch while you nudge geometry. Leave it on.
The rest is the usual snap family, mirror, release_confirm, use_accurate - ignore them. Output is BPY_OBJ.
Where it fits
Vert Slide is a precision pass. After you've created and positioned your mesh layers, run this on a layer to clean up its silhouette before you bake shape keys with Mesh Modify Shape Key. Because it operates on the whole mesh (no selection socket, as with every transform node here), you're sliding every vertex a bit - which for a dense mouth or jaw layer reads as a subtle, uniform tidy-up. For a single vertex, you'd need the mesh split such that it's its own object.
Installing
Vert Slide ships in the Avatar Graph pack (avatechai/avatar-graph-comfyui), which needs bpy==3.6.0 → Python 3.10:
conda create --name comfyui python=3.10
conda activate comfyui
Install via ComfyUI Manager (search Avatar Graph) or:
cd ComfyUI/custom_nodes
git clone https://github.com/avatechai/avatar-graph-comfyui
cd avatar-graph-comfyui && python -m pip install -r requirements.txt
Restart with python main.py --enable-cors-header for live preview. No per-node downloads.
Inputs (18)
| Name | Type | Default | Description |
|---|---|---|---|
| BPY_OBJopt | BPY_OBJ | — | |
| valueopt | FLOAT | 0.00-10–10 | — |
| use_evenopt | BOOLEAN | false | — |
| flippedopt | BOOLEAN | false | — |
| use_clampopt | BOOLEAN | true | — |
| mirroropt | BOOLEAN | false | — |
| snapopt | BOOLEAN | false | — |
| snap_elementsopt | B_ENUM_SET | — | |
| use_snap_projectopt | BOOLEAN | false | — |
| snap_targetopt | COMBO | 4 options: CLOSEST, CENTER, MEDIAN, ACTIVE | |
| use_snap_selfopt | BOOLEAN | true | — |
| use_snap_editopt | BOOLEAN | true | — |
| use_snap_noneditopt | BOOLEAN | true | — |
| use_snap_selectableopt | BOOLEAN | false | — |
| snap_pointopt | B_VECTOR3 | — | |
| correct_uvopt | BOOLEAN | true | — |
| release_confirmopt | BOOLEAN | false | — |
| use_accurateopt | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| BPY_OBJ | BPY_OBJ | — |