diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-08-09 20:23:13 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-08-09 20:24:13 +0300 |
commit | 99576a8478e1ea90bb112e1fd2ff6aa851c05bdc (patch) | |
tree | 0e3a8c99c410359e3faf90c5bc32e81bc0ac1a00 /io_mesh_stl | |
parent | fd5afdfe2f67769886eaf50672baca14f3aebf5c (diff) |
Cleanup: fix typos in blender addons
Contributed by luzpaz.
Differential Revision: https://developer.blender.org/D15646
Diffstat (limited to 'io_mesh_stl')
-rw-r--r-- | io_mesh_stl/blender_utils.py | 2 | ||||
-rw-r--r-- | io_mesh_stl/stl_utils.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/io_mesh_stl/blender_utils.py b/io_mesh_stl/blender_utils.py index fdf353df..5c84152e 100644 --- a/io_mesh_stl/blender_utils.py +++ b/io_mesh_stl/blender_utils.py @@ -48,7 +48,7 @@ def faces_from_mesh(ob, global_matrix, use_mesh_modifiers=False): """ From an object, return a generator over a list of faces. - Each faces is a list of his vertexes. Each vertex is a tuple of + Each faces is a list of his vertices. Each vertex is a tuple of his coordinate. use_mesh_modifiers diff --git a/io_mesh_stl/stl_utils.py b/io_mesh_stl/stl_utils.py index 465806ab..e041c527 100644 --- a/io_mesh_stl/stl_utils.py +++ b/io_mesh_stl/stl_utils.py @@ -168,7 +168,7 @@ def _binary_write(filepath, faces): for face in faces: # calculate face normal - # write normal + vertexes + pad as attributes + # write normal + vertices + pad as attributes fw(struct.pack('<3f', *normal(*face)) + pack(*itertools.chain.from_iterable(face))) # attribute byte count (unused) fw(b'\0\0') |