HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

stl2gts — Convert STL files into the GTS (GNU triangulated surface library) file format. More information: <ht

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thestl2gtsstlcommandfilesconvertcliinto

Problem

How to use the stl2gts command: Convert STL files into the GTS (GNU triangulated surface library) file format. More information: <https://manned.org/stl2gts>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/stl2gts

Revisions (0)

No revisions yet.