open3d.io.write_point_cloud#

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

Function to write PointCloud to file

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

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

  • format (str, optional, default='auto') – The format of the input file. When not specified or set as auto, the format is inferred from file extension name.

  • 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