Nodes/Avatar Graph/UV Select Lasso
ComfyUI Node

UV Select Lasso

The node that lost its mouse

By avatechai·Created 3 years ago·Updated 2 years ago· 264
UV Select Lasso
  • BPY_OBJ
  • BPY_OBJ
mode

UV Select Lasso is the clearest example of a Blender operator that didn't survive being turned into a node. In Blender, the lasso tool lets you draw a freehand loop around whatever you want to select - the whole feature is the mouse stroke. This node wraps bpy.ops.uv.select_lasso but exposes only a mode input (SET/ADD/SUB). The actual lasso shape is defined by a path of 2D points that Blender records from your mouse - and there's no path input here at all. The node can't know what shape you meant.

How it works

Like every UV_* node in the Avatar Graph pack, it's auto-generated from the Blender operator: it takes your BPY_OBJ, enters edit mode, calls bpy.ops.uv.select_lasso with the parameters it was given, and returns the object. The generated schema simply doesn't include the operator's path property, so the operator runs with an empty/default path - which, with no stroke to trace, isn't going to produce a meaningful freehand selection. Chaining it will pass your object through harmlessly, but don't expect it to select anything useful.

Where it fits

It doesn't, really, for graph work. If you need a freeform selection you'd have to supply the points that a real mouse would have drawn, and this node gives you no way to do that. The good news: this pack has the selectors that do work numerically - UV Select Circle (center + radius), UV Select Edge Ring (location), UV Select (point), UV Select All (everything). Use those. This is one of the pack's auto-generated leftovers - the price you pay for a pack that generates every Blender UV operator, useful or not. Knowing which of the 40-ish UV nodes are real tools and which are interactive artifacts is the actual skill here. Rip Move has the same problem; Lasso just has it more honestly.

Installing Avatar Graph

This node ships in the Avatar Graph pack from Avatech. From ComfyUI/custom_nodes:

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

then restart ComfyUI with --enable-cors-header. Or ComfyUI Manager → search Avatar Graph → Install.

Standard pack warnings: it pins bpy==3.6.0, which needs Python 3.10.x - anything else fails the pip install and loads no nodes. First launch downloads the ~2.5 GB SAM model, which can look like a freeze. And the pack is openly still in development, so pin the version once your workflow is stable.

Categoryblender

Inputs (2)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ
modeoptCOMBO3 options: SET, ADD, SUB

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ