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

# stl\_cone(1)

stl\_cone outputs an STL file of a single cone.

## NAME

stl\_cone - stl\_cone outputs an STL file of a single cone.

## DESCRIPTION

stl\_cone outputs an STL file of a single cone.

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

-

  Outputs an stl file of a cone with the provided radius, top radius, height and number of segments to approximate a circle. If the radius or height are omitted, they default to 1. The top radius defaults to 0. If top radius is greater than 0, will output a truncated code. If segments is omitted, it defaults to 32. If no output file is provided, data is sent to stdout.
