stl_convex(1)

stl_convex prints whether an STL file is a convex polyhedron.

Section 1 stlcmd bookworm source

Description

STL_CONVEX

NAME

stl_convex - stl_convex prints whether an STL file is a convex polyhedron.

DESCRIPTION

stl_convex prints whether an STL file is a convex polyhedron.

usage: stl_convex [ -v ] [ <input file> ]

Prints whether the input file is a convex polyhedron. If no input file is specified, data is read from stdin. If -v is specified, prints out the Euler characteristic in addition to whether the mesh is convex.

The Euler characteristic of a polyhedral surface is defined as V - E + F, where V is the number of vertices, E is the number of edges, and F is the number of faces. All convex polyhedra will have an Euler characteristic of 2.