OSDN Git Service
(root)
/
meshio
/
pymeshio.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
1f6b165385adc416caaf4ddc952e82f709a02587
[meshio/pymeshio.git]
/
blender26-meshio
/
export_pmx.py
1
# coding: utf-8
2
3
from . import bl
4
5
6
def _execute(filepath):
7
print(filepath)
8
active=bl.object.getActive()
9
if not active:
10
print("abort. no active object.")
11
return
12
exporter=PmdExporter()
13
exporter.setup()
14
print(exporter)
15
exporter.write(filepath)
16
bl.object.activate(active)
17
return {'FINISHED'}
18