mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
760 B
Plaintext
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`
|