{"height":"190","provider_name":"Hatena Blog","width":"100%","description":"\u5b9f\u969b\u306e\u3068\u3053\u308d import numpy as np from stl import mesh ## \u57fa\u6e96\u3068\u306a\u308b\u9802\u70b9\u3092\u8a2d\u5b9a vertices = np.array([\\ [-2, -1, +1], [-1, -1, +1], [ 0, -1, +1], [+1, -1, +1], [+2, -1, +1], [ 0, 0, +1]]) ## \u9802\u70b9\u3092\u4e09\u70b9\u6307\u5b9a\u3057\u3066\u4e09\u89d2\u5f62\u3092\u3064\u304f\u308b faces = np.array([\\ [0,1,5], [3,4,5]]) # \u30dd\u30ea\u30b4\u30f3\u3092\u751f\u6210 cube = mesh.Mesh(np.zeros(faces.shape[0], dtype=mesh.Mesh.dtype\u2026","author_name":"shuzo_kino","url":"https://shuzo-kino.hateblo.jp/entry/2022/01/12/234233","title":"numpy-stl\u3067STL\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3059\u308b\u3000\u305d\u306e\uff12\uff1a\u81ea\u5206\u3067\u5e73\u9762\u30dd\u30ea\u30b4\u30f3\u3092\u304b\u304f","version":"1.0","blog_title":"Bye Bye Moore","type":"rich","author_url":"https://blog.hatena.ne.jp/shuzo_kino/","blog_url":"https://shuzo-kino.hateblo.jp/","categories":["python"],"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/s/shuzo_kino/20220112/20220112211028.png","provider_url":"https://hatena.blog","published":"2022-01-12 23:42:33","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2022%2F01%2F12%2F234233\" title=\"numpy-stl\u3067STL\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3059\u308b\u3000\u305d\u306e\uff12\uff1a\u81ea\u5206\u3067\u5e73\u9762\u30dd\u30ea\u30b4\u30f3\u3092\u304b\u304f - Bye Bye Moore\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}