Crates.io | tin2stl |
lib.rs | tin2stl |
version | 1.0.0 |
source | src |
created_at | 2023-10-06 09:37:59.227821 |
updated_at | 2023-10-06 09:37:59.227821 |
description | Converts tin files to stl files |
homepage | |
repository | https://github.com/usagi/tin2stl |
max_upload_size | |
id | 994957 |
size | 6,168 |
Convert TIN file to STL file.
cargo install tin2stl
Command line:
tin2stl <source.tin>
Or Drop TIN file to tin2stl.exe in Windows.
Then you will get source.tin.stl
in the same directory.
TIN file format is a simple text file, each line is a triangle, each triangle has 3 points, each point has 3 coordinates.
x1 y1 z1 x2 y2 z2 x3 y3 z3
For example:
0 0 0 1 0 0 0 1 0
0 1 0 1 0 0 0 0 0
MIT