UNPKG

stl-exporter

Version:

Convert face-vertex, or polygon meshes to ascii and binary STLs

52 lines (40 loc) 336 B
name: tetrahedron vertexCoordinates: - 0 - 0 - 0 - 1 - 0 - 0 - 0 - 1 - 0 - 0 - 0 - 1 faceVertexIndices: - 1 - 2 - 3 - 0 - 1 - 3 - 0 - 3 - 2 - 0 - 2 - 1 faceNormalCoordinates: - 0.57735027 - 0.57735027 - 0.57735027 - 0 - -1 - 0 - -1 - 0 - 0 - 0 - 0 - -1