scene_synthesizer.exchange.export.export_ply

scene_synthesizer.exchange.export.export_ply(scene, **kwargs)

Export a scene in the PLY format.

This uses trimesh.exchange.ply.export_ply

Parameters:
  • scene (scene_synthesizer.Scene) – Scene to be exported.

  • **encoding (str) – PLY encoding: ‘ascii’ or ‘binary_little_endian’. Defaults to ‘binary’.

  • **vertex_normal (bool or None) – None or include vertex normals. Defaults to None.

  • **include_attributes (bool) – Defaults to True.

Returns:

Scene mesh represented in binary or ASCII PLY form.

Return type:

str or bytes