Nodes/Avatar Graph/Object Set Use Dynamic Topology Sculpting
ComfyUI Node

Object Set Use Dynamic Topology Sculpting

A sculpt-mode flag in an avatar pack

By avatechai·Created 3 years ago·Updated 2 years ago· 264
Object Set Use Dynamic Topology Sculpting
  • BPY_OBJ
  • BPY_OBJ
valuefalse

Here's a sentence you don't hear every day: Object Set Use Dynamic Topology Sculpting is a node for a mode you'd only use if you were sculpting your avatar's mesh by hand inside Blender - which almost nobody doing Avatar Graph is. It's part of Avatech's pack for rigging 2D character images into animatable avatars via an embedded Blender, and like the rest of the ObjectSet_ family it exists because the pack auto-generates a setter node for every simple attribute on Blender's object type. Most of those are useful. This one is a reminder that "every" includes a lot of sculpting machinery.

What it actually does

In Blender, dynamic topology (Dyntopo) is a sculpting feature: it rebuilds the mesh's topology as you sculpt, adding and removing geometry under the brush instead of just pushing existing vertices around. It's how you get fine detail on a base mesh without modeling it by hand. The use_dynamic_topology_sculpting property is the per-object switch that tells Blender "when this object is being sculpted, use dynamic topology."

The catch for this pack: Avatar Graph isn't a sculpting tool. Its pipeline is segment a character image, create a mesh layer, add shape keys and shape flows, animate. You're not bringing a sculpt brush to that party. The property defaults to false, and the default is right - the only scenario where you'd flip it is if you've exported your avatar mesh out to Blender, sculpted detail onto it, and come back to the graph wanting the flag reflected in the object's state.

The inputs and outputs that matter

  • BPY_OBJ - the object whose Dyntopo flag you're setting.
  • value - boolean, default false. true turns dynamic topology on for that object.

Output is the same BPY_OBJ, handed back for the next node in the chain.

How to install it

Part of the Avatar Graph pack - ComfyUI Manager, search "Avatar Graph", install. Or:

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

restart ComfyUI, done. Same install landmine as every node in this pack: bpy==3.6.0 only has wheels for Python 3.10.x, so the pip install dies on modern Python. Use a python=3.10 conda env, or Avatech's prebuilt Python-3.10 ComfyUI zip on Windows.

Gotchas

If you toggle this on and see nothing happen, that's normal - it's a flag, not a magic sculpting button; Dyntopo only matters while an object is actually in Blender's sculpt mode, which this pack's runtime never puts you in. And don't reach for it expecting it to fix topology in your exported mesh; that's not what it's for.

Categoryblender

Inputs (2)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ
valueoptBOOLEANfalse

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ