New issue
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
Mesh.from_file from BytesIO / SpooledTemporaryFile #146
Comments
Wow... crazy that an issue since 2012 still hasn't been fixed :P In any case, it's easy enough to fix so a new release will be coming soon. The new version is on develop |
Thank you! |
The new release is online :) |
uqs
pushed a commit
to freebsd/freebsd-ports
that referenced
this issue
Oct 12, 2020
fixed #146. worked around numpy bug when reading from BytesIO See wolph/numpy-stl#146 Reported by: portscout git-svn-id: svn+ssh://svn.freebsd.org/ports/head@552148 35697150-7ecd-e111-bb59-0022644237b5
uqs
pushed a commit
to freebsd/freebsd-ports
that referenced
this issue
Oct 12, 2020
fixed #146. worked around numpy bug when reading from BytesIO See wolph/numpy-stl#146 Reported by: portscout
Jehops
pushed a commit
to Jehops/freebsd-ports-legacy
that referenced
this issue
Oct 12, 2020
fixed #146. worked around numpy bug when reading from BytesIO See wolph/numpy-stl#146 Reported by: portscout git-svn-id: svn+ssh://svn.freebsd.org/ports/head@552148 35697150-7ecd-e111-bb59-0022644237b5
hardenedbsd-services
pushed a commit
to HardenedBSD/hardenedbsd-ports
that referenced
this issue
Oct 12, 2020
* freebsd/master: update firefox to 81.0.2 Update to 1.24.0 net-im/telegram-desktop: Respect user font settings graphics/mesa-devel: pin to llvm10 like mesa-dri - Update to 2.11.3 fixed #146. worked around numpy bug when reading from BytesIO See wolph/numpy-stl#146 www/radicale: Redirect logging to syslog since radicale 3 is now logging to stderr per default databases/pg_repack: Update to 1.4.6 devel/ncurses: update to 20201010 snapshot dns/dnscontrol: Update to 3.4.2 devel/intel-graphics-compiler: update to 1.0.5186 devel/py-sysctl: fix build on GCC architectures Add libunwind for aarch64, powerpc64 and powerpc64le. Fix depends Fix COMMENT for default FLAVOR Update to the 20201009 snapshot of GCC 9.3.1.
svmhdvn
pushed a commit
to svmhdvn/freebsd-ports
that referenced
this issue
Jan 10, 2024
fixed #146. worked around numpy bug when reading from BytesIO See wolph/numpy-stl#146 Reported by: portscout
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to use an in memory object like BytesIO to load a numpy-stl mesh?
Right now there seems to be an issue with the use of
numpy.fromfile
in https://github.com/WoLpH/numpy-stl/blob/92900a54dd4446bacc827fb11b958e8ea6416c56/stl/stl.py#L128.This numpy/numpy#2230 addresses this behaviour and potential workarounds like
numpy.frombuffer
.System: Windows 10, 10.0.17134 Build 17134
The text was updated successfully, but these errors were encountered: