You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. VTP is just the VTK format for polydata. You should be read VTP using any software/code that reads VTK.
Numpy would be a really useful addition. I will keep this issue open until I find time to implement this. If you need sth urgent, look at the following functions to see how the code converts the numpy data into vtk before writing. A similar function to write numpy should be easy to come by..
Memsurfer/memsurfer/trimesh.py:write_vtp() and Memsurfer/memsurfer/utils.py: write2vtkpolydata(). What you need to do is look at the dictionary properties, and write what you need (or all) to numpy files.
Is it possible to save the output data in either VTK or numpy array format instead of the VTP format?
The text was updated successfully, but these errors were encountered: