ComfyUI > Nodes > camera-comfyUI > SavePointCloud

ComfyUI Node: SavePointCloud

Class Name

SavePointCloud

Category
Camera/PointCloud
Author
Alexankharin (Account age: 2779days)
Extension
camera-comfyUI
Latest Updated
2025-12-26
Github Stars
0.03K

How to Install camera-comfyUI

Install this extension via the ComfyUI Manager by searching for camera-comfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter camera-comfyUI in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

SavePointCloud Description

Facilitates efficient storage of 3D point cloud data with color and alpha properties.

SavePointCloud:

The SavePointCloud node is designed to facilitate the storage of 3D point cloud data, which is a collection of data points defined in a given three-dimensional coordinate system. This node is particularly useful for AI artists and developers working with 3D models, as it allows for the efficient saving of point cloud data in various formats, such as PLY or NPY. By enabling the preservation of detailed spatial information, including color and alpha properties, the SavePointCloud node ensures that complex 3D scenes can be stored and later retrieved for further processing or visualization. This capability is essential for workflows involving 3D reconstruction, augmented reality, and virtual reality applications, where maintaining the integrity and quality of point cloud data is crucial.

SavePointCloud Input Parameters:

coords

The coords parameter represents the spatial coordinates of the points in the point cloud. It is a crucial input as it defines the position of each point in the 3D space. The accuracy and precision of these coordinates directly impact the quality of the saved point cloud. Typically, this parameter is expected to be a tensor or array containing the x, y, and z coordinates for each point.

colors

The colors parameter provides the color information for each point in the point cloud. This includes the red, green, blue, and optionally alpha (transparency) values. The color data enhances the visual representation of the point cloud, making it more informative and realistic. It is important to ensure that the color values are normalized, usually between 0 and 1, to maintain consistency and accuracy in the saved file.

ply_path

The ply_path parameter specifies the file path where the point cloud will be saved in the PLY format. This format is widely used for storing 3D data and supports both ASCII and binary encoding. Providing a valid file path ensures that the point cloud is saved correctly and can be accessed later for further use.

npy_path

The npy_path parameter indicates the file path for saving the point cloud in the NPY format, which is a binary file format for storing numpy arrays. This format is efficient for saving large datasets and is particularly useful when working with Python-based workflows. Ensuring the correct path is specified will facilitate easy loading and manipulation of the point cloud data in future tasks.

SavePointCloud Output Parameters:

file_name

The file_name output parameter provides the name of the file where the point cloud data has been saved. This is useful for confirming the successful execution of the save operation and for referencing the saved file in subsequent processes. The file name will reflect the format chosen (either PLY or NPY) and will include any specified naming conventions or counters.

SavePointCloud Usage Tips:

  • Ensure that the coords and colors parameters are correctly formatted and normalized to avoid errors during the save process.
  • Choose the appropriate file format (PLY or NPY) based on your workflow requirements. PLY is suitable for visualization, while NPY is efficient for data manipulation in Python.
  • Regularly verify the saved files to ensure data integrity and to confirm that the point cloud has been stored as expected.

SavePointCloud Common Errors and Solutions:

FileNotFoundError

  • Explanation: This error occurs when the specified file path for saving the point cloud does not exist or is incorrect.
  • Solution: Double-check the file path and ensure that the directory exists. Create any necessary directories before attempting to save the point cloud.

ValueError: Mismatched dimensions

  • Explanation: This error arises when the dimensions of the coords and colors arrays do not match, leading to inconsistencies in the point cloud data.
  • Solution: Verify that the number of points in the coords array matches the number of color entries in the colors array. Adjust the arrays to ensure they are aligned.

IOError: Permission denied

  • Explanation: This error indicates that the program does not have the necessary permissions to write to the specified file path.
  • Solution: Check the file permissions and ensure that the program has write access to the directory. Modify permissions if necessary or choose a different save location.

SavePointCloud Related Nodes

Go back to the extension to check out more related nodes.
camera-comfyUI
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

SavePointCloud