X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=setup.py;h=3fbf3003d3524091a42d83dee385140f228f698c;hb=a678c04bd9942eb915a1d07caac747ef5d0f8556;hp=e160cae4e93f4aea8716582ddf53b93659bf55fb;hpb=05f6822cc37d15b98c5eaae9562105e1d3a5083e;p=meshio%2Fpymeshio.git diff --git a/setup.py b/setup.py index e160cae..3fbf300 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,13 @@ +#!/usr/bin/env python +# coding: utf-8 + from setuptools import setup import sys import os import shutil name='pymeshio' -version='2.0.0' +version='2.0.2' short_description='pure python 3d model io library' long_description='''\ `pymeshio` is a package for 3d model io. @@ -13,6 +16,7 @@ create for blender import/expoert plugin backend. Requirements ------------ * Python 3 +* Python 2.7 Features -------- @@ -33,21 +37,39 @@ Setup $ cd pymeshio-x.x.x $ python setup.py install +Usage +----- +:: + + >>> import pymeshio.pmx.loader + >>> m=pymeshio.pmx.loader.load('resources/初音ミクVer2.pmx') + >>> print(m) + + >>> print(dir(m)) + ['__class__', '__delattr__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__slots__', '__str__', '__subclasshook__', 'bones', 'comment', 'display_slots', 'english_comment', 'english_name', 'indices', 'joints', 'materials', 'morphs', 'name', 'rigidbodies', 'textures', 'version', 'vertices'] + +ToDo +-------- + +* pmx writer +* pmd to pmx converter +* blender importer for pmx +* blender exporter for pmx + + History ------- +2.0.2 (2011-10-01) +~~~~~~~~~~~~~~~~~~ +* fix for Python 2.7(remove anotation) +* fix pymeshio.pmx.Bdef1.bone_index to index0 +* fix pymeshio.pmx.Material.index_count to vertex_count +* add pmx example + 2.0.0 (2011-9-30) ~~~~~~~~~~~~~~~~~~ * add pmx loader - >>> import pymeshio.pmx.loader - >>> m=pymeshio.pmx.loader.load('resources/初音ミクVer2.pmx') - >>> print(m) - - >>> print(m.name) - 初音ミク - >>> print(m.english_name) - Miku Hatsune - 1.9.2 (2011-9-29) ~~~~~~~~~~~~~~~~~~ * add tkinter viewer sample