UNPKG

stl-exporter

Version:

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

74 lines (73 loc) 853 B
faces: - vertices: - x: 1 y: 0 z: 0 - x: 0 y: 1 z: 0 - x: 0 y: 0 z: 1 normal: x: 0.57735027 y: 0.57735027 z: 0.57735027 - vertices: - x: 0 y: 0 z: 0 - x: 1 y: 0 z: 0 - x: 0 y: 0 z: 1 normal: x: 0 y: -1 z: 0 - vertices: - x: 0 y: 0 z: 0 - x: 0 y: 0 z: 1 - x: 0 y: 1 z: 0 normal: x: -1 y: 0 z: 0 - vertices: - x: 0 y: 0 z: 0 - x: 0 y: 1 z: 0 - x: 1 y: 0 z: 0 normal: x: 0 y: 0 z: -1