mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-05 18:30:47 +08:00
Fix for http://www.thingiverse.com/thing:19295 stl
This commit is contained in:
parent
4be7a0b3c2
commit
4d9233de6d
@ -9,7 +9,7 @@ class stlModel(mesh.mesh):
|
||||
|
||||
def load(self, filename):
|
||||
f = open(filename, "rb")
|
||||
if f.read(6).lower() == "solid ":
|
||||
if f.read(5).lower() == "solid":
|
||||
self._loadAscii(f)
|
||||
if len(self.faces) < 1:
|
||||
f.seek(6, os.SEEK_SET)
|
||||
|
Loading…
x
Reference in New Issue
Block a user