chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4be7a0b
)
Fix for http://www.thingiverse.com/thing:19295 stl
author
daid
<daid303@gmail.com>
Thu, 12 Jul 2012 09:18:20 +0000
(11:18 +0200)
committer
daid
<daid303@gmail.com>
Thu, 12 Jul 2012 09:18:20 +0000
(11:18 +0200)
Cura/util/stl.py
patch
|
blob
|
history
diff --git
a/Cura/util/stl.py
b/Cura/util/stl.py
index 9642ff2e8ee43dc32226646195171ba02c1c1eae..f157ce3197097d3a1b4416a4ed1eba0879934489 100644
(file)
--- 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)