Skip to content

Commit

Permalink
Merge branch 'release/2.17.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
wolph committed May 14, 2022
2 parents b5b328e + 725ff09 commit 55acc4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion stl/__about__.py
@@ -1,6 +1,6 @@
__package_name__ = 'numpy-stl'
__import_name__ = 'stl'
__version__ = '2.17.0'
__version__ = '2.17.1'
__author__ = 'Rick van Hattem'
__author_email__ = 'Wolph@Wol.ph'
__description__ = ' '.join('''
Expand Down
8 changes: 4 additions & 4 deletions stl/stl.py
Expand Up @@ -309,11 +309,11 @@ def p(s, file):

for row in self.data:
vectors = row['vectors']
p('facet normal %f %f %f' % tuple(row['normals']), file=fh)
p('facet normal %r %r %r' % tuple(row['normals']), file=fh)
p(' outer loop', file=fh)
p(' vertex %f %f %f' % tuple(vectors[0]), file=fh)
p(' vertex %f %f %f' % tuple(vectors[1]), file=fh)
p(' vertex %f %f %f' % tuple(vectors[2]), file=fh)
p(' vertex %r %r %r' % tuple(vectors[0]), file=fh)
p(' vertex %r %r %r' % tuple(vectors[1]), file=fh)
p(' vertex %r %r %r' % tuple(vectors[2]), file=fh)
p(' endloop', file=fh)
p('endfacet', file=fh)

Expand Down

0 comments on commit 55acc4c

Please sign in to comment.