Export Mesh Operators

bpy.ops.export_mesh.ply(filepath="", check_existing=True, filter_glob="*.ply", use_modifiers=True, use_normals=True, use_uv_coords=True, use_colors=True)

Export a single object as a stanford PLY with normals, colours and texture coordinates.

Parameters:
  • filepath (string, (optional)) – File Path, Filepath used for exporting the file
  • check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting existing files
  • use_modifiers (boolean, (optional)) – Apply Modifiers, Apply Modifiers to the exported mesh
  • use_normals (boolean, (optional)) – Normals, Export Normals for smooth and hard shaded faces
  • use_uv_coords (boolean, (optional)) – UVs, Exort the active UV layer
  • use_colors (boolean, (optional)) – Vertex Colors, Exort the active vertex color layer
File :

addons/io_mesh_ply/__init__.py:95

bpy.ops.export_mesh.stl(filepath="", check_existing=True, ascii=False, apply_modifiers=True)

Save STL triangle mesh data from the active object

Parameters:
  • filepath (string, (optional)) – File Path, Filepath used for exporting the file
  • check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting existing files
  • ascii (boolean, (optional)) – Ascii, Save the file in ASCII file format
  • apply_modifiers (boolean, (optional)) – Apply Modifiers, Apply the modifiers before saving
File :

addons/io_mesh_stl/__init__.py:117

Previous topic

Export Anim Operators

Next topic

Export Scene Operators