Import Mesh Operators

bpy.ops.import_mesh.ply(filepath="", files=None, directory="", filter_glob="*.ply")

Load a PLY geometry file

Parameters:
  • filepath (string, (optional)) – File Path, Filepath used for importing the file
  • files (bpy_prop_collection of OperatorFileListElement, (optional)) – File Path, File path used for importing the PLY file
  • directory (string, (optional)) – directory
  • filter_glob (string, (optional)) – filter_glob
File :

addons/io_mesh_ply/__init__.py:69

bpy.ops.import_mesh.stl(filepath="", filter_glob="*.stl", files=None, directory="")

Load STL triangle mesh data

Parameters:
  • filepath (string, (optional)) – File Path, Filepath used for importing the file
  • filter_glob (string, (optional)) – filter_glob
  • files (bpy_prop_collection of OperatorFileListElement, (optional)) – File Path
  • directory (string, (optional)) – directory
File :

addons/io_mesh_stl/__init__.py:85

Previous topic

Import Curve Operators

Next topic

Import Scene Operators