<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi, <BR> Thanks, but I believe if the code is to be used in the python programmable source function within ParaView it needs to be in Python script, and the example is in C++? <BR> <BR>Appreciate the link, it may help me produce the right code. <br><BR>Importing the xyz data and converting to points is no problem, really just need the code to take the points and turn them into a line. I've just started to try and puzzle this out having never used Python script or VTK coding before and thought that surely many people would have already produce a simple script for this purpose? <BR> <BR>Thanks again, <br><br><span class="ecxheadline">Ian </span><br><br><BR><div>> Date: Sun, 20 Nov 2011 08:27:23 -0500<br>> Subject: Re: [vtkusers] Automatically connecting x,y,z point data?<br>> From: daviddoria@gmail.com<br>> To: lesl4685@vandals.uidaho.edu<br>> CC: vtkusers@vtk.org<br>> <br>> On Sat, Nov 19, 2011 at 11:28 PM, Ian Leslie<br>> <lesl4685@vandals.uidaho.edu> wrote:<br>> > Hi,<br>> > I have a lot (hundreds) of spatial xyz points that I would like to<br>> > connect using a straight line or spline, without having to manually insert<br>> > the coordinates into the line or spline source tools. This is probably a<br>> > really easy python source or filter script, but I am a real novice with<br>> > python, any help would be greatly appreciated.<br>> ><br>> > Ian<br>> <br>> Is this what you're looking for?<br>> <br>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/PolyLine<br>> <br>> David<br></div>                                            </div></body>
</html>