Scroll to navigation

STL_CYLINDERS(1) User Commands STL_CYLINDERS(1)

NAME

stl_cylinders - stl_cylinders outputs an STL file with multiple cylinders defined by a custom binary input file.

DESCRIPTION

stl_cylinders outputs an STL file with multiple cylinders defined by a custom binary input file.

usage: stl_cylinders [ -r <radius> ] [ -s <segments> ] <input file> <output file>

Outputs an stl file made up of N cylinders defined by start and end points in the input file each with the specified radius and number of segments provided on the command line. The first 4 bytes of the input file represent how many cylinders to generate, N. The rest of the input file defines start and end points that define a line segment of the the central axis of the cylinder. Each segment is defined by 6, 4 byte floats. The first three are the X,Y,Z values of the start point and the second three are the X,Y,Z values of the end point. If the radius is omitted, it defaults to 1. If segments is omitted, it defaults to 32.
June 2025 stl_cylinders v1.2