table of contents
STL_CONVEX(1) | User Commands | STL_CONVEX(1) |
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.
December 2017 | stl_convex v1.1 |