{"version":"1.0","author_url":"https://blog.hatena.ne.jp/katsumi3/","blog_title":"\u30a2\u30b9\u30c8\u30e9\u30eb\u30d7\u30ea\u30ba\u30e0","published":"2020-01-11 00:07:29","provider_url":"https://hatena.blog","width":"100%","type":"rich","height":"190","description":"\u30e1\u30e2\u30e1\u30e2\u30fb\u30fb\u30fb obj = bpy.context.object msh = bpy.data.meshes[obj.data.name] #\u9762\u306b\u542b\u307e\u308c\u308b\u9802\u70b9\u306eid\u3092\u307e\u3068\u3081\u3066\u51fa\u529b msh.polygons[0].vertices[0:] #\u30eb\u30fc\u30d7\u3067id\u3092\u4f7f\u3044\u305f\u3044\u6642 p = msh.polygons[0] for i , id in enumerate(p.vertices): ... print(id) ... 0 4 6 2 #\u9078\u629e(\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30e2\u30fc\u30c9\u3067\u30b3\u30de\u30f3\u30c9\u4f7f\u7528\u5f8c\u7de8\u96c6\u30e2\u30fc\u30c9\u3078\u79fb\u52d5\u3059\u308b\uff09 #\uff08\u3069\u306e\u9802\u70b9\u304b\u8abf\u3079\u3084\u3059\u304f\u3066\u3044\u3044\uff09 msh.vertices[0].select=True","categories":["blender","blender-bpy"],"author_name":"katsumi3","blog_url":"https://katsumi3.hatenablog.com/","url":"https://katsumi3.hatenablog.com/entry/2020/01/11/000729","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkatsumi3.hatenablog.com%2Fentry%2F2020%2F01%2F11%2F000729\" title=\"Blender python\u3000mesh \u306b\u3064\u3044\u3066 - \u30a2\u30b9\u30c8\u30e9\u30eb\u30d7\u30ea\u30ba\u30e0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","title":"Blender python\u3000mesh \u306b\u3064\u3044\u3066","image_url":null}