Nodes/comfyui_cv/CV Write PLY (Point Cloud)
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.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
CV Write PLY (Point Cloud)
  • points
  • colors
  • ply
Categoryimage/CV/low-level

Inputs (2)

NameTypeDefaultDescription
pointsNPARRAYNx3 or Nx1x3 float array of 3-D vertex positions (e.g. from cv2.reprojectImageTo3D, Triangulate Points, or the depth-to-points subgraph).
colorsoptNPARRAYNx3 or Nx1x3 array of per-vertex RGB colors. uint8 0-255 or float 0-1 (auto-scaled). If disconnected, vertices are white.

Outputs (1)

NameTypeDescription
plyFILE_3D_PLYBinary PLY point cloud. Feed into 'Preview Point Cloud' or 'Save 3D Model'.