Skip to content

Commit

Permalink
Fix ASCII STL write.
Browse files Browse the repository at this point in the history
  • Loading branch information
Garth Minette committed Mar 15, 2021
1 parent f1040cb commit 9f60064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stl_normalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ def read_file(self, filename):
break

def _write_ascii_file(self, filename):
with open(filename, 'wb') as f:
with open(filename, 'w') as f:
f.write("solid Model\n")
for facet in self.facets.sorted():
f.write(
Expand Down

0 comments on commit 9f60064

Please sign in to comment.