{"author_url":"https://blog.hatena.ne.jp/katsumi3/","blog_url":"https://katsumi3.hatenablog.com/","version":"1.0","published":"2020-01-10 23:39:24","width":"100%","title":"Blender python \u6307\u5b9a\u3057\u305f\u30d9\u30af\u30c8\u30eb\u306e\u65b9\u5411\u306b\u9802\u70b9\u3092\u79fb\u52d5","author_name":"katsumi3","description":"\u6307\u5b9a\u3057\u305f\u30d9\u30af\u30c8\u30eb\uff08\u3053\u3053\u3067\u306f\u30ce\u30fc\u30de\u30eb\uff09\u306e\u65b9\u5411\u306b\u9802\u70b9\u3092\u79fb\u52d5\u3059\u308b\u3002 new_loc\u306e\u3068\u3053\u308d\u307e\u3067\u306f\u9802\u70b9\u306e\u5024\u306f\u30b0\u30ed\u30fc\u30d0\u30eb\u5ea7\u6a19\u306a\u306e\u3067\u3001\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u30ef\u30fc\u30eb\u30c9\u3092\u9006\u3055\uff08invert\uff09\u3055\u305b\u305f\u3082\u306e\u3092\u639b\u3051\u3066\u30ed\u30fc\u30ab\u30eb\u5ea7\u6a19\u306b\u76f4\u3057\u3066\u3044\u308b obj=bpy.data.objects['\u7acb\u65b9\u4f53.003'] mw=obj.matrix_world norm=obj.data.polygons[2].normal @ mw p1 = mw@obj.data.vertices[6].co new_loc = p1 + 4 * norm inv = mw.copy() inv.invert() obj.data.vertices[6].\u2026","provider_url":"https://hatena.blog","image_url":null,"height":"190","blog_title":"\u30a2\u30b9\u30c8\u30e9\u30eb\u30d7\u30ea\u30ba\u30e0","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkatsumi3.hatenablog.com%2Fentry%2F2020%2F01%2F10%2F233924\" title=\"Blender python \u6307\u5b9a\u3057\u305f\u30d9\u30af\u30c8\u30eb\u306e\u65b9\u5411\u306b\u9802\u70b9\u3092\u79fb\u52d5 - \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>","categories":["blender","blender-bpy"],"url":"https://katsumi3.hatenablog.com/entry/2020/01/10/233924","provider_name":"Hatena Blog"}