Nodes/Avatar Graph/Mesh Offset Edge Loops Slide
ComfyUI Node

Mesh Offset Edge Loops Slide

The interactive loop-insert tool, minus the interaction

By avatechai·Created 3 years ago·Updated 2 years ago· 264
Mesh Offset Edge Loops Slide
  • BPY_OBJ
  • BPY_OBJ

This one's worth being upfront about: in Blender itself, this is an interactive tool. You select a boundary, invoke it, and then drag your mouse to slide the new loop toward one side or the other before clicking to confirm - it's Mesh_OffsetEdgeLoops fused with an edge-slide step you control live in the viewport. Exposed as a ComfyUI node with no slide-position input, there's no mouse to drag.

What it is and why you'd reach for it

It wraps Blender's mesh.offset_edge_loops_slide operator, a macro that chains two operations Blender normally runs back to back interactively: insert an offset loop, then let you slide it before finalizing. In the pack's node schema there's no exposed distance or factor for the slide - just the mesh object going in and coming out - so headless, this is going to insert the loop and settle wherever the operator's internal default lands it, not somewhere you're aiming for. That makes it meaningfully different from most of the nodes in this pack: it's not a documented part of the avatar-rigging workflow (Create Mesh Layer → Modify Shape Key → Create Shape Flow → Avatar Main Output), it's part of the long tail this pack generates by wrapping essentially every operator in Blender's bpy.ops.mesh namespace - the README's own generate_blender_types.py script exists specifically to keep that full list in sync.

How it works

Mechanically it's the same idea as a plain offset: a new edge loop gets inserted parallel to your selected boundary. The "slide" half is what happens after - normally an interactive drag that repositions the new loop along the surrounding topology rather than leaving it at a fixed offset.

The inputs and outputs that matter

None beyond the mesh itself - the schema is just BPY_OBJ in, BPY_OBJ out, no slide factor, no distance, no direction. Whatever positioning the interactive version would give you via mouse drag isn't controllable here.

How to install it

ComfyUI Manager: search Avatar Graph, install, restart. Or manually:

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

Python has to be 3.10.x, full stop - the pack runs on bpy, Blender packaged as a pip module, and bpy only ships wheels for specific Python minor versions, which the README calls out directly rather than letting you find out the hard way. Windows users get a separate embedded-Python-3.10 zip for this exact reason; macOS/Linux users should pin a conda create --name comfyui python=3.10 environment. Add --enable-cors-header (and --force-fp16 on Mac) to your launch command for the live avatar preview panel; skip it and the graph still runs, minus the real-time viewer.

Common issues

If this node's output looks arbitrary or barely different from a plain Mesh_OffsetEdgeLoops, that tracks - without an exposed slide control, you're at the mercy of whatever default the underlying Blender macro falls back to when there's no interactive input. If you need a specific, repeatable loop position, you're better off building it from more granular nodes (an offset, then a manual transform) rather than this one. Beyond that, the pack-wide gotchas apply: a failed bpy install traces back to the Python version almost every time, and the README's active "we're still making changes" warning means it's worth checking a current workflow template if a node's behavior doesn't match what you expected.

Categoryblender

Inputs (1)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ