Visit ComfyUI Online for ready-to-use ComfyUI environment
Dynamic selection between mesh inputs based on boolean value for enhanced flexibility in processing mesh data.
The CR Mesh Input Switch JK node is designed to dynamically select between two mesh inputs based on a boolean value. This node is particularly useful in scenarios where you need to switch between different 3D mesh models depending on certain conditions or states within your workflow. By providing a simple yet effective mechanism to toggle between two mesh inputs, it enhances the flexibility and control over the mesh data being processed. This can be especially beneficial in complex AI art projects where different mesh models might be required under different circumstances, allowing for more dynamic and responsive designs.
The boolean_value
parameter is a boolean input that determines which mesh input will be selected. If set to True
, the node will output the mesh_true
input; if set to False
, it will output the mesh_false
input. This parameter is crucial as it controls the switching mechanism of the node. The default value is False
.
The mesh_false
parameter is the mesh input that will be selected when the boolean_value
is set to False
. This input is required and must be provided for the node to function correctly. It represents the mesh model that will be used in scenarios where the condition is not met.
The mesh_true
parameter is the mesh input that will be selected when the boolean_value
is set to True
. This input is also required and must be provided for the node to function correctly. It represents the mesh model that will be used in scenarios where the condition is met.
The MESH
output is the selected mesh model based on the boolean_value
input. If boolean_value
is True
, this output will be the mesh_true
input; if boolean_value
is False
, it will be the mesh_false
input. This output is essential as it provides the dynamically selected mesh model for further processing in your workflow.
The BOOLEAN
output is the same as the boolean_value
input. It is provided as an output to allow for further logical operations or conditions to be applied downstream in your workflow. This output ensures that the state of the switch is known and can be utilized in subsequent nodes.
boolean_value
parameter to control the selection of mesh models dynamically based on conditions or states in your workflow.mesh_false
and mesh_true
inputs are provided to avoid errors and ensure the node functions correctly.BOOLEAN
output to chain further logical operations or conditions, enhancing the flexibility of your workflow.mesh_false
input is not provided.mesh_false
input.mesh_true
input is not provided.mesh_true
input.boolean_value
input is not a valid boolean.boolean_value
input is set to either True
or False
.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.