summaryrefslogtreecommitdiff
path: root/stl.py
diff options
context:
space:
mode:
Diffstat (limited to 'stl.py')
-rw-r--r--stl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/stl.py b/stl.py
index 9bd3a38..f88c3fa 100644
--- a/stl.py
+++ b/stl.py
@@ -60,7 +60,7 @@ def mesh_from_binary_stl(filename):
ntriangles = struct.unpack('<I', f.read(4))[0]
for i in range(ntriangles):
- f.read(12)
+ normal = tuple(struct.unpack('<fff', f.read(12)))
triangle = [None]*3
for j in range(3):