Nodes/Avatar Graph/Mesh Loopcut Slide
ComfyUI Node

Mesh Loopcut Slide

The companion node with nothing to slide

By avatechai·Created 3 years ago·Updated 2 years ago· 264
Mesh Loopcut Slide
  • BPY_OBJ
  • BPY_OBJ

Worth knowing going in: in Blender proper, Loop Cut and Slide isn't really two separate steps - it's one interactive gesture. Ctrl+R places a new loop, and without releasing the mouse you drag to slide it off-center before confirming. This node exposes the "slide" half of that combo on its own, but with no slide amount exposed as a parameter, it's a genuinely limited tool outside the interactive tool it's normally paired with.

How it works

This wraps Blender's mesh.loopcut_slide operator, which internally combines a loop cut with a follow-up edge slide transform. The interactive version reads that slide distance from your mouse movement in real time. The schema for this node exposes only BPY_OBJ - no slide factor, no edge index, nothing that tells it how far or which direction to slide. Without that, running it standalone has little left to do beyond placing a cut at its default, centered position - functionally close to just running Mesh Loopcut with number_cuts=1.

The inputs and outputs that matter

  • BPY_OBJ (optional) - the mesh to operate on.

That's the entire exposed interface. Output is a single BPY_OBJ.

How to install it

ComfyUI Manager: search "Avatar Graph" and install. Manually:

cd ComfyUI/custom_nodes
git clone https://github.com/avatechai/avatar-graph-comfyui

then pip install -r requirements.txt and restart. Needs Blender's bpy module, pinned to Python 3.10.x - a dedicated conda environment on macOS/Linux, or Avatech's prebuilt Python-3.10 ComfyUI zip on Windows with the pack installed through Manager afterward.

Common issues & troubleshooting

You need a loop cut positioned off-center, not dead in the middle of the ring. This node, with no slide parameter exposed, isn't the tool for that in a scripted graph. Mesh Loopcut followed by Mesh Merge or a manual vertex-move step gets you a more controllable, reproducible result than trying to coax a slide distance out of this node.

Unsure whether to reach for this node at all. Unless you have a specific reason to believe otherwise, Mesh Loopcut alone already covers the common case - an evenly placed cut across a chosen edge ring, with number_cuts and smoothness giving you real control. Treat this node as a rarely-needed companion rather than something to build a workflow around.

A bpy import failure at ComfyUI startup is the pack's Python-version pin, not this node - confirm a clean Python 3.10.x environment with requirements.txt installed without errors.

Categoryblender

Inputs (1)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ