Category : mesh

I have the following set of vertices and i would like to create a 3D ply file that have lines and vertices(it would be great to also have faces) vertices = [[ 2.304688 -1.882748 -2.1874995] [-3.007812 1.6 -2.1875005] [-3.007812 -1.882748 -2.1875005] [ 2.304688 -1.882748 -2.1874995] [ 2.304688 1.6 -2.1874995] [-3.007812 1.6 -2.1875005] [-3.007812 -1.882748 -2.1875005] ..

Read more

In the picture is shown the grid before. After regriding it with: x1 = np.linspace(min(x),max(x),len(x)) #where I make the previous x spaced equally with the len(x) = 128 y1 = np.linspace(min(y),max(y),len(y)) XX,YY = np.meshgrid(x1, y1) #MESHING plt.plot(XX,YY) plt.title(‘new grid’) And I get the new grid. As you can see there is a pattern between colored ..

Read more