﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
452	STL bundle fails to correctly read written STL file	Greg Couch	Tom Goddard	"The STL bundle generates bad triangles when reading STL files ChimeraX has written.  Meshlab has no problem reading them.

In bundles/stl/stl.py, if you comment out the line ""from ._stl import stl_unpack"" and use the Python version, then the file is read correctly.  But numpy gives a deprecation warning:
{{{
stl.py:97: VisibleDeprecationWarning: converting an array with ndim > 0 to an index will result in an error in the future
  geom = input.read(tc*50)	# 12 floats per triangle, plus 2 bytes padding.
}}}

So the bug appears to be in stl/_stl/stl.cpp.  The testdata/two.stl file doesn't not exhibit this bug.  So I've a attached a file that was generated from the surface of 1a0m."	defect	closed	blocker		Input/Output		fixed						all	ChimeraX
