From d58758ae22a342d44b302931f54793215020d92d Mon Sep 17 00:00:00 2001 From: Campbell Barton <ideasman42@gmail.com> Date: Thu, 27 Oct 2011 07:05:44 +0000 Subject: [PATCH] fix [#29040] ASCII-STL-Export (write expects float) --- io_mesh_stl/stl_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io_mesh_stl/stl_utils.py b/io_mesh_stl/stl_utils.py index 282409abb..7aae06452 100644 --- a/io_mesh_stl/stl_utils.py +++ b/io_mesh_stl/stl_utils.py @@ -186,7 +186,7 @@ def _ascii_write(filename, faces): for face in faces: data.write('''facet normal 0 0 0\nouter loop\n''') for vert in face: - data.write('vertex %f %f %f\n' % vert) + data.write('vertex %f %f %f\n' % vert[:]) data.write('endloop\nendfacet\n') data.write('endsolid Exported from blender\n') -- GitLab