tin2stl

Crates.iotin2stl
lib.rstin2stl
version1.0.0
sourcesrc
created_at2023-10-06 09:37:59.227821
updated_at2023-10-06 09:37:59.227821
descriptionConverts tin files to stl files
homepage
repositoryhttps://github.com/usagi/tin2stl
max_upload_size
id994957
size6,168
Usagi Ito (usagi)

documentation

https://docs.rs/tin2stl

README

tin2stl

Convert TIN file to STL file.

Install

cargo install tin2stl

Usage

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.

Format of TIN file

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

License

MIT

Author

Usagi Ito/USAGI.NETWORK

Commit count: 6

cargo fmt