Skip to main content

pure python 3d model io library

Project description

pymeshio is a package for 3d model io. create for blender import/expoert plugin backend.

Requirements

  • Python 3

  • Python 2.7

Features

  • read Metasequioa mqo format

  • read/write MikuMikuDance pmd format

  • read/write MikuMikuDance pmx format

  • read MikuMikuDance vmd format

  • read MikuMikuDance vpd format

Install

$ easy_install pymeshio
or
$ unzip pymeshio-x.x.x.zip
$ cd pymeshio-x.x.x
$ python setup.py install

Usage

>>> import pymeshio.pmx.reader
>>> m=pymeshio.pmx.reader.read_from_file('resources/初音ミクVer2.pmx')
>>> print(m)
<pmx-2.0 "Miku Hatsune" 12354vertices>
>>> 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

  • blender importer for pmx

  • blender exporter for pmx

New

2.2.1 (2011-10-07)

  • implement pmd to pmx converter

2.2.0 (2011-10-03)

  • implement pmx writer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymeshio-2.2.1.zip (87.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page