ComfyUI  >  Nodes  >  Avatar Graph >  Set Shape Key Value

ComfyUI Node: Set Shape Key Value

Class Name

Mesh_SetShapeKeyValue

Category
blender
Author
avatechai (Account age: 905 days)
Extension
Avatar Graph
Latest Updated
5/22/2024
Github Stars
0.2K

How to Install Avatar Graph

Install this extension via the ComfyUI Manager by searching for  Avatar Graph
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Avatar Graph in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Set Shape Key Value Description

Modify specific shape key values on Blender mesh objects for precise deformation control and smooth transitions.

Set Shape Key Value:

The Mesh_SetShapeKeyValue node is designed to modify the value of a specific shape key on a mesh object in Blender. Shape keys, also known as morph targets or blend shapes, are used to deform a mesh in various ways, allowing for animations and transformations. This node provides a straightforward method to set the influence of a shape key, enabling you to control the deformation of the mesh precisely. By adjusting the shape key value, you can create smooth transitions and animations, making it an essential tool for character rigging, facial expressions, and other dynamic mesh modifications.

Set Shape Key Value Input Parameters:

shape_key_name

This parameter specifies the name of the shape key you want to modify. It is a string input, and the default value is "my_shape_key". The shape key name must match an existing shape key on the mesh object. If the specified shape key does not exist, the node will not perform any modifications and will print an error message. This parameter is crucial for identifying which shape key's value will be adjusted.

value

This parameter sets the new value for the specified shape key. It is a float input with a default value of 0.0, a minimum value of 0.0, and a maximum value of 1.0. The value determines the influence of the shape key on the mesh, where 0.0 means no influence and 1.0 means full influence. Adjusting this value allows you to control the degree of deformation applied by the shape key.

Set Shape Key Value Output Parameters:

BPY_OBJ

The output parameter is the modified Blender object (BPY_OBJ). This object will have the specified shape key's value updated according to the input parameters. The output is essential for further processing or rendering within Blender, ensuring that the changes made by the node are reflected in the final mesh.

Set Shape Key Value Usage Tips:

  • Ensure that the shape key name you provide matches exactly with an existing shape key on the mesh object to avoid errors.
  • Use the value parameter to create smooth transitions in animations by gradually changing the shape key value over time.
  • Combine this node with other shape key manipulation nodes to create complex deformations and animations for characters or objects.

Set Shape Key Value Common Errors and Solutions:

The shape key <shape_key_name> does not exist on the object.

  • Explanation: This error occurs when the specified shape key name does not match any existing shape key on the mesh object.
  • Solution: Verify that the shape key name is correct and that the shape key exists on the mesh object. You can check the shape key names in Blender's shape key panel.

The object does not have any shape keys.

  • Explanation: This error occurs when the mesh object does not have any shape keys defined.
  • Solution: Add shape keys to the mesh object before using this node. You can add shape keys in Blender by selecting the object and using the shape key panel to create new shape keys.

Set Shape Key Value Related Nodes

Go back to the extension to check out more related nodes.
Avatar Graph
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.