ComfyUI Node
CV Write PLY (Point Cloud)
Converts numpy point arrays to a binary PLY file for ComfyUI's 'Preview Point Cloud' node. Feed an Nx3 float array of 3-D positions and optionally an Nx3 array of RGB colors (0-255 uint8 or 0-1 float). The PLY is written to a temp file and wrapped as a File3D object that plugs straight into PreviewPointCloud or SaveGLB.
CV Write PLY (Point Cloud)
- points
- colors
- ply
Categoryimage/CV/low-level
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| points | NPARRAY | Nx3 or Nx1x3 float array of 3-D vertex positions (e.g. from cv2.reprojectImageTo3D, Triangulate Points, or the depth-to-points subgraph). | |
| colorsopt | NPARRAY | Nx3 or Nx1x3 array of per-vertex RGB colors. uint8 0-255 or float 0-1 (auto-scaled). If disconnected, vertices are white. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| ply | FILE_3D_PLY | Binary PLY point cloud. Feed into 'Preview Point Cloud' or 'Save 3D Model'. |