Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25635] STL export results in error

Date:
2011-01-14 12:01
Priority:
3
State:
Closed
Submitted by:
Andries Koorzen (driesiedriewiel)
Assigned to:
Campbell Barton (campbellbarton)
Category:
None
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
STL export results in error
Detailed description
Hi.

Please find attached an STL file imported successfully into Blender.

When I select the bone, then export to STL, the following error pops up...and the exported STL is rendered non functional

Traceback (most recent call last):
File "C:\PROGRA~1\BLENDE~1\Blender\2.56\scripts\addons\io_mesh_stl\__init__.py", line 115, in execute
stl_utils.write_stl(self.filepath, faces, self.ascii)
File "C:\PROGRA~1\BLENDE~1\Blender\2.56\scripts\addons\io_mesh_stl\stl_utils.py", line 186, in write_stl
(_ascii_write if ascii else _binary_write)(filename, faces)
File "C:\PROGRA~1\BLENDE~1\Blender\2.56\scripts\addons\io_mesh_stl\stl_utils.py", line 149, in _binary_write
for verts in faces:
File "C:\PROGRA~1\BLENDE~1\Blender\2.56\scripts\addons\io_mesh_stl\blender_utils.py", line 52, in <genexpr>
return ([tuple(mesh.vertices[index].co * ob.matrix_world)
File "C:\PROGRA~1\BLENDE~1\Blender\2.56\scripts\addons\io_mesh_stl\blender_utils.py", line 48, in iter_face_index
yield face.vertices[2:] + [face.vertices[0]]
TypeError: can only concatenate tuple (not "list") to tuple

location:<unknown location>:-1

location:<unknown location>:-1

Followup

Message
  • Date: 2011-01-14 20:32
  • Sender: Campbell Barton
  • fixed r1401. of extension svn.
 

Attached Files:

Name Date Download
pelvis cutout.blend 2011-01-14 12:01 Download

Changes:

Field Old Value Date By
status_idOpen2011-01-14 20:32campbellbarton
close_dateNone2011-01-14 20:32campbellbarton
assigned_tonone2011-01-14 20:32campbellbarton
detailsHi. Please find attached an STL file imported successfully into Blender. When I select the bone, then export to STL, the following error pops up...and the exported STL is rendered non functional Traceback (most recent call last): File "C:\\PROGRA~1\\BLENDE~1\\Blender\\2.56\\scripts\\addons\\io_mesh_stl\\__init__.py", line 115, in execute stl_utils.write_stl(self.filepath, faces, self.ascii) File "C:\\PROGRA~1\\BLENDE~1\\Blender\\2.56\\scripts\\addons\\io_mesh_stl\\stl_utils.py", line 186, in write_stl (_ascii_write if ascii else _binary_write)(filename, faces) File "C:\\PROGRA~1\\BLENDE~1\\Blender\\2.56\\scripts\\addons\\io_mesh_stl\\stl_utils.py", line 149, in _binary_write for verts in faces: File "C:\\PROGRA~1\\BLENDE~1\\Blender\\2.56\\scripts\\addons\\io_mesh_stl\\blender_utils.py", line 52, in <genexpr> return ([tuple(mesh.vertices[index].co * ob.matrix_world) File "C:\\PROGRA~1\\BLENDE~1\\Blender\\2.56\\scripts\\addons\\io_mesh_stl\\blender_utils.py", line 48, in iter_face_index yield face.vertices[2:] + [face.vertices[0]] TypeError: can only concatenate tuple (not "list") to tuple location:<unknown location>:-1 location:<unknown location>:-12011-01-14 20:32campbellbarton
StatusNew2011-01-14 20:32campbellbarton
File Added14536: pelvis cutout.blend2011-01-14 12:01driesiedriewiel