<div dir="ltr">Hi everyone,<div><br></div><div>with</div><div>```</div><div><div>import numpy</div><div>import vtk</div><div>from vtk.util import numpy_support</div><div><br></div><div>mesh = vtk.vtkUnstructuredGrid()</div><div><br></div><div># add points to mesh</div><div>points = numpy.array([</div><div>    [0.123456789, 3.14159265, 0.0]</div><div>    ])</div><div>vtk_points = vtk.vtkPoints()</div><div>vtk_array = numpy_support.numpy_to_vtk(points)</div><div>vtk_points.SetData(vtk_array)</div><div>mesh.SetPoints(vtk_points)</div><div><br></div><div># write to VTK</div><div>writer = vtk.vtkUnstructuredGridWriter()</div><div>writer.SetFileTypeToASCII()</div><div>writer.SetFileName('test.vtk')</div><div>writer.SetInputData(mesh)</div><div>writer.Write()</div></div><div>```</div><div>I noticed that, although the `point` is given with some precision, the output `test.vtk` file only contains 6 digits of accuracy,</div><div>```</div><div>0.123457 3.14159 0<br></div><div>```</div><div>The numpy data type hosts 8 digits.</div><div><br></div><div>Is this a bug or expected? How to mitigate?</div><div><br></div><div>Cheers,</div><div>Nico</div></div>