🔮 Decompose a 3D shape into complete parts with HoloPart.

Step 1: Prepare Your Segmented Mesh

Upload a mesh with part segmentation. We recommend using these segmentation tools:

  • SAMPart3D
  • SAMesh For a mesh file mesh.glb and corresponding face mask mask.npy, prepare your input using this Python code:
import trimesh
import numpy as np
mesh = trimesh.load("mesh.glb", force="mesh")
mask_npy = np.load("mask.npy")
mesh_parts = []
for part_id in np.unique(mask_npy):
    mesh_part = mesh.submesh([mask_npy == part_id], append=True)
    mesh_parts.append(mesh_part)
mesh_parts = trimesh.Scene(mesh_parts).export("input_mesh.glb")

The resulting input_mesh.glb is your prepared input for HoloPart.

Step 2: Click the Decompose Parts button to begin the decomposition process.

0 2147483647
8 50
0 20
Examples
Input Mesh Example Image