Skip to main content

Simple Python package to write STL files for 3D printing.

Project description

PySTL - a simple package to write STL files

The easiest way to use this is with the context manager. Open the file, write triangles, and exit the context block:

with PySTL(‘stl_test.stl’) as stl:

stl.add_triangle( (0.0, 0.0, 0.5), (0.0, 1.0, 0.0), (1.0, 1.0, 0.5) )

For debugging you can use text-based STL files (by passing in False for the bin parameter).

Len Wanger last updated: 07-7-2016

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pystl-0.0.1.zip (3.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page