scene_synthesizer.exchange.export.export_stl

scene_synthesizer.exchange.export.export_stl(scene, ascii=False)

Export a scene as a binary or ASCII STL file.

This uses trimesh.exchange.stl.export_stl

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

  • ascii (bool, optional) – Binary or ASCII encoding. Defaults to False.

Returns:

Scene mesh represented in binary or ASCII STL form.

Return type:

str or bytes