---
name: "stl_cylinder"
section: "1"
platform: "linux"
package: "stlcmd"
version: "1.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/stl_cylinder"
---

# stl\_cylinder(1)

stl\_cylinder outputs an STL file of a single cylinder.

## NAME

stl\_cylinder - stl\_cylinder outputs an STL file of a single cylinder.

## DESCRIPTION

stl\_cylinder outputs an STL file of a single cylinder.

usage: stl\_cylinder \[ **-r** \<radius\> \] \[ **-h** \<height\> \] \[ **-s** \<segments\> \] \[ \<output file\> \]

-

  Outputs an stl file of a cylinder with the provided radius, height and number of segments to approximate a circle. If the radius or height are omitted, they default to 1. If segments is omitted, it defaults to 32. If no output file is provided, data is sent to stdout.
