Nodes/ComfyUI-BrainDead/BD CubePart Segment
ComfyUI Node

BD CubePart Segment

Open-vocabulary part decomposition (Roblox CubePart): mesh + up to 8 part names -> one mesh per part.

By BizaNator·Created 7 months ago·Updated 16 days ago· 14
BD CubePart Segment
  • mesh
  • parts
  • combined
  • part_names
partsbody, left wheel, right wheel
seed0
guidance_scale7.5
num_inference_steps50
resolution_base8.5
schedulerdpm_solver
timeshift4.0
num_samples128000
mesh_path
auto_downloadtrue
model_dir
text_encoder_path
Category🧠BrainDead/CubePart

Inputs (13)

NameTypeDefaultDescription
partsSTRINGbody, left wheel, right wheelUp to 8 part names, comma- or newline-separated. Open vocabulary. Extra names past 8 are dropped (logged).
seedINT00–2147483647Random seed for reproducibility.
guidance_scaleFLOAT7.50–20Classifier-free guidance strength.
num_inference_stepsINT501–200Diffusion denoising steps.
resolution_baseFLOAT8.56–10Marching-cubes grid resolution base (higher = finer, slower).
schedulerCOMBOdpm_solverSampling scheduler.
timeshiftFLOAT4.01–10Flow-matching timestep shift.
num_samplesINT12800016000–256000Surface points sampled from the input mesh for encoding.
meshoptTRIMESHInput mesh from a BD mesh source. If unset, mesh_path is used.
mesh_pathoptSTRINGPath to a .glb on disk. Used only when no `mesh` is wired.
auto_downloadoptBOOLEANtrueDownload missing weights from HF on first run (Roblox/cubepart, Qwen/Qwen3-VL-4B-Instruct). Off = error if not pre-downloaded.
model_diroptSTRINGOverride the cubepart weights dir. Empty = auto-resolve via ComfyUI folder_paths / extra_model_paths.yaml ('cubepart' key, else models/cubepart).
text_encoder_pathoptSTRINGOverride the Qwen3-VL-4B-Instruct dir (loaded offline). Empty = auto-resolve under the LLM models folder.

Outputs (3)

NameTypeDescription
partsTRIMESH_LIST
combinedTRIMESH
part_namesSTRING