ComfyUI Node

UV Paste

Copy-paste your UVs, the ComfyUI way

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

UV Paste does exactly what it sounds like: pastes a copied UV layout onto your mesh. It's the second half of Blender's UV copy/paste, and it's the node you reach for when you have a good UV layout on one object and want it applied to another that shares the same shape - say, a re-imported layer that lost its UVs, or a mirror-symmetry copy that should use the exact same map. Copy once, paste everywhere, done.

How it works

It's the auto-generated wrapper for bpy.ops.uv.paste in the Avatar Graph pack: take the BPY_OBJ, enter edit mode, paste, return the same object. No inputs beyond the mesh - all the state lives in Blender's internal UV clipboard. Which is the catch you need to know about: paste only works if something was copied first. Blender's UV clipboard is filled by the copy operator, and this pack ships that too (UV Copy, the bpy.ops.uv.copy wrapper). So the working pattern in a graph is:

  1. Select the source faces on the donor object, run UV Copy.
  2. Select the target faces on the receiver, run this node (UV Paste).

Because both operators run inside the pack's single embedded Blender session, the clipboard survives from one node to the next - no files, no wires carrying the data. The connection is implicit, which makes the graph order matter. If Paste runs before anything was ever copied, it's a silent no-op.

Where it fits

The classic avatar use is uniformity: when two mesh layers (like the two halves of a face, or a base and a re-generated variant) should share identical UVs, copying from one and pasting to the other guarantees they line up perfectly - no re-unwrapping, no seams drifting. It's also the fix for a mesh that arrived with no UVs at all: borrow the layout from a sibling object that has one. Just remember the source must be UV-selected in an edit-mode context before UV Copy - same selection requirement as the rest of the UV_* selection chain.

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.

Pack-wide warnings: it pins bpy==3.6.0, which needs Python 3.10.x - anything else fails the pip install. First launch auto-downloads the ~2.5 GB SAM model. And the README says the nodes are still being developed; pin the version once your workflow is working.

Categoryblender

Inputs (1)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ