pymeshio is a package for 3d model io. create for blender import/expoert plugin backend.
- Python 3.4
- 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
blender part is separate to https://github.com/ousttrue/blpymeshio
- blender-2.6 import/export plugin
$ pip install pymeshio
$ unzip pymeshio-x.x.x.zip $ cd pymeshio-x.x.x $ python setup.py install
>>> 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 >>> pymeshio.pmx.writer.write_to_file(pmx_model, "out.pmx") True >>> import pymeshio.vmd.reader >>> pymeshio.vmd.reader.read_from_file('resources/motion.vmd') <VMDLoader model: "初音ミク", motion: 16897, shape: 997, camera: 0, light: 0>
- fix vmd reader. #39
- separate blender part to https://github.com/ousttrue/blpymeshio
- blender addon archive. https://github.com/ousttrue/pymeshio/releases
- fix write vertex with unknown deform type
- fix tests
- for python3.4 or later
- fix pmx_export bug.(not empty material)
- add pymeshio.pmx.writer.write_to_file
- update pymeshio.obj.reader.read_from_file
- add pymeshio.converter.obj_to_pmx
- fix pymeshio.pmx.Model() default value
- fix converter bug.
- fix converter bug.
- fix importer. #32. uv morph will not cause crash, but drop data.
- fix importer. #31. sdef as bdef2.
- blender addon. #30. auto enable international font.
- fix exporter. #20
- fix material alpha(pmd export, pmx export)
- fix mqo export(from blender 2.63?). thanks to sapper-trle
- import obj reader(face)
- implement obj reader
- implement morph for vmd.writer
- fix empty tessfaces when modifier_apply(from blender 2.66?)
- implement read pmx BoneMorph
- implement read pmx GroupMorph
- fix pmx_importer. #15
- add vmd writer
- add x reader
- add x writer
- fix for blender-2.65
- fix pmd/pmx export mesh without material
- merge griffon-9's pmx bdef4 export implementation
- merge griffon-9's pmx unsigned short bug fix
- merge griffon-9's morph assertion buf fix
- merge griffon-9's shapre group implovement
- fix mqo import
- remove 16 material limitation from mqo/pmd/pmx import(not split mesh)
- fix and implovement vertex morph for pmd/pmx exporter. thanks to griffon-9
- implement toon texture for pmd. thanks to griffon-9
- fix ik_target index for pmd. thanks to griffon-9
- fix pmx writing for utf-16-le. change default encoding to utf-16-le
- fix export_pmd bug that flip face. thanks to griffon-9
- implement pmd importer/exporter
- fix pmd importer/exporter for blender2.63
- it cannot be used in blender2.62
- restore blender pmd importer/exporter
- fix englishmap
- blender pmx importer/exporter improvement
- fix lost bones
- fix bone order
- implement bone flags
- fix lost uv
- copy rotation
- fix fixed_axis in convert
- fix face flip for pmx_importer/pmx_export
- implement material flags for pmx_importer/pmx_export
- update pmd to pmx converter(bone flag)
- use face normal when the face is not smooth
- implement ik-limit for pmx_importer
- update pmd to pmx converter(bone group)
- fix pmd importer/exporter rigid w h d
- implement camera motion for vmd
- treat a no child bone that tail_index is 0xFFFF (for 2.4.1 export model. tail_index specification ?)
- fix critical bug, no morph data(pmd_export).
- fix bug, unsigend integer write(-1 -> 255/66535/4294967295)
- implement BDEF4 and SDEF for pmx
- implement MaterialMorph for pmx
- fix pymeshio.vmd
- fix for blender-2.6
- bug fix(pmd_to_pmx RigidBody.shape_position)
- implement pmx_importer
- bug fix(__init__ param)
- fix blender-2.5 plugin for blender-2.6
$ python setup.py check -r $ python setup.py sdist --formats=zip upload