Fix for http://www.thingiverse.com/thing:19295 stl
This commit is contained in:
1 parent
4be7a0b3c2
commit
4d9233de6d
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user