Reading meshes from StringIO or BytesIO objects #1348
Unanswered
gatling-nrl
asked this question in
Q&A
Replies: 1 comment
-
Hi @gatling-nrl , I have an opened PR for this issue: #1305 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've got the text data of a gmsh mesh in memory and want to feed it to meshio using either
StringIO
orBytesIO
instead of writing it out to a file and passing the file name. This fails and I've traced the problem down to this line:meshio/src/meshio/gmsh/_gmsh41.py
Line 122 in 0138cc8
And this open (and ancient) issue in numpy.
This sits somewhere in the grey space between bug and feature request. Is there any workaround in
meshio
? There is a workaround suggested in the numpy issue comments, but requires changing meshio.Beta Was this translation helpful? Give feedback.
All reactions