tetrahedra

How to draw a Tetrahedron mesh by matplotlib?

How to draw a Tetrahedron mesh by matplotlib? Question: I want to plot a tetrahedron mesh by matplotlib, and the following are a simple tetrahedron mesh: xyz = np.array([ [-1,-1,-1], [ 1,-1,-1], [ 1, 1,-1], [-1, 1,-1], [-1,-1, 1], [ 1,-1, 1], [ 1, 1, 1], [-1, 1, 1]], dtype=np.float) tets = np.array([ [0,1,2,6], [0,5,1,6], …

Total answers: 2