Skip to main content

3d model io library for mqo, pmd, pmx, vmd and vpd

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

  • convert MikuMikuDance pmd format to MikuMikuDance pmx format

Install

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

Usage

>>> import pymeshio.pmd.reader
>>> m=pymeshio.pmd.reader.read_from_file('resources/初音ミクVer2.pmd')
>>> print(m)
<pmd-1, "初音ミク" vertex: 12354, face: 68883, material: 17, bone: 140 ik: 7, skin: 31>
>>> import pymeshio.converter
>>> pmx_model=pymeshio.converter.pmd_to_pmx(m)
>>> print(pmx_model)
<pmx-2.0 "Miku Hatsune" 12354vertices>
>>> import pymeshio.pmx.writer
>>> import io
>>> pymeshio.pmx.writer.write(io.open("out.pmx", "wb"), pmx_model)
True

ToDo

  • update blender25 plugin to blender26

  • blender26 importer for pmx

  • blender26 exporter for pmx

New

2.2.2 (2011-10-10)

  • fix uint and int

  • fix converter.pmd_to_pmx

  • add pmd2pmx script

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.2.zip (89.5 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