Mesh Source is an add-on designed for converting meshes into Python source code and saving them in a library for further distribution.

Key Features:

  • Mesh to Text Conversion: Generates source code for selected meshes, displayed in the Text Editor window.
  • Code Reusability: Allows the copied code to be pasted or opened in any separate Blender project, recreating the same set of meshes.
  • Mesh Source Library: Features its own library to save mesh source code, enabling immediate loading of saved meshes.
  • Distribute Library as Add-on: Provides the ability to compile the Mesh Source library into a separate add-on for distribution among Blender users.
  • Mesh Data Support: Supports mesh data including points, edges, polygons, vertex groups, UVs, and mesh modifier stack.
  • Exclusion of Materials: Note that materials assigned to a mesh are not processed by this add-on.

Relevant addons

LiberTeeth3D

LiberTeeth3D

Orthodontic appliances setup tools

m3addon

m3addon

Import & export m3 file format