Hi Everyone,
I am trying to save a simple polyhedron, an icosahedron(center=(0,4,0)) as an STL file. I tried using
g= icosahedron(center=(0,4,0))
g.show()
g.save('icosahedron.stl')
but I get the following error message:
Error in lines 1-1
Traceback (most recent call last):
File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 904, in execute
exec compile(block+'\n', '', 'single') in namespace, locals
File "", line 1, in <module>
File "sage/plot/plot3d/base.pyx", line 1530, in sage.plot.plot3d.base.Graphics3d.save (/projects/sage/sage-6.10/src/build/cythonized/sage/plot/plot3d/base.c:17931)
outfile.write(self.stl_ascii_string())
File "sage/plot/plot3d/base.pyx", line 1591, in sage.plot.plot3d.base.Graphics3d.stl_ascii_string (/projects /sage/sage-6.10/src/build/cythonized/sage/plot/plot3d/base.c:18510)
faces = self.face_list()
AttributeError: 'TransformGroup' object has no attribute 'face_list'
I also taugh of converting the '.wrl' extension to '.stl' but I am still having some problems with that. Can someone please help me to solve this problem? I will also appreciate if another approach to saving the file could be proposed.
Thank you for your help