Files
cheatsheet-tldr/tldr/stl2gts
2025-10-10 00:19:31 +00:00

30 lines
760 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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 < {{path/to/file.stl}} --revert > {{path/to/file.gts}}`
- Convert an STL file to a GTS file and do not merge vertices:
`stl2gts < {{path/to/file.stl}} --nomerge > {{path/to/file.gts}}`
- Convert an STL file to a GTS file and display surface statistics:
`stl2gts < {{path/to/file.stl}} --verbose > {{path/to/file.gts}}`
- Display help:
`stl2gts --help`