Creating multiple lines in vtk python

Hello Everyone,

I am a relatively new user to vtk and I am trying to insert multiple lines into my polyData object to later apply the tubefilter.I have seen suggestions on how to do this in c++ plus not for python. Does anyone have any advice on how to do this?

Hello, James,

Please, take a look at this question in Stack Overflow: python - Creating a closed loop with vtkTubeFilter - Stack Overflow . The question has code examples for both creating a polyline and applying the tube filter.

regards,

Paulo

1 Like