3d printing slicer

3D artist aklee237 at gmail.com
Thu Jan 29 18:38:21 CET 2015


Hi everyone

I'm trying to run Nick Parker's 3d printing slicer.

https://github.com/nick-parker/python3Dplay/tree/master/Shift%20Method

I am using WinPython 2.7.9.1 to import scipy

https://winpython.github.io/

I get these errors when running main.py

Traceback (most recent call last):
  File "C:\Users\z003EE9Y\Desktop\WinPython-32bit-2.7.9.2\slicer\main.py", line 10, in <module>
    test = stl_importer.stl_import("model.stl")
  File "C:\Users\z003EE9Y\Desktop\WinPython-32bit-2.7.9.2\slicer\stl_importer.py", line 44, in stl_import
    output=mesh.mesh(currentTris)
  File "C:\Users\z003EE9Y\Desktop\WinPython-32bit-2.7.9.2\slicer\mesh.py", line 18, in __init__
    self.updateLims()
  File "C:\Users\z003EE9Y\Desktop\WinPython-32bit-2.7.9.2\slicer\mesh.py", line 28, in updateLims
    self.region[0][0]=[[max(Xs),max(Ys),max(Zs)],[min(Xs),min(Ys),min(Zs)]]
ValueError: setting an array element with a sequence.
>>> 

Error 1 test = stl_importer.stl_import("model.stl")

Error 2 output=mesh.mesh(currentTris)

Error 3    self.updateLims()

Error 4         self.region[0][0]=[[max(Xs),max(Ys),max(Zs)],[min(Xs),min(Ys),min(Zs)]]

Thanks in advance



More information about the Python-list mailing list