open3d.t.io.write_point_cloud#

open3d.t.io.write_point_cloud(filename: os.PathLike, pointcloud: open3d.t.geometry.PointCloud, write_ascii: bool = False, compressed: bool = False, print_progress: bool = False) bool#

Write a tensor open3d.t.geometry.PointCloud to file.

For Gaussian splat clouds written as PLY, per-point scale is converted from the in-memory linear representation to log-scale in the file, matching common 3DGS PLY conventions (see read_point_cloud()). SPLAT output writes linear scales directly.

Parameters:
  • filename (os.PathLike) – Path to file.

  • pointcloud (open3d.t.geometry.PointCloud) – The PointCloud object for I/O.

  • write_ascii (bool, optional, default=False) – Set to True to output in ascii format, otherwise binary format will be used.

  • compressed (bool, optional, default=False) – Set to True to write in compressed format.

  • print_progress (bool, optional, default=False) – If set to true a progress bar is visualized in the console.

Returns:

bool