Nodes/Avatar Graph/Mesh Polybuild Dissolve At Cursor
ComfyUI Node

Mesh Polybuild Dissolve At Cursor

A cleaner delete, if you had a cursor to aim it

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

Dissolve and delete sound like synonyms, but in Blender they're not. Delete removes geometry and can leave a hole behind. Dissolve removes it and heals the surrounding faces so the mesh stays sealed. This node is the dissolve action from Blender's interactive Poly Build tool, wrapped for ComfyUI.

What it is and why you'd reach for it

Same honest caveat as its sibling nodes: this isn't part of Avatar Graph's documented rigging pipeline (Create Mesh Layer → Modify Shape Key → Create Shape Flow → Avatar Main Output). It's part of the long tail this pack generates by auto-wrapping essentially every operator in Blender's bpy.ops.mesh namespace, via the generate_blender_types.py script the README mentions under Development. In Blender's UI, Poly Build's dissolve action targets whichever edge or vertex your mouse is hovering, ctrl-clicked in the viewport. There's no cursor or location parameter in this node's schema at all - just the mesh in and out - so headless in a graph, it has nothing to tell it what to target. Treat it as experimental plumbing this pack ships because it wraps everything, not something the avatar-rigging workflow expects you to use.

How it works

Dissolving a vertex removes it and merges its surrounding faces into one continuous face rather than punching a hole; dissolving an edge does the same for the two faces it separated. It's the "clean up geometry without leaving a gap" version of removal.

The inputs and outputs that matter

There's nothing to configure - the schema is just BPY_OBJ in, BPY_OBJ out. No mirror flag, no proportional editing options, no location. It's the simplest of the Polybuild variants in this pack, schema-wise, which also means it's the least controllable - there's genuinely nothing here to tune even if you wanted to.

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 as a pip package - which only ships wheels for specific Python minor versions, and the README is direct about it: Python 3.10.x, nothing else. Windows users get a bundled embedded-Python-3.10 zip built for exactly this reason; macOS/Linux users should set up a pinned conda create --name comfyui python=3.10 environment first. Launch with --enable-cors-header (add --force-fp16 on Mac) for the live avatar preview panel; without it the graph still executes, you just lose the real-time viewer.

Common issues

Don't expect predictable, targeted results from this node in a scripted graph - without a cursor position, there's no way to steer what it dissolves, and its output is effectively whatever the underlying operator's default target resolves to. If what you actually want is "remove this specific vertex and heal the mesh around it," you're better off doing the selection explicitly upstream and using a standard dissolve operation rather than this cursor-driven tool. Otherwise, the pack-wide troubleshooting applies as usual: a bpy install failure is almost always the Python version, and the README's active "still making changes" warning means it's worth cross-checking a current workflow template if a node behaves differently than you expect.

Categoryblender

Inputs (1)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ