<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>>Caly<br><div>>Dear Thomas</div>
<div> </div>
<div>>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 >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 >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> </div>
<div><span class="EC_EC_gmail_quote">On 4/10/08, <b class="EC_EC_gmail_sendername">Cally K</b> <<a href="mailto:kalpana0611@gmail.com">kalpana0611@gmail.com</a>> 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 <<a href="mailto:thlecocq@msn.com">thlecocq@msn.com</a>> wrote:<br>> Hi,<br>><br>> The message you see is an error that says that you don't have a package<br>
> called "Scientific" ..<br>><br>> It isn't actually needed in order to read/write a file.<br>><br>> See the attached file, I did modify it... Normaly, it should work fine.<br>><br>> you have to call the program from a command line "python PointCloud.py<br>
> input.txt" where input.txt contains one "X Y Z" per line<br>><br>> HTH<br>><br>> Thomas<br>><br>> **********************<br>> Thomas Lecocq<br>><br>> Geologist<br>> Ph.D.Student (Seismology)<br>
> Royal Observatory of Belgium<br>> **********************<br>><br>> Date: Wed, 9 Apr 2008 14:30:26 +0800<br>> From: <a href="mailto:kalpana0611@gmail.com">kalpana0611@gmail.com</a><br>> To: <a href="mailto:mayavi-users@lists.sourceforge.net">mayavi-users@lists.sourceforge.net</a><br>
> Subject: [MayaVi-users] converting xyz(txt) to unstructured grid(vtk)<br>><br>> Hi<br>><br>> I found this link<br>> <a href="http://mayavi.sourceforge.net/mwiki/PointCloudson" target="_blank">http://mayavi.sourceforge.net/mwiki/PointCloudson</a> converting point clouds to<br>
> vtk's unstructured grid form. Unfortunately, I dun know python, is there a<br>> C++ program that I can use or could someone show me how to convert the file,<br>> I have installed python on windows and linux. I dun need to install vtk to<br>
> run this program rite.. I can just run it from the console...?<br>><br>><br>> anyway, i tried running the script without much knowledge of course, in<br>> windows, I received this error<br>><br>> Traceback (most recent call last):<br>
> File "C:\Documents and Settings\kalpanak\Desktop\ppp\xyz2vtk.py", line 1,<br>> in <module><br>> from Scientific.IO.TextFile import pointclouddatafile<br>> ImportError: No module named Scientific.IO.TextFile<br>
><br>><br>><br>> I hope someone could guide me...<br>><br></blockquote></div><br>
</blockquote>
</blockquote></body>
</html>