From d8bbdba7897da3559e89f9427c2be76fd2e040dc Mon Sep 17 00:00:00 2001 From: Alexey Pechnikov Date: Sat, 16 Mar 2024 20:59:11 +0700 Subject: [PATCH] Save to binary VTK files --- pygmtsar/pygmtsar/Stack_export.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pygmtsar/pygmtsar/Stack_export.py b/pygmtsar/pygmtsar/Stack_export.py index 0f44c99a..a48f7d67 100644 --- a/pygmtsar/pygmtsar/Stack_export.py +++ b/pygmtsar/pygmtsar/Stack_export.py @@ -321,5 +321,6 @@ def export_vtk(self, data, name, caption='Exporting WGS84 VTK(s)', topo='auto', writer = vtkStructuredGridWriter() writer.SetFileName(filename) writer.SetInputData(vtk_grid) + writer.SetFileType(vtk.VTK_BINARY) writer.Write() pbar.update(1)