pyvtk
pyvtk copied to clipboard
Manupulate VTK files in Python
I found some issues in TENSORS, regarding the encoding of the string. I also modified a bit setup.py
Dear developers, I found a bug when exporting tensors in Python 3. There is apparently missing conversion from string to bytes. The solution is to fix function Tensors.py::def to_string as...
Thanks for creating this very useful package. I am trying to learn to use it by following the examples. When running `unstructured.py`, I get the following error ```python 1 vtk...
``` What steps will reproduce the problem? 1. import pyvtk 2. data = pyvtk.VtkData('data.vtk') # This is a binary structured_points dataset I see that this raises a NotImplemented error. I...
Hey, In UnstructuredGrid.py, as for an example, there is a function `unstructured_grid_fromfile`, the first line calls a .decode() that won't work with Python3, since str are not decode-able. The Python3...
Added explicit binary string casting.
The page https://github.com/pearu/pyvtk/wiki/unexpectedEOF suggests a way to fix UnexpectedEOF on files which are conforming to the ambiguous standard for VTK2. 3rd-party projects using pyvtk have to monkey-patch pyvtk to open...