DOKK / manpages / debian 12 / stlcmd / stl_torus.1.en
STL_TORUS(1) User Commands STL_TORUS(1)

stl_torus - stl_torus outputs an STL file of a single torus.

stl_torus outputs an STL file of a single torus.

usage: stl_torus [ -o <outer radius> ] [ -i <inner radius> ] [ -s <segments> ] [ -c <cross sectional segments> ] [ <output file> ]

Outputs an stl file of a torus with the provided outer radius, inner radius and number of segments. If the inner radius is omitted, it defaults to .5. If the outer radius is omitted, it defaults to 1. If segments is omitted, it defaults to 32. If cross sectional segments is omitted, it defaults to half the segments. If no output file is provided, data is sent to stdout.
December 2017 stl_torus v1.1