wolph / numpy-stl

Simple library to make working with STL files (and 3D objects in general) fast and easy.
http://numpy-stl.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
605 stars 103 forks source link

stl2ascii raises a TypeError: File handles should be in binary mode - even when writing an ASCII STL. #199

Closed nilswagner closed 1 year ago

nilswagner commented 1 year ago

A.stl.gz

wolph commented 1 year ago

I'm going to need a little bit more information :)

  1. Can you show the code you were using when you got this error?
  2. What Python version are you running? (python --version)
  3. Which version of numpy-stl are you using? python -c 'from stl.__about__ import __version__;print(__version__) or use pip freeze