Skip to content

Commit

Permalink
Change "Import pmx" to "import Model"
Browse files Browse the repository at this point in the history
  • Loading branch information
sugiany committed Jun 16, 2013
1 parent 39d24e9 commit d23e730
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -48,13 +48,13 @@ Windows 7 + blender 2.67 64bit

各種機能詳細
-------------------------------
### Import pmx
pmxファイルをインポートします
### Import Model
MMDモデルデータをインポートします。対応形式はpmdファイルおよびpmx(ver2.0)ファイルです
各オプションはデフォルト推薦です。
剛体情報を読み込みたくない場合は、"import only non dynamics rigid bodies"オプションをオンにしてください。

* scale
* スケールです。Import vmd時のスケールと統一してください
* スケールです。Import Motion時のスケールと統一してください
* rename bones
* ボーンの名前をblenderに適した名前にリネームします。(右腕→腕.Lなど)
* hide rigid bodies and joints
Expand All @@ -66,11 +66,11 @@ pmxファイルをインポートします。
* distance of ignore collisions
* 非衝突グループの解決範囲を指定します。指定された距離より離れている剛体同士は非衝突グループの設定を適用しません。

### Import vmd
### Import Motion
現在選択中のArmature、MeshおよびCameraにvmdファイルのモーションを適用します。

* scale
* スケールです。Import pmx時のスケールと統一してください
* スケールです。Import Model時のスケールと統一してください
* margin
* 物理シミュレーション用の余白フレームです。
* モーションの初期位置が原点から大きく離れている場合、モーション開始時にモデルが瞬間移動してしまうため物理シミュレーションが破綻します。
Expand Down
10 changes: 5 additions & 5 deletions mmd_tools/__init__.py
Expand Up @@ -47,9 +47,9 @@ class MMDToolsPropertyGroup(bpy.types.PropertyGroup):

## Import-Export
class ImportPmx_Op(bpy.types.Operator, bpy_extras.io_utils.ImportHelper):
bl_idname = 'mmd_tools.import_pmx'
bl_idname = 'mmd_tools.import_model'
bl_label = 'Import PMX file (.pmx)'
bl_description = 'Import a PMX file (.pmx)'
bl_description = 'Import a Model file (.pmd, .pmx)'
bl_options = {'PRESET'}

filename_ext = '.pmx'
Expand Down Expand Up @@ -252,7 +252,7 @@ def draw(self, context):
col.label('Import:')
c = col.column()
r = c.row()
r.operator('mmd_tools.import_pmx', text='Model')
r.operator('mmd_tools.import_model', text='Model')
r.operator('mmd_tools.import_vmd', text='Motion')

col = layout.column(align=True)
Expand Down Expand Up @@ -282,8 +282,8 @@ def draw(self, context):
c.operator('mmd_tools.set_frame_range', text='Set frame range')

def menu_func_import(self, context):
self.layout.operator(ImportPmx_Op.bl_idname, text="MikuMikuDance model (.pmx)")
self.layout.operator(ImportVmd_Op.bl_idname, text="MikuMikuDance motion (.vmd)")
self.layout.operator(ImportPmx_Op.bl_idname, text="MikuMikuDance Model (.pmd, .pmx)")
self.layout.operator(ImportVmd_Op.bl_idname, text="MikuMikuDance Motion (.vmd)")


def register():
Expand Down

0 comments on commit d23e730

Please sign in to comment.