cloudViewer.io.write_entity#

cloudViewer.io.write_entity(filename, entity, write_ascii=False, compressed=False, print_progress=False)#

Function to write entity to file

Parameters:
  • filename (Union[os.PathLike, str, bytes]) – Path to file.

  • entity (cloudViewer.geometry.ccHObject) –

  • 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