擅长:python、mysql、java
<p>有一个很酷的库叫做trimesh:</p>
<p><a href="https://github.com/mikedh/trimesh" rel="nofollow noreferrer">https://github.com/mikedh/trimesh</a></p>
<pre><code>import trimesh
# load mesh
mesh = trimesh.load_mesh('path_to_mesh.obj')
print(mesh.vertices.shape)
print(mesh.faces.shape)
</code></pre>