{"published":"2020-01-29 01:59:44","author_name":"katsumi3","author_url":"https://blog.hatena.ne.jp/katsumi3/","height":"190","type":"rich","blog_title":"\u30a2\u30b9\u30c8\u30e9\u30eb\u30d7\u30ea\u30ba\u30e0","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkatsumi3.hatenablog.com%2Fentry%2F2020%2F01%2F29%2F015944\" title=\"blender python for\u306e\u6700\u5f8c\u306b\u30bc\u30ed\u756a\u76ee\u306e\u5024\u3092\u4f7f\u3044\u305f\u3044 - \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>","blog_url":"https://katsumi3.hatenablog.com/","image_url":null,"version":"1.0","url":"https://katsumi3.hatenablog.com/entry/2020/01/29/015944","categories":["blender","blender-bpy","python"],"provider_url":"https://hatena.blog","width":"100%","title":"blender python for\u306e\u6700\u5f8c\u306b\u30bc\u30ed\u756a\u76ee\u306e\u5024\u3092\u4f7f\u3044\u305f\u3044","description":"\u8f2a\u306b\u306a\u3063\u3066\u308b\u30e1\u30c3\u30b7\u30e5\u3067\u4eca\u306e\u9802\u70b9\u5ea7\u6a19\u3092\u96a3\u306e\u9802\u70b9\u5ea7\u6a19\u306b\u8db3\u3057\u3066\u30fb\u30fb\u30fb\u6700\u5f8c\u306e\u9802\u70b9\u3068\u4e00\u756a\u6700\u521d\u306e\u9802\u70b9\u5ea7\u6a19\u306b\u8db3\u3059\u3068\u3044\u3046\u306e\u3092\u3057\u305f\u3044\u6642\u7528\u3002 \u3053\u308c\u306f\u3057\u3063\u304b\u308a\u30e1\u30e2\u3068\u308a\u305f\u3044\u30fb\u30fb\u30fb\u3002\u3068\u3044\u3046\u3088\u3046\u306afor\u6587\u3092\u66f8\u304f\u306b\u306f import bpy , bmesh obj=bpy.context.object bpy.ops.object.mode_set(mode='EDIT') bm = bmesh.from_edit_mesh(obj.data) loops = bm.faces[0].loops a=[] #\u4e00\u500b\u305a\u3089\u3057\u305f\u914d\u5217\u3092\u7528\u610f\u3059\u308b\u5834\u5408 for xv ,yv in zip(loops,loops[1:]+loops[0:1\u2026"}