pystl

Poul Riis priisdk at gmail.com
Wed Aug 17 02:36:58 EDT 2016


Can someone deliver a minimal, fully working example with the pystl module,
https://pypi.python.org/pypi/pystl/

The only example code mentioned is the following:

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) )


but no matter what 'import'-statement I try I cannot make it work.



I have installed the module and a program containing only the following line

from pystl import PySTL

runs without any error message.


Poul Riis



More information about the Python-list mailing list