Re: pystl

2016-08-17 Thread Peter Otten
Poul Riis wrote: > I tried the following: > > from pystl import PySTL > with PySTL('stl_test.stl') as stl: > stl.add_triangle((0,0,0),(1,0,0),(0,1,0)) > > I got the following error message: > > Traceback (most recent call last): > File > "C:/

Re: pystl

2016-08-17 Thread Steven D'Aprano
On Wednesday 17 August 2016 18:56, Poul Riis wrote: > I tried the following: > > from pystl import PySTL > with PySTL('stl_test.stl') as stl: > stl.add_triangle((0,0,0),(1,0,0),(0,1,0)) > > I got the following error message: Ah, bad news I am afraid. That looks li

Re: pystl

2016-08-17 Thread Poul Riis
I tried the following: from pystl import PySTL with PySTL('stl_test.stl') as stl: stl.add_triangle((0,0,0),(1,0,0),(0,1,0)) I got the following error message: Traceback (most recent call last): File "C:/Users/pr/AppData/Local/Programs/Python/Python35-32/Lib/idlelib/pystl_module_test

Re: pystl

2016-08-17 Thread Steven D'Aprano
On Wednesday 17 August 2016 16:36, Poul Riis wrote: > 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.ad

pystl

2016-08-17 Thread Poul Riis
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