Nodes/Avatar Graph/Mesh Polybuild Split At Cursor Move
ComfyUI Node

Mesh Polybuild Split At Cursor Move

Split-and-drag, minus the drag

By avatechai·Created 3 years ago·Updated 2 years ago· 264
Mesh Polybuild Split At Cursor Move
  • BPY_OBJ
  • BPY_OBJ

The "Move" suffix marks this as a macro operator in Blender - two steps fused into one click-and-drag gesture. This one splits an edge where you click, then immediately lets you slide the new vertex before releasing the mouse. It's the interactive-drag sibling of Mesh_PolybuildSplitAtCursor.

What it is and why you'd reach for it

Not part of Avatar Graph's documented rigging pipeline (Create Mesh Layer → Modify Shape Key → Create Shape Flow → Avatar Main Output) - this is one of the long tail of nodes this pack auto-generates by wrapping essentially every operator in Blender's bpy.ops.mesh namespace, a mapping the README's generate_blender_types.py script keeps current. In the Blender UI this needs your mouse twice: once to pick where on the edge to split, once to drag the new vertex afterward. This node's schema exposes neither - just BPY_OBJ in, BPY_OBJ out - so there's no way to steer where the split happens or where it ends up.

How it works

Mechanically it's Mesh_PolybuildSplitAtCursor's split step, immediately followed by a translate on the resulting new vertex - the same "create, then adjust" shape shared by every *Move-suffixed node in this pack's Polybuild family.

The inputs and outputs that matter

Nothing beyond the mesh itself. No mirror flag, no proportional editing controls - of all the Polybuild variants, the *Move ones consistently expose the fewest parameters, since they're macros with no independently surfaced settings.

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

This pack depends on bpy, Blender packaged as a pip module, which only ships wheels for specific Python minor versions - the README states it plainly: you need Python 3.10.x. Windows users get a dedicated embedded-Python-3.10 zip specifically to dodge this mismatch; macOS/Linux users should pin a conda create --name comfyui python=3.10 environment before installing. 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 fine, minus the real-time viewer.

Common issues

If you need a controllable, repeatable split-and-position result for a scripted pipeline, this node isn't the tool - with no cursor or move-delta input, it falls back to whatever the underlying Blender macro defaults to, and that's not something you can reliably steer. Build the equivalent from an explicit subdivide plus a manual transform if precision matters. Otherwise, the pack-wide gotchas apply: a bpy install failure is almost always the Python version, not a broken dependency, and the README's active "we're still making changes" warning means it's worth checking a current workflow template if behavior seems off.

Categoryblender

Inputs (1)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ