1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 10:02:08 +02:00
tldr/pages/common/stl2gts.md
2021-05-21 11:13:10 +02:00

24 lines
679 B
Markdown

# stl2gts
> Convert STL files into the GTS (GNU triangulated surface library) file format.
> More information: <https://manned.org/stl2gts>.
- Convert an STL file to a GTS file:
`stl2gts < {{path/to/file.stl}} > {{path/to/file.gts}}`
- Convert an STL file to a GTS file and revert face normals:
`stl2gts --revert < {{path/to/file.stl}} > {{path/to/file.gts}}`
- Convert an STL file to a GTS file and do not merge vertices:
`stl2gts --nomerge < {{path/to/file.stl}} > {{path/to/file.gts}}`
- Convert an STL file to a GTS file and display surface statistics:
`stl2gts --verbose < {{path/to/file.stl}} > {{path/to/file.gts}}`
- Print help for `stl2gts`:
`stl2gts --help`