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.PointCloudto file.For Gaussian splat clouds written as PLY, per-point
scaleis converted from the in-memory linear representation to log-scale in the file, matching common 3DGS PLY conventions (seeread_point_cloud()). SPLAT output writes linear scales directly.- Parameters:
filename (os.PathLike) – Path to file.
pointcloud (open3d.t.geometry.PointCloud) – The
PointCloudobject for I/O.write_ascii (bool, optional, default=False) – Set to
Trueto output in ascii format, otherwise binary format will be used.compressed (bool, optional, default=False) – Set to
Trueto write in compressed format.print_progress (bool, optional, default=False) – If set to true a progress bar is visualized in the console.
- Returns:
bool