Nodes/Avatar Graph/Mesh Reveal
ComfyUI Node

Mesh Reveal

Bring back geometry you hid earlier in the graph

By avatechai·Created 3 years ago·Updated 2 years ago· 264
Mesh Reveal
  • BPY_OBJ
  • BPY_OBJ
selecttrue

Blender lets you hide parts of a mesh while you work - the same way you might hide a layer in Photoshop to work on what's underneath - and this node is the "undo that" button: Blender's real bpy.ops.mesh.reveal operator, showing up as a ComfyUI node. It's part of Avatar Graph, the pack that runs actual Blender inside ComfyUI's process (via the bpy Python package) to build interactive 2D-to-3D avatars, and which auto-generates a node for every mesh operator Blender exposes. Reveal is one of the smaller, more mechanical ones - you'll only need it if something earlier in your custom mesh-editing chain hid geometry on purpose or by accident.

How it works

If any vertices, edges, or faces on the incoming mesh are currently marked hidden, this node un-hides all of them in one call. There's no selective revealing by region here - it's global, everything hidden comes back at once. The one thing you do control is what happens to the selection state afterward.

Inputs and outputs

Two things worth knowing:

  • BPY_OBJ - the mesh coming in from earlier in the graph.
  • select (default true) - whether the newly-revealed geometry also gets selected once it's back. Leave it on if you want to immediately act on what you just revealed (delete it, move it, run another select/operate step on it); turn it off if you just want the geometry visible again without disturbing whatever else is currently selected.

Output is a single BPY_OBJ - same live object, hidden geometry restored, ready for the next node in the chain.

Installing it

ComfyUI Manager: search "avatar-graph-comfyui", install, restart. Or manually: cd ComfyUI/custom_nodes && git clone https://github.com/avatechai/avatar-graph-comfyui, then cd avatar-graph-comfyui && python -m pip install -r requirements.txt, then restart ComfyUI.

Python 3.10.x is the requirement to get right before anything else - the bpy package this pack runs on is built for that exact minor version, and the README pushes macOS/Linux users toward a dedicated conda environment (conda create --name comfyui python=3.10) instead of relying on whatever's already installed. Windows has an easier path: a prebuilt ComfyUI + Python 3.10 zip linked straight in the README, unzipped over an existing ComfyUI install, with the pack itself added afterward through Manager. Restart with --enable-cors-header (macOS also wants --force-fp16) - that flag enables the live hand-off to Avatech's web-based 3D viewer; without it the graph still runs the same, you just save the model manually via the pack's Avatar Main Output node instead of watching it live.

Common issues

If custom nodes from this pack aren't appearing at all, the Python version is the first thing to check - anything other than 3.10.x leaves bpy without a working build, and the entire pack fails to load rather than this specific node acting up. There's not much that goes wrong with Reveal on its own since it takes no complex parameters, but it's easy to forget it's needed at all: if a later mesh operation seems to be silently ignoring part of your geometry, check whether something upstream (intentionally or as a side effect of another operator) left some of it hidden - that's invisible in a node graph in a way it wouldn't be in Blender's own viewport, where hidden geometry is obviously grayed out. Beyond that, the usual caveats for this pack apply: it's a heavier dependency than most custom nodes because it embeds real Blender, so watch for conflicts with other packs' pinned Python versions, and the README's own warning that nodes and templates are still changing is worth remembering if something shifts on you in a future update.

Categoryblender

Inputs (2)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ
selectoptBOOLEANtrue

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ