Export Mesh Operators

bpy.ops.export_mesh.ply(check_existing=True, filepath="", filter_glob="*.ply", use_mesh_modifiers=True, use_normals=True, use_uv_coords=True, use_colors=True, axis_forward='Y', axis_up='Z', global_scale=1.0)

Export a single object as a Stanford PLY with normals, colors and texture coordinates

Parameters:
  • check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting existing files
  • filepath (string, (optional, never None)) – File Path, Filepath used for exporting the file
  • filter_glob (string, (optional, never None)) – filter_glob
  • use_mesh_modifiers (boolean, (optional)) – Apply Modifiers, Apply Modifiers to the exported mesh
  • use_normals (boolean, (optional)) – Normals, Export Normals for smooth and hard shaded faces (hard shaded faces will be exported as individual faces)
  • use_uv_coords (boolean, (optional)) – UVs, Export the active UV layer
  • use_colors (boolean, (optional)) – Vertex Colors, Export the active vertex color layer
  • axis_forward (enum in [‘X’, ‘Y’, ‘Z’, ‘-X’, ‘-Y’, ‘-Z’], (optional)) – Forward
  • axis_up (enum in [‘X’, ‘Y’, ‘Z’, ‘-X’, ‘-Y’, ‘-Z’], (optional)) – Up
  • global_scale (float in [0.01, 1000], (optional)) – Scale
File:

addons/io_mesh_ply/__init__.py:156

bpy.ops.export_mesh.stl(check_existing=True, filepath="", filter_glob="*.stl", ascii=False, use_mesh_modifiers=True, axis_forward='Y', axis_up='Z', global_scale=1.0)

Save STL triangle mesh data from the active object

Parameters:
  • check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting existing files
  • filepath (string, (optional, never None)) – File Path, Filepath used for exporting the file
  • filter_glob (string, (optional, never None)) – filter_glob
  • ascii (boolean, (optional)) – Ascii, Save the file in ASCII file format
  • use_mesh_modifiers (boolean, (optional)) – Apply Modifiers, Apply the modifiers before saving
  • axis_forward (enum in [‘X’, ‘Y’, ‘Z’, ‘-X’, ‘-Y’, ‘-Z’], (optional)) – Forward
  • axis_up (enum in [‘X’, ‘Y’, ‘Z’, ‘-X’, ‘-Y’, ‘-Z’], (optional)) – Up
  • global_scale (float in [0.01, 1000], (optional)) – Scale
File:

addons/io_mesh_stl/__init__.py:164

Previous topic

Export Anim Operators

Next topic

Export Scene Operators