I have a simple question.<br><div class="gmail_quote"><br>I'm trying to write a simple polyline, with 2160 points. Each point has it's X,Y,Z.<br><br>But everytime i write the file, i get some errors in reading it on paraview.<br>
<br>And also, I can't understand how the parameter "LINES" WORK.<br>
<br>Here is an example that I found online:<br><br># vtk DataFile Version 2.1<br>parabola - polyline<br>ASCII<br> <br>DATASET POLYDATA<br>POINTS 11 float<br> 0.0000000E+00 0.0000000E+00 0.0000000E+00<br>
1.000000 0.1000000 0.0000000E+00<br> 2.000000 0.4000000 0.0000000E+00<br> 3.000000 0.9000000 0.0000000E+00<br> 4.000000 1.600000 0.0000000E+00<br> 5.000000 2.500000 0.0000000E+00<br>
6.000000 3.600000 0.0000000E+00<br> 7.000000 4.900000 0.0000000E+00<br> 8.000000 6.400000 0.0000000E+00<br> 9.000000 8.100000 0.0000000E+00<br> 10.00000 10.00000 0.0000000E+00<br>
<br>LINES 1 12<br> 11<br> 0<br> 1<br> 2<br> 3<br> 4<br> 5<br> 6<br> 7<br> 8<br> 9<br> 10<br>
<br><br>How should I write the "LINES" parameter for 2160 points?<br><br>Att,<br><br>Renan.<br><br><br><br></div>-- <br>"Believe you can, believe you can't, either way you're right" - Sebastian Legrain. <br>
<br>Renan Leser de Medeiros<br>3D Artist<br>Master in Virtual Reality<br>Windesign 3D Projects and Visual Communication<br>+55 21 34952780 | +55 21 32813245 | Fax +55 21 33533245<br>+55 21 78853861 | +55 21 96815086<br><a href="http://www.windesign3d.com" target="_blank">http://www.windesign3d.com</a><br>