open3d.io.write_point_cloud#
- open3d.io.write_point_cloud(filename, pointcloud, format='auto', write_ascii=False, compressed=False, print_progress=False)#
Function to write PointCloud to file
- Parameters:
filename (os.PathLike) – Path to file.
pointcloud (open3d.geometry.PointCloud) – The
PointCloud
object for I/Oformat (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