Replies: 2 comments
-
Should definitely be fixed. Will take care of this soon! |
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
-
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 meshio
Problem:
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 meshio
withfrom .._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 Mesh
rather than useimport meshio
herefrom .._mesh import Mesh
Beta Was this translation helpful? Give feedback.
All reactions