# vtkTube : Quadrilaterals instead of Triangles ?

**URL:** https://discourse.vtk.org/t/vtktube-quadrilaterals-instead-of-triangles/6674
**Category:** Support
**Created:** [September 22, 2021, 10:04pm UTC](https://discourse.vtk.org/t/vtktube-quadrilaterals-instead-of-triangles/6674 "2021-09-22T22:04:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Nicholas\_Yue](https://discourse.vtk.org/user_avatar/discourse.vtk.org/nicholas_yue/32/3751_2.png) [@Nicholas\_Yue](https://discourse.vtk.org/u/Nicholas_Yue)
#### Post date: [September 22, 2021, 10:04pm UTC](https://discourse.vtk.org/t/vtktube-quadrilaterals-instead-of-triangles/6674/1 "2021-09-22T22:04:46Z")

</div>

Hi,

Currently, using vtkTube generates triangle mesh/strip

![VTK_Tube_Current](https://discourse.vtk.org/uploads/default/original/2X/3/3e563e9badba879e6c87a853aaff9374da9f255a.png)

Is there a way to influnce vtkTube to generate quads ?

![VTK_Tube_Request](https://discourse.vtk.org/uploads/default/original/2X/9/91cc981157ab392b35a7ee85af50efa329a32464.png)

Cheers

---

<div class="post-metadata">

### Author: ![will.schroeder](https://discourse.vtk.org/user_avatar/discourse.vtk.org/will.schroeder/32/233_2.png) [@will.schroeder](https://discourse.vtk.org/u/will.schroeder)
#### Post date: [September 23, 2021, 9:45am UTC](https://discourse.vtk.org/t/vtktube-quadrilaterals-instead-of-triangles/6674/2 "2021-09-23T09:45:42Z")

</div>

I assume you mean vtkTubeFilter.

Quads don’t work in most cases, for example when the generating polyline is not straight. In which case the combined curvature of the tube and generating polyline produce non-planar quads - which are undesirable.

If you want to create something like what you’ve shown, maybe one of the extrusion filters would work for you.
