<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;"><br></div><blockquote>edit: FW to vtk-users too...<br><br>

<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Tahoma;}
</style>

<div style="text-align: left;"><br></div><blockquote>&gt;Caly<br><div>&gt;Dear Thomas</div>
<div>&nbsp;</div>
<div>&gt;Thank you for the previous reply, I need your help in something theoretical, i read the VTK book and I understand that there are fee techniques &gt;used to convert unstructured points to unstructured grid.. are we using Delaunay 3D to. or ... can I know more about the code as in what &gt;technique is being used..Splatting.. Interpolation or Triangulation.. . thanks for ur help..<br>
<br><br>***<br><br>Mmm ... Well ... I have, actually, never done that... You may want to try the PointToCellData Filter in Mayavi2 ... (??)<br><br>(I never read "the book"...)<br><br><br>Thomas<br><br>&nbsp;</div>
<div><span class="EC_EC_gmail_quote">On 4/10/08, <b class="EC_EC_gmail_sendername">Cally K</b> &lt;<a href="mailto:kalpana0611@gmail.com">kalpana0611@gmail.com</a>&gt; wrote:</span>
<blockquote class="EC_EC_gmail_quote" style="padding-left: 1ex;">Thank You so much, you really made my day. i managed to run the new<br>python program. I had to enter the "import string" at the top also,<br>
but thank you so much again.<br><br><br>On 4/9/08, Thomas Lecocq &lt;<a href="mailto:thlecocq@msn.com">thlecocq@msn.com</a>&gt; wrote:<br>&gt; Hi,<br>&gt;<br>&gt; The message you see is an error that says that you don't have a package<br>
&gt; called "Scientific" ..<br>&gt;<br>&gt; It isn't actually needed in order to read/write a file.<br>&gt;<br>&gt; See the attached file, I did modify it... Normaly, it should work fine.<br>&gt;<br>&gt; you have to call the program from a command line "python PointCloud.py<br>
&gt; input.txt" where input.txt contains one "X Y Z" per line<br>&gt;<br>&gt; HTH<br>&gt;<br>&gt; Thomas<br>&gt;<br>&gt; **********************<br>&gt; Thomas Lecocq<br>&gt;<br>&gt; Geologist<br>&gt; Ph.D.Student (Seismology)<br>
&gt; Royal Observatory of Belgium<br>&gt; **********************<br>&gt;<br>&gt; Date: Wed, 9 Apr 2008 14:30:26 +0800<br>&gt; From: <a href="mailto:kalpana0611@gmail.com">kalpana0611@gmail.com</a><br>&gt; To: <a href="mailto:mayavi-users@lists.sourceforge.net">mayavi-users@lists.sourceforge.net</a><br>
&gt; Subject: [MayaVi-users] converting xyz(txt) to unstructured grid(vtk)<br>&gt;<br>&gt; Hi<br>&gt;<br>&gt; I found this link<br>&gt; <a href="http://mayavi.sourceforge.net/mwiki/PointCloudson" target="_blank">http://mayavi.sourceforge.net/mwiki/PointCloudson</a> converting point clouds to<br>
&gt; vtk's unstructured grid form. Unfortunately, I dun know python, is there a<br>&gt; C++ program that I can use or could someone show me how to convert the file,<br>&gt; I have installed python on windows and linux. I dun need to install vtk to<br>
&gt; run this program rite.. I can just run it from the console...?<br>&gt;<br>&gt;<br>&gt; anyway, i tried running the script without much knowledge of course, in<br>&gt; windows, I received this error<br>&gt;<br>&gt; Traceback (most recent call last):<br>
&gt;&nbsp;&nbsp; File "C:\Documents and Settings\kalpanak\Desktop\ppp\xyz2vtk.py", line 1,<br>&gt; in &lt;module&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; from Scientific.IO.TextFile import pointclouddatafile<br>&gt; ImportError: No module named Scientific.IO.TextFile<br>
&gt;<br>&gt;<br>&gt;<br>&gt; I hope someone could guide me...<br>&gt;<br></blockquote></div><br>
</blockquote>
</blockquote></body>
</html>