Nodes/Avatar Graph/Mesh Customdata Crease Vertex Clear
ComfyUI Node

Mesh Customdata Crease Vertex Clear

Removes per-vertex crease data

By avatechai·Created 3 years ago·Updated 2 years ago· 264
Mesh Customdata Crease Vertex Clear
  • BPY_OBJ
  • BPY_OBJ

The teardown side of Mesh_CustomdataCreaseVertexAdd. This wraps Blender's bpy.ops.mesh.customdata_crease_vertex_clear operator directly - a mesh object in, the same mesh object out, no other fields to set.

What it actually does

Vertex crease is per-vertex data that tells a Subdivision Surface modifier to hold a point sharp rather than let it smooth away. This node deletes that data layer from the mesh outright. If you'd set actual non-zero crease values on specific vertices, they're gone after this runs - not reset to a default, removed. A subdivision step run afterward treats every vertex as uncreased, identical to a mesh that never had the layer.

You'd reach for this to genuinely undo vertex-crease work, or to strip a layer that turned out unused before handing a mesh off somewhere else. It's a silent no-op if the layer wasn't there to begin with, or if it was there but every value was already zero.

The input and output that matter

  • BPY_OBJ (optional) - the mesh to remove the vertex-crease layer from.

Output is the same BPY_OBJ, minus that layer if present.

How to install it

Search Avatar Graph in ComfyUI Manager and install, or manually:

cd 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. Everything in this pack rests on bpy==3.6.0, which requires Python 3.10.x - grab the README's prebuilt Python-3.10 zip on Windows, or build a dedicated conda environment on Mac/Linux (conda create --name comfyui python=3.10). opencv-python, mediapipe, and segment-anything also install, unpinned but adding real weight to the setup.

Common issues & troubleshooting

"I ran it and the mesh is identical." Expected unless something was actually reading non-zero vertex crease values before you cleared them - this node's effect only shows up through a Subdivision Surface step that no longer has data to smooth around.

bpy won't import when ComfyUI starts. That's the Python 3.10.x requirement, not anything about this node specifically - check your interpreter version first.

You're not sure you need this at all. Vertex crease is a niche Blender feature to begin with, and Avatar Graph's own rigging templates (the eye-blink and lipsync workflows in the README) don't route through it - this node exists because the pack wraps a broad slice of Blender's mesh operators automatically, not because clearing vertex crease is a normal step in the avatar pipeline. If you never added the layer, there's nothing here to clear.

Categoryblender

Inputs (1)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ