LinuxCommandLibrary

gts2stl

TLDR

Convert GTS to STL

$ gts2stl < [input.gts] > [output.stl]
copy
Convert with verbose output
$ gts2stl -v < [input.gts] > [output.stl]
copy

SYNOPSIS

gts2stl [options] < input.gts > output.stl

DESCRIPTION

gts2stl converts GTS (GNU Triangulated Surface) files to STL (STereoLithography) format. GTS is a library for 3D surface mesh operations, and this tool exports meshes to the widely-used STL format.
STL files are commonly used for 3D printing and CAD applications. The conversion preserves the triangular mesh structure.

PARAMETERS

-v, --verbose

Verbose output.
-h, --help
Display help.

GTS FORMAT

GTS files contain:
- Vertex count, edge count, face count
- Vertex coordinates
- Edge definitions (vertex pairs)
- Face definitions (edge triplets)

CAVEATS

Reads from stdin, writes to stdout. Large meshes may take time. GTS format is less common than STL. Part of GTS library package.

HISTORY

gts2stl is part of the GTS Library (GNU Triangulated Surface), developed for computational geometry operations. The library provides tools for surface mesh manipulation, boolean operations, and format conversion.

SEE ALSO

stl2gts(1), meshlab(1), openscad(1)

Copied to clipboard