If you use the Programmable Filter you can connect the points with the
following script:
pdi = self.GetPolyDataInput()
pdo =  self.GetPolyDataOutput()
numPoints = pdi.GetNumberOfPoints()
pdo.Allocate()
for i in range(0, numPoints-1):
    points = [i, i+1]
    # VTK_LINE is 3
    pdo.InsertNextCell(3, 2, points)



On Tue, Mar 18, 2014 at 2:10 PM, Patrik Blahuta <[email protected]>wrote:

> Hello,
>
> I am new using the paraview software. I would like to ask if you can help me 
> with connecting points with line. I opened my .csv file and made table to 
> points. That just shown me points in 3D view. Can you give me please tutor 
> how to connect them?
>
>
> Thanks
>
>
> *Kind regards,*
>
>
>
> *Patrik*
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to