We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey,
Thank you for your awesome tool. A small bug occurred, when I tried to write a stl file to buffer.
--> [254](https://file+.vscode-resource.vscode-cdn.net/run/media/samuels/Volume/TracOptic%20Progress/UNOTT_CSI/venv310/lib/python3.10/site-packages/meshio/stl/_stl.py:254) a.tofile(fh) UnsupportedOperation: fileno
I would change
meshio/src/meshio/stl/_stl.py
Line 254 in 0138cc8
to
if is_buffer(filename, "wb"): fh.write(a.tobytes()) else: a.tofile(fh)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey,
Thank you for your awesome tool.
A small bug occurred, when I tried to write a stl file to buffer.
I would change
meshio/src/meshio/stl/_stl.py
Line 254 in 0138cc8
to
The text was updated successfully, but these errors were encountered: