Ply Input Switch JK๐
Two point clouds, one checkbox โ for 3D Gaussian splat workflows
- ply_false
- ply_true
- ply_output
- boolean
3D Gaussian splats get saved as PLY files - those point-cloud captures you can fly a virtual camera through. Ply Input Switch JK๐ routes between two GS_PLY wires based on a boolean, so a workflow that can work from either splat - say two captures of the same scene - becomes a toggle rather than a reload.
It's the point-cloud sibling of the mesh switch, and it sits in the same 3D corner of JakeUpgrade. The pack has shipped 3D Gaussian splat workflows since v1.0.9, and PLY handling got folded into the same switch family that covers meshes, orbit poses and trimshs - because once you're generating 3D content, "which 3D asset feeds this node" is a routing question with a one-word answer: switch.
How it works
if ply_true is not None and boolean_value:
return (ply_true, boolean_value)
else:
return (ply_false, boolean_value)
boolean_value-Trueโ the "true" PLY,Falseโ the "false" one.ply_false- required.ply_true- optional; unplugged = pass-through.
Outputs: ply_output (GS_PLY) and boolean.
GS_PLY is the type the 3D Gaussian splat tooling in ComfyUI uses - it's what a splat loader or a reconstruction node hands off to the viewer/export nodes. This node doesn't parse the PLY at all; it routes the object. The usual switch caveat applies: both producers run every time, so if one side is an expensive reconstruction, the switch won't save you that cost - only the effort of rewiring.
Where you'd use it
- A/B two splat captures (different camera angles, different decimation levels) feeding the same viewer or export path.
- Choosing between a freshly generated splat and a previously saved one on a single toggle.
- Building one shareable 3D workflow where the "which splat" decision is left as a checkbox for whoever runs it.
Install
Part of ComfyUI-JakeUpgrade. ComfyUI Manager โ search ComfyUI-JakeUpgrade, or:
cd ComfyUI/custom_nodes
git clone https://github.com/jakechai/ComfyUI-JakeUpgrade
cd ComfyUI-JakeUpgrade && pip install -r requirements.txt
Nothing extra to download - the PLYs come from your splat pipeline. Menu: ๐ JK/๐ Switch. If you're doing heavy 3D work, remember the pack's own advice: a separate ComfyUI install for 3D-Pack is recommended, and it's one of the few times following a pack README's install advice is genuinely worth it.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| boolean_value | BOOLEAN | false | Condition to select between inputs (True=ply_true, False=ply_false) |
| ply_false | GS_PLY | PLY file to return when condition is False | |
| ply_trueopt | GS_PLY | PLY file to return when condition is True (optional) |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| ply_output | GS_PLY | โ |
| boolean | BOOLEAN | โ |