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

Features

  • read/write Metasequioa mqo format

  • read/write MikuMikuDance pmd format

  • read-only MikuMikuDance pmx format

  • read/write MikuMikuDance vmd format

  • read/write MikuMikuDance vpd format

Setup

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

Usage

>>> import pymeshio.pmx.loader
>>> m=pymeshio.pmx.loader.load('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

  • pmx writer

  • pmd to pmx converter

  • blender importer for pmx

  • blender exporter for pmx

History

2.0.1 (2011-10-01)

  • 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

1.9.2 (2011-9-29)

  • add tkinter viewer sample

1.9.1 (2011-9-23)

  • register pypi

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.0.1.zip (85.9 kB view details)

Uploaded Source

File details

Details for the file pymeshio-2.0.1.zip.

File metadata

  • Download URL: pymeshio-2.0.1.zip
  • Upload date:
  • Size: 85.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pymeshio-2.0.1.zip
Algorithm Hash digest
SHA256 b80fc40a3f99a37117177c72656b5fa3193f2fa7f0d6dd1d079335b0497a709c
MD5 46a1e6223ea1796f2d683a31540d0ef4
BLAKE2b-256 c0f0b653dc5aaf0b636c7a12f79db235dc47efd17eb60d123f8409a6fc986d36

See more details on using hashes here.

Supported by

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