<div>Hello Goodwin,</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp; thank you very much for your suggestions. This is what I have tried:</div>
<div>&nbsp;</div>
<div>1) Call SetNumberOfComponents() before SetNumberOfTuples() =&gt; VTK Crashes</div>
<div>&nbsp;</div>
<div>2) Take vtkExtractGrid out of the pipeline =&gt; VTK Crashes</div>
<div>&nbsp;</div>
<div>3) Try using vtkPoints::Allocate() and vtkPoints::SetTuple3(): VTK crashes even&nbsp;before showing the 3D window: the problem is here, as you suggested in your point. I am unable to finish the call to SetTuple3 in a loop if the number of points is greater than 100 or something. I can finish the loop if I choose, 
i.e., 50 points. I attach the example with SetTuple3&nbsp;as &quot;prova3.py&quot;&nbsp;(using real simple grid data)</div>
<div>&nbsp;</div>
<div>4) I get the same runtime error from Windows if I simply use SetData() instead of SetTuple3() and Allocate(), if I choose more than 100 points. If I use 50 points, for example, I get the 3D window with a nice cube. I attach another example&nbsp;as &quot;
prova4.py&quot;&nbsp;with SetData() instead of SetTuple3() and Allocate().</div>
<div>&nbsp;</div>
<div>Probably I have made some mistake somewhere for the SetTuple3/Allocate example, but I am quite sure about the SetData() example. It is fantastically difficult to find examples of use of VTK in Python on the net...<br>
&nbsp;</div>
<div>For the samples I used Numpy instead of Numeric because Numpy is much more friendly in creating a 3D grid... I get the error message when I change the values for nx, ny, nz to bigger values.</div>
<div><br>Does anyone have some suggestion for me? It's really complicated to find out what the problem is when I get only a windows error message... at least a Python/VTK error messages would be much more useful...</div>

<div>&nbsp;</div>
<div>Thank you very much for your help and suggestions.</div>
<div>&nbsp;</div>
<div>Andrea.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><font size="2"></font><br>&nbsp;</div>