blender-exporter 0.0.1

Tooling for exporting data such as meshes and armatures from Blender
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
# Install the addon and save the user's preferences
import bpy
import os

# Get the absolute path to the addon
dir = os.path.dirname(__file__)
addonFilePath = dir + '/blender-mesh-to-json.py'

# Install the addon, enable it and save the user's preferences so that it
# is available whenever Blender is opened in the future
bpy.ops.wm.addon_install(filepath=addonFilePath)
bpy.ops.wm.addon_enable(module='blender-mesh-to-json')
bpy.ops.wm.save_userpref()