Error loading STL file
nicoguaro opened this issue · comments
Nicolás Guarín-Zapata commented
I tried to load an STL chess knight but it throws the following error:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\tkinter\__init__.py", line 1705, in __call__
return self.func(*args)
File "meshviewer.py", line 274, in open
self.model.load_file(file_name)
File "meshviewer.py", line 46, in load_file
self.data.append(mesh)
UnboundLocalError: local variable 'mesh' referenced before assignment
Precise Simulation commented
Nicolás Guarín-Zapata commented
Thanks for your reply. I think that adding that it works only for ASCII files in the README would help.