Files
igl/python/t102DrawMesh.m
T
Daniele Panozzo 3b579b26dc changed name to conform with matlab namings
finally the viewer works perfectly on matlab on mac, still untested on windows
2015-09-16 22:29:21 +02:00

13 lines
239 B
Matlab

% Load a mesh in OFF format
V = py.igl.eigen.MatrixXd();
F = py.igl.eigen.MatrixXi();
py.igl.readOFF('../tutorial/shared/beetle.off', V, F);
V
% Plot the mesh
viewer = py.tcpviewer.TCPViewer()
viewer.data.set_mesh(V, F)
viewer.launch()