if I export a result using export.vtk(), reading that VTK file with meshio results in a ReadError. The reason for this is that meshio expects a binary newline b"\n" after each binary data block in the VTK file.
This could be easily prevented by adding vtk.write(b"\n") after each .tofile(vtk) in the function def vtk(name, cells, points, kwargs=...) in nutils.export. I could prepare a pull request to resolve this, if you agree.
Hi,
if I export a result using
export.vtk()
, reading that VTK file with meshio results in a ReadError. The reason for this is that meshio expects a binary newlineb"\n"
after each binary data block in the VTK file.This could be easily prevented by adding
vtk.write(b"\n")
after each.tofile(vtk)
in the functiondef vtk(name, cells, points, kwargs=...)
innutils.export
. I could prepare a pull request to resolve this, if you agree.Best regards Nils