import numpy as np
import open3d
from vispy import io
import numpy as np
import os
import mayavi.mlab
mesh=[[[0]*3]*10000]*14
FDI=[17,16,15,14,13,12,11,21,22,23,24,25,26,27];
for i in range(14):
mesh[i]=open3d.io.read_triangle_mesh(‘C:/Users/lixiaohu/Desktop/auto切牙数据/1234567/150451-0/tooth_0_’+str(FDI[i])+’.obj’)
mesh1= open3d.io.read_triangle_mesh(‘C:/Users/lixiaohu/Desktop/101028/101028_l/TOOTH_0.obj’)
输出结果是
mesh
Out[30]:
[TriangleMesh with 33273 points and 11091 triangles.,
TriangleMesh with 35046 points and 11682 triangles.,
TriangleMesh with 23904 points and 7968 triangles.,
TriangleMesh with 23352 points and 7784 triangles.,
TriangleMesh with 17178 points and 5726 triangles.,
TriangleMesh with 9873 points and 3291 triangles.,
TriangleMesh with 13950 points and 4650 triangles.,
TriangleMesh with 24048 points and 8016 triangles.,
TriangleMesh with 17145 points and 5715 triangles.,
TriangleMesh with 21525 points and 7175 triangles.,
TriangleMesh with 24969 points and 8323 triangles.,
TriangleMesh with 22365 points and 7455 triangles.,
TriangleMesh with 37440 points and 12480 triangles.,
TriangleMesh with 37638 points and 12546 triangles.]