Replies: 2 comments
-
|
Should definitely be fixed. Will take care of this soon! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks! |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I just have a small problem while using meshio.
Some background:
I am trying to build an addon for blender with meshio, because it's very complicated for blender to use
pip install meshio, so I am putting meshio in the same directory with my code, then load it withfrom . import meshioProblem:
in
src/meshio/hmf/_hmf.py:1, it writes asimport meshio, since meshio is not in thesys.path, so it failed whenfrom . import meshio.Suggestion:
I am suggesting to replace
import meshiowithfrom .._mesh import Mesh, also need to change line 47return meshio.Mesh(toreturn Mesh(and line 56write(filename, meshio.Mesh(points, cells), **kwargs)towrite(filename, Mesh(points, cells), **kwargs)reason:
from .._mesh import Meshrather than useimport meshioherefrom .._mesh import MeshBeta Was this translation helpful? Give feedback.
All reactions