>Caly
>Dear Thomas
>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..
***
Mmm ... Well ... I have, actually, never done that... You may want to try the
PointToCellData Filter in Mayavi2 ... (??)
(I never read "the book"...)
I'm replying to you and forwarding to Mayavi-users & Enthought-dev
mailinglists, maybe someone could help you better ...
Thomas
On 4/10/08, Cally K <[EMAIL PROTECTED]> wrote:
Thank You so much, you really made my day. i managed to run the new
python program. I had to enter the "import string" at the top also,
but thank you so much again.
On 4/9/08, Thomas Lecocq <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The message you see is an error that says that you don't have a package
> called "Scientific" ..
>
> It isn't actually needed in order to read/write a file.
>
> See the attached file, I did modify it... Normaly, it should work fine.
>
> you have to call the program from a command line "python PointCloud.py
> input.txt" where input.txt contains one "X Y Z" per line
>
> HTH
>
> Thomas
>
> **********************
> Thomas Lecocq
>
> Geologist
> Ph.D.Student (Seismology)
> Royal Observatory of Belgium
> **********************
>
> Date: Wed, 9 Apr 2008 14:30:26 +0800
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: [MayaVi-users] converting xyz(txt) to unstructured grid(vtk)
>
> Hi
>
> I found this link
> http://mayavi.sourceforge.net/mwiki/PointCloudson converting point clouds to
> vtk's unstructured grid form. Unfortunately, I dun know python, is there a
> C++ program that I can use or could someone show me how to convert the file,
> I have installed python on windows and linux. I dun need to install vtk to
> run this program rite.. I can just run it from the console...?
>
>
> anyway, i tried running the script without much knowledge of course, in
> windows, I received this error
>
> Traceback (most recent call last):
> File "C:\Documents and Settings\kalpanak\Desktop\ppp\xyz2vtk.py", line 1,
> in <module>
> from Scientific.IO.TextFile import pointclouddatafile
> ImportError: No module named Scientific.IO.TextFile
>
>
>
> I hope someone could guide me...
>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users