meshio
meshio copied to clipboard
:spider_web: input/output for many mesh formats
**Describe the bug** Conversion of NASTRAN files with floats for _THETA_, _MCID_ or _ZOFFS_ results in a ValueError. ``` ValueError: invalid literal for int() with base 10: '0.1' ``` **To...
When saving a mesh of edges the .ply standard is not followed: ``` import meshio mesh_nodes = np.array([[0.,0.,0.],[0.,0.,1.],[0.,0.,2.]]) mesh = np.array([[0,1],[1,2]]) meshio_mesh = meshio.Mesh(mesh_nodes, cells=[("line", mesh)]) meshio_mesh.write(filename, binary=False) ``` produces:...
Hi, I have an .inp mesh with element type that are not supported. Can you see if taking into account these new elements is a huge work or not ?...
Hi, maybe I found a bug while reading a vtu-file with meshio. With ``` import meshio mesh = meshio.read('skineffect_0000.vtu') ``` I get the error "Illegal data type 'String'". The file...
Hi everyone, I'm currently working on support for the ovm format used by https://openvolumemesh.org/ / https://gitlab.vci.rwth-aachen.de:9000/OpenVolumeMesh/OpenVolumeMesh I am currently the maintainer of OVM, and it is used heavily in my...
Hello all, I was trying to convert .msh file to vtu files with msh2vtu.py but when I run it, the terminal return this error: --> python3 msh2vtu.py mesh.msh MeshIO 5.3.4...
If not set the The ["binary"] = True, write function cannot write binary mode, For example: stl will never output binary format. Code location: src.meshio.stl._stl.write; src.meshio.mdpa._mdpa.write
**Describe the bug** `meshio` is installed using `conda`; however, when loading meshio plugin in Paraview, `meshio` cannot be found. **To Reproduce** - Open Paraview (I used both 5.9 and 5.11);...
I'm using a mesh reader that accepts Tecplot .dat files but it does not recognize the zone labels `NODES` and `ELEMENTS`, but only `N` and `E`, respectively. Indeed, the `meshio`...
**Describe the bug** The write method of `meshio._cxml.etree.ElementTree` accepts only filenames. This causes an error when trying to write e.g. vtu files and passing a file handle. Seems like a...