ComfyUI Node

UV Hide

Get the noise out of your UV view

By avatechai·Created 3 years ago·Updated 2 years ago· 264
UV Hide
  • BPY_OBJ
  • BPY_OBJ
unselectedfalse

UV Hide is the "mute the parts I'm not working on" button for your UV map. When you're editing one island - the mouth, say - every other island on the map is visual noise, and selection tools keep grabbing things you didn't mean to touch. Hiding the rest lets you focus, edit in isolation, and stop accidental edits bleeding across islands. It's a humble node, but it's one of the reasons UV editing in Blender doesn't drive people insane.

How it works

As with every UV_* node in the Avatar Graph pack, this is an auto-generated wrapper around a Blender operator - here bpy.ops.uv.hide. It takes your BPY_OBJ, enters edit mode, and hides UV elements. The one input beyond the mesh is unselected: leave it off and it hides the selected UV elements; flip it on and it hides everything except the selection. Output is the same BPY_OBJ, ready to keep flowing down the graph.

The important context: this is an edit-mode visibility toggle, not a deletion. Hidden UVs still exist and still texture the mesh - they're just hidden from view and ignored by most selection and transformation operators until you reveal them. That's what makes it useful as a scoping tool: hide the islands you don't want disturbed, and downstream operations (unwrap, pack, rip) effectively ignore them.

Where it fits

In an Avatar Graph workflow, hiding is a staging step rather than an end in itself. A typical sequence: run a selection node over the island you care about, hide everything else with unselected: true, do your surgery (seam, unwrap, pack), then UV Reveal to bring it all back before export. Since the pack's embedded Blender has no visible UV editor for you to click around in, Hide + Reveal become your crude but effective "isolate this region" pattern - it's how you stop a UV Pack Islands pass from rearranging the islands you already placed by hand.

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 use ComfyUI Manager and search Avatar Graph.

Same story as the rest of the pack: it pins bpy==3.6.0, so your ComfyUI needs Python 3.10.x or the pip install fails and no nodes load. First launch auto-downloads the SAM ViT-H model (~2.5 GB) plus MediaPipe landmarkers - not a hang. And the pack is openly still in development, so pin the version once your workflow works.

Categoryblender

Inputs (2)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ
unselectedoptBOOLEANfalse

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ