# Extrude Line to Cylinder

**URL:** https://discourse.paraview.org/t/extrude-line-to-cylinder/11988
**Category:** ParaView Support
**Created:** [April 30, 2023, 2:56pm UTC](https://discourse.paraview.org/t/extrude-line-to-cylinder/11988 "2023-04-30T14:56:07Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![SebastianSalazar42](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@SebastianSalazar42](https://discourse.paraview.org/u/SebastianSalazar42)
#### Post date: [April 30, 2023, 2:56pm UTC](https://discourse.paraview.org/t/extrude-line-to-cylinder/11988/1 "2023-04-30T14:56:07Z")

</div>

Hi! I been using Paraview for some time (i.e. not beginner).

I wonder if it is possible to extrude a simple 3D line (a VTK\_LINE = 3), into a cylinder. This is because the line have “vectors” on ends, and therefore moves (animated) when applying Warp By Vector.

I want to go from left to right in 1 step.

 ![image](https://discourse.paraview.org/uploads/default/original/2X/0/063b403bf3b4fe9b803e485b4adc15f6559766f9.png)

Thanks in advance!

---

<div class="post-metadata">

### Author: ![HollowSun0](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hollowsun0/32/431_2.png) [@HollowSun0](https://discourse.paraview.org/u/HollowSun0)
#### Post date: [May 1, 2023, 12:47pm UTC](https://discourse.paraview.org/t/extrude-line-to-cylinder/11988/2 "2023-05-01T12:47:31Z")

</div>

Does vtkTubeFilter work for you?

---

<div class="post-metadata">

### Author: ![SebastianSalazar42](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@SebastianSalazar42](https://discourse.paraview.org/u/SebastianSalazar42)
#### Post date: [May 1, 2023, 4:46pm UTC](https://discourse.paraview.org/t/extrude-line-to-cylinder/11988/3 "2023-05-01T16:46:48Z")

</div>

Thank you. I need to apply “Extract Surface” every time, but it works!

---

<div class="post-metadata">

### Author: ![HollowSun0](https://discourse.paraview.org/user_avatar/discourse.paraview.org/hollowsun0/32/431_2.png) [@HollowSun0](https://discourse.paraview.org/u/HollowSun0)
#### Post date: [May 2, 2023, 1:51pm UTC](https://discourse.paraview.org/t/extrude-line-to-cylinder/11988/4 "2023-05-02T13:51:49Z")

</div>

Recently, I’ve been asking those types of questions to ChatGPT. It does a good job of finding the right algorithm.

---

<div class="post-metadata">

### Author: ![SebastianSalazar42](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@SebastianSalazar42](https://discourse.paraview.org/u/SebastianSalazar42)
#### Post date: [May 2, 2023, 6:43pm UTC](https://discourse.paraview.org/t/extrude-line-to-cylinder/11988/5 "2023-05-02T18:43:49Z")

</div>

that’s a really nice advice 😃
