{"id":314,"date":"2016-10-22T14:35:17","date_gmt":"2016-10-22T05:35:17","guid":{"rendered":"https:\/\/cg-method.com\/entry\/2016\/10\/22\/143517"},"modified":"2016-10-22T14:35:17","modified_gmt":"2016-10-22T05:35:17","slug":"maya-pmx-import","status":"publish","type":"post","link":"https:\/\/cg-method.com\/3dcg\/maya-pmx-import\/","title":{"rendered":"\u3010Maya\u3011MMD\u30e2\u30c7\u30eb\uff08PMX\uff09\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>MMD\u30e2\u30c7\u30eb\u3092\u898b\u3066\u307f\u305f\u304b\u3063\u305f\u306e\u3067\u3001PmxIO for Maya\u3068\u3044\u3046Python\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h2>\u6700\u65b0\u7248<\/h2>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u66f4\u65b0\u3055\u308c\u3066\u3001maya2017\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u4e0b\u8a18\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3002\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a9\u30eb\u30c0\u306b\u683c\u7d0d<\/p>\n<p><a href=\"http:\/\/trtools.jp\/maya\/mayascript-download\/pmxio-for-maya\/\">PmxIO for Maya ver0.50b \u2013 TrTools.JP<\/a><\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">\nimport pmxio\npmxio.run()\n<\/pre>\n<p>\u3067\u8d77\u52d5\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<h2>\u904e\u53bb\u306e\u8a18\u4e8b<\/h2>\n<p>\u307e\u305a\u30c7\u30fc\u30bf\u3092\u5165\u624b\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3053\u3061\u3089\u306e\u30c7\u30fc\u30bf\uff08PMX\uff09<\/p>\n<p><a href=\"https:\/\/www.jp.square-enix.com\/game\/detail\/b2nd\/\">\u30a2\u30cb\u30a8\u30b9\u306e\u30cf\u30a4\u30af\u30aa\u30ea\u30c6\u30a3MMD\u30e2\u30c7\u30eb\u7121\u6599\u914d\u5e03\uff01\uff5c\u30d6\u30ec\u30a4\u30d6\u30ea\u30fc\u30bb\u30ab\u30f3\u30c9\uff5cSQUARE ENIX<\/a><\/p>\n<p>\u203bPMX\u3068\u306f\u3001MikuMikuDance\u306e\u6b21\u4e16\u4ee3\u30e2\u30c7\u30eb\u30c7\u30fc\u30bf\u306e\u62e1\u5f35\u5b50\u3002\u4ee5\u524d\u306e\u898f\u683c\u306fPMD<\/p>\n<p>\u203b\u3061\u306a\u307f\u306b\u30e2\u30fc\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u306f\u307e\u3060\u5225\u3067VMD\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb<\/p>\n<h3>Python\u30b9\u30af\u30ea\u30d7\u30c8<\/h3>\n<p>\u3053\u3061\u3089\u304b\u3089\u5165\u624b\u3002<\/p>\n<p>http:\/\/mayatech.blog.jp\/archives\/3009881.html<\/p>\n<p>\u203b\u305f\u3060\u3057\u66f4\u65b0\u3055\u308c\u3066\u3044\u306a\u3044\u3088\u3046\u3067<strong>Maya\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c2015\u4ee5\u964d\u306f\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u4f7f\u3048\u307e\u305b\u3093<\/strong><\/p>\n<p>\u203b 2014\u4ee5\u524d\u306a\u3089\u901a\u5e38\u3069\u304a\u308a\u4f7f\u3048\u307e\u3059<\/p>\n<p><code># Error: AttributeError: file C:\/Users\/\u30e6\u30fc\u30b6\u30fc\u540d\/Documents\/maya\/2017-x64\/scripts\\TrM_PMXIO.py line 1666: 'CheckBox' object has no attribute 'onCommand' #<\/code><\/p>\n<p>\u203b\u3000\u3068\u308a\u3042\u3048\u305aMaya\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c2015\u4ee5\u964d\u3067\u4f7f\u3044\u305f\u3044\u5834\u5408\u306f\u30011666\u884c\u76ee\u3092\u300c#\u300d\u3067\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3059\u308c\u3070\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><code>#self.chkBoxUseAlpha.onCommand(self._chkBoxUseAlpha_OnCommand)<\/code><\/p>\n<h2>\u3084\u308a\u65b9<\/h2>\n<p>\u2460 \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a9\u30eb\u30c0\u306b\u5165\u308c\u308b<\/p>\n<p>C:\\Users\\\u30e6\u30fc\u30b6\u30fc\u540d\\Documents\\maya\\2017-x64\\scripts<\/p>\n<p>\u2461 \u540c\u3058\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a9\u30eb\u30c0\u306b\u3001userSetup.py\u3068\u3044\u3046\u540d\u524d\u306e\u30c7\u30fc\u30bf\u3092\u30e1\u30e2\u5e33\u3067\u4f5c\u6210\u3002<\/p>\n<p>\u4e2d\u8eab\u306f<code>import TrM_PMXIO<\/code>\u3068\u8a18\u8ff0<\/p>\n<p>\u2462 Maya\u3092\u8d77\u52d5\u3057\u3066\u3001\u5de6\u4e0b\u306eMEL\u306e\u30c6\u30ad\u30b9\u30c8\u90e8\u5206\u3092Ctrl+\u30af\u30ea\u30c3\u30af\u3002<\/p>\n<p>\u2463 Python\u306b\u8868\u793a\u304c\u5207\u308a\u66ff\u308f\u3063\u305f\u3089<code>TrM_PMXIO.startup()<\/code>\u3068\u5165\u529b\u3057\u3066Enter<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/3dcg\/wp-content\/uploads\/2016\/10\/20161022144212.jpg\" alt=\"\" width=\"212\" height=\"96\" class=\"alignnone size-full wp-image-9057\" \/><\/p>\n<p>\u2464 \u5c02\u7528\u306e\u30a6\u30a4\u30f3\u30c9\u30a6\u306f\u8d77\u52d5\u3059\u308b\u306e\u3067\u3001\u3042\u3068\u306fPMX\u3092\u9078\u3079\u3070\u81ea\u52d5\u3067\u30a4\u30f3\u30dd\u30fc\u30c8\u3055\u308c\u307e\u3059<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/3dcg\/wp-content\/uploads\/2016\/10\/20161022143103.jpg\" alt=\"\" width=\"1024\" height=\"728\" class=\"alignnone size-full wp-image-9056\" srcset=\"https:\/\/cg-method.com\/3dcg\/wp-content\/uploads\/2016\/10\/20161022143103.jpg 1024w, https:\/\/cg-method.com\/3dcg\/wp-content\/uploads\/2016\/10\/20161022143103-300x213.jpg 300w, https:\/\/cg-method.com\/3dcg\/wp-content\/uploads\/2016\/10\/20161022143103-768x546.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MMD\u30e2\u30c7\u30eb\u3092\u898b\u3066\u307f\u305f\u304b\u3063\u305f\u306e\u3067\u3001PmxIO for Maya\u3068\u3044\u3046Python\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u6700\u65b0\u7248 \u30b9\u30af\u30ea\u30d7\u30c8\u66f4\u65b0\u3055\u308c\u3066\u3001maya2017\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3057\u305f\u3002 \u4e0b\u8a18\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30c0\u30a6\u30f3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":315,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[22],"tags":[],"class_list":["post-314","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-maya"],"_links":{"self":[{"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/posts\/314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/comments?post=314"}],"version-history":[{"count":0,"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/posts\/314\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/media\/315"}],"wp:attachment":[{"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/media?parent=314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/categories?post=314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cg-method.com\/3dcg\/wp-json\/wp\/v2\/tags?post=314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}