Closed samjrholt closed 5 months ago
to_vtk() has hard coded
to_vtk()
rgrid.SetXCoordinates( vns.numpy_to_vtk(np.fromiter(self.mesh.vertices.x, float)) ) rgrid.SetYCoordinates( vns.numpy_to_vtk(np.fromiter(self.mesh.vertices.y, float)) ) rgrid.SetZCoordinates( vns.numpy_to_vtk(np.fromiter(self.mesh.vertices.z, float)) )
to_vtk()
has hard coded