问题 Edit: I have written a more succinct version of this question here but I am keeping this post because it is a full explanation. Given a 3D numpy array, marching cubes can form a 3D object around some threshold. import numpy as np from skimage import measure A = np.zeros((12,12,12)) #A[A<1] = -1 for i in np.arange(1,2): for j in np.arange(1,2): for k in np.arange(1,2): A[i,j,k] = 10 for i in np.arange(8,9): for j in np.arange(8,9): for k in np.arange(8,9): A[i,j,k] = 10 verts, faces, normals,