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

Mesh Polybuild Extrude At Cursor Move

Extrude-and-drag, without the drag

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

The "Move" suffix on this node name is a real Blender convention worth knowing: it marks a macro operator, one that chains a base action with an interactive transform step in a single click-and-drag motion. This one extrudes new geometry from whatever's under your cursor, then immediately lets you drag it into place - two operators fused into one mouse gesture.

What it is and why you'd reach for it

It's part of Blender's interactive Poly Build tool, wrapped here as a ComfyUI node, and it's not part of Avatar Graph's documented rigging pipeline (Create Mesh Layer → Modify Shape Key → Create Shape Flow → Avatar Main Output). Like its Polybuild siblings, it exists because this pack auto-generates a node for essentially every operator in Blender's bpy.ops.mesh namespace - the README's generate_blender_types.py script is what keeps that mapping current. In the Blender UI, "extrude at cursor, move" is how you quickly grow new topology outward from an edge by hand: click an edge, drag, and a new face follows your mouse. This node's schema has no cursor position, no drag distance, no direction - just a mesh in and a mesh out - so there's no way to specify where the extrusion should go or how far.

How it works

Conceptually it's two Blender operators glued together: extrude the geometry nearest the target point, then translate that new geometry by whatever the "move" delta is. Without an interactive mouse supplying that delta, expect the operator to fall back to its internal default, which is unlikely to be a controllable, repeatable result.

The inputs and outputs that matter

None - the schema is just BPY_OBJ in, BPY_OBJ out. No mirror, no proportional editing, nothing. Of all twenty nodes in this batch, this is one of the barest.

How to install it

ComfyUI Manager: search Avatar Graph, install, restart. Or by hand:

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

The pack depends on bpy, Blender packaged as a pip module, and bpy only ships wheels for specific Python minor versions - the README states plainly that you need Python 3.10.x. Windows users get a dedicated embedded-Python-3.10 zip to sidestep the whole issue; macOS/Linux users should pin a conda create --name comfyui python=3.10 environment before installing. Restart with --enable-cors-header (--force-fp16 too, on Mac) if you want the live avatar preview panel; otherwise the graph still runs, just without the real-time viewer.

Common issues

If you were hoping to programmatically extrude new geometry in a specific direction and this node's result looks arbitrary, that's expected - it has no way to receive a target or a direction. For controllable extrusion in a scripted graph, you'd want a more basic extrude-and-translate combination built from separate steps rather than this cursor-driven macro. Beyond that, the same install trap applies as everywhere else in this pack: check python --version first if bpy won't install - it's almost always the Python minor version, not a broken package.

Categoryblender

Inputs (1)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ