ComfyUI > Nodes > ComfyUI-SAM3DObjects > SAM3D Export PLY (Batch)

ComfyUI Node: SAM3D Export PLY (Batch)

Class Name

SAM3DExportPLYBatch

Category
SAM3DObjects
Author
PozzettiAndrea (Account age: 0days)
Extension
ComfyUI-SAM3DObjects
Latest Updated
2026-03-21
Github Stars
0.17K

How to Install ComfyUI-SAM3DObjects

Install this extension via the ComfyUI Manager by searching for ComfyUI-SAM3DObjects
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-SAM3DObjects 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

SAM3D Export PLY (Batch) Description

Facilitates batch export of 3D Gaussian Splat data to PLY files with unique filenames.

SAM3D Export PLY (Batch):

The SAM3DExportPLYBatch node is designed to facilitate the batch export of 3D Gaussian Splat representations into the PLY file format, which is widely used for storing 3D data. This node is particularly beneficial for users who need to process and export multiple 3D objects efficiently, as it automates the generation of PLY files with a systematic naming convention. By leveraging this node, you can ensure that each Gaussian Splat is saved with a unique, indexed filename, making it easier to manage and organize large sets of 3D data. The node's primary goal is to streamline the export process, allowing you to focus on creative tasks while it handles the technical details of file management and storage.

SAM3D Export PLY (Batch) Input Parameters:

gaussian_splat

The gaussian_splat parameter represents the 3D Gaussian Splat object that you wish to export. This object contains the 3D data that will be saved into the PLY format. The quality and characteristics of the exported PLY file are directly influenced by the properties of this Gaussian Splat. There are no specific minimum or maximum values for this parameter, as it is dependent on the data you are working with.

prefix

The prefix parameter is a string that serves as the initial part of the filename for the exported PLY files. This allows you to customize the naming convention of your files, making it easier to identify and categorize them. For example, if you set the prefix to "model", the exported files will be named "model_0001.ply", "model_0002.ply", and so on. There are no specific constraints on the length or content of the prefix, but it should be chosen to suit your organizational needs.

index

The index parameter is an integer that specifies the starting index number for the exported files. This index is used to generate a zero-padded filename, ensuring that the files are ordered sequentially. For instance, if the index is set to 1, the first file will be named with "_0001" appended to the prefix. This parameter is crucial for maintaining a consistent and organized file structure, especially when dealing with large batches of data.

output_dir

The output_dir parameter is a string that defines the directory path where the exported PLY files will be saved. If this parameter is left empty or contains only whitespace, the node will default to saving the files in a predefined directory within the SAM3DObjects folder. Specifying an output directory allows you to control where your files are stored, which can be particularly useful for organizing projects or sharing data with collaborators.

SAM3D Export PLY (Batch) Output Parameters:

filepath

The filepath output parameter is a string that provides the full path to the saved PLY file. This path is essential for verifying that the export process was successful and for locating the file for further use or sharing. The filepath includes the directory, filename, and extension, giving you a complete reference to the exported data.

SAM3D Export PLY (Batch) Usage Tips:

  • Ensure that the output_dir parameter is set to a directory with sufficient storage space, especially when exporting large batches of files, to avoid running into storage issues.
  • Use a meaningful prefix to help categorize and identify your files easily, which can be particularly helpful when working on multiple projects simultaneously.

SAM3D Export PLY (Batch) Common Errors and Solutions:

Failed to save PLY file: <error_message>

  • Explanation: This error occurs when the node encounters an issue while attempting to save the PLY file, which could be due to insufficient permissions, a full disk, or an invalid file path.
  • Solution: Check that the output_dir is a valid path with write permissions and sufficient space. Ensure that the directory exists or can be created by the node. If the problem persists, verify that the Gaussian Splat object is correctly formatted and contains valid data.

SAM3D Export PLY (Batch) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-SAM3DObjects
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.