From 4d9233de6d1e6b1e800af1d5c3716fc8bb63ca4c Mon Sep 17 00:00:00 2001 From: daid Date: Thu, 12 Jul 2012 11:18:20 +0200 Subject: [PATCH] Fix for http://www.thingiverse.com/thing:19295 stl --- Cura/util/stl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cura/util/stl.py b/Cura/util/stl.py index 9642ff2e..f157ce31 100644 --- a/Cura/util/stl.py +++ b/Cura/util/stl.py @@ -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) -- 2.30.2