[Paraview] Change the SplineSource resolution from Python shell

Jordi Moliner jordimoliner94 at gmail.com
Mon Jul 28 10:42:12 EDT 2014


Hello ParaView users!

I am quite a newbie in the world of Paraview and Python.

I am trying to create a spline from a list of points in paraview.
I have created a little script so paraview can read my list of points and
creates the spline.

The problem is that no matter how many points I put as an input, the spline
is always composed of 51 points.
So if I put 4 points I'll get a spline resolution of 51 points, and if I
put 400 I'll get a resolution of 51 points too.
Does anybody know how to change the spline resolution ?

Afterwards I'd like to calculate the length of this spline. Is it possible
to get this result from paraview ?

Thanks to everyone,

Jordi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140728/878ddba9/attachment.html>


More information about the ParaView mailing list