Hi all,
I'm trying to copy vtkPolyData sources with Programmable Filter. My latest code is here: > input = self.GetPolyDataInput() > output = self.GetPolyDataOutput() > points = vtk.vtkPoints() > for i in range(0, input.GetNumberOfPoints()): > point_i = input.GetPoint(i) > x, y, z = point_i[:3] > z = z + 2.0 > points.InsertPoint(i, x, y, z) > output.SetPoints(points) And now I want to copy them repeatedly with only one filter. (Ex: 10 blocks at intervals.) How to do it? Magician _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview