<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    it is more a ParaView-related question, so I changed the list name
    ;)<br>
    <br>
    I tried again the solution Pat proposed in the post, and I am sorry
    to tell you that it works without changing anything...<br>
    I just can be more precise. Please follow these steps in the
    paraview python shell :<br>
    s = SplineSource()<br>
    s.ParametricFunction.SetPropertyWithName( "Closed", 1 ) # Now, the
    "Closed Spline" property toggles to "checked"<br>
    pointA = [1,2,3]<br>
    pointB = [6,5,4]<br>
    pointC = [7,8,9]<br>
    s.ParametricFunction.SetPropertyWithName( "Points",
    pointA+pointB+pointC) # Now, the three points appear in the spline
    points list<br>
    <meta name="qrichtext" content="1">
    <meta http-equiv="Content-Type" content="text/html;
      charset=ISO-8859-1">
    <style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
    Then press apply : the spline appears in the render window.<br>
    If you experience problems, please tell me which steps are guilty.<br>
    <br>
    HTH,<br>
    Jerome<br>
    <br>
    On 11/26/2011 08:04 AM, Ian Leslie wrote:
    <blockquote cite="mid:SNT128-W350C6697336BE23E264759EACC0@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      <div dir="ltr"> Hi,<br>
        &nbsp;&nbsp; I saw your post on getting the spline function to work in the
        pyhthon shell within ParaView on the vtk.org users mailing list
        and was wondering if you would be willing to share your solution
        with me.&nbsp; I wasn't able to implement the suggested solution
        based on the post alone <a moz-do-not-send="true"
href="http://markmail.org/search/list:paraview?q=SplineSource+and+python+script#query:list%3Aparaview%20SplineSource%20and%20python%20script+page:1+mid:hhzkv5vj33zv6hky+state:results">http://markmail.org/search/list:paraview?q=SplineSource+and+python+script#query:list%3Aparaview%20SplineSource%20and%20python%20script+page:1+mid:hhzkv5vj33zv6hky+state:results</a><br>
        &nbsp;<br>
        Thanks, <br>
        <br>
        <span class="ecxheadline">Ian </span><br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
    </blockquote>
    <br>
    <br>
  </body>
</html>