# Mesh tube with non circular cross sections

**URL:** https://discourse.vtk.org/t/mesh-tube-with-non-circular-cross-sections/15225
**Category:** Support
**Created:** [January 29, 2025, 5:12pm UTC](https://discourse.vtk.org/t/mesh-tube-with-non-circular-cross-sections/15225 "2025-01-29T17:12:33Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![mau\_igna\_06](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mau_igna_06/32/8064_2.png) [@mau\_igna\_06](https://discourse.vtk.org/u/mau_igna_06)
#### Post date: [January 31, 2025, 6:19pm UTC](https://discourse.vtk.org/t/mesh-tube-with-non-circular-cross-sections/15225/3 "2025-01-31T18:19:32Z")

</div>

> [@VTKRuledSurface Bug?](https://discourse.vtk.org/t/vtkruledsurface-bug/8102/5):
>
> Hi, I have made a code example that shows exactly the same problem reported by the original poster using vtkRuledSurfaceFilter with PointWalk mode slight_smile All the code is vtk, except I had to replace vtk.vtkFrenetSerretFrame() with slicer.vtkParallelTransportFrame() # Create profile vtk.vtkMath.RandomSeed(7859821) diskSource = vtk.vtkDiskSource() diskSource.SetCircumferentialResolution(5) clean = vtk.vtkCleanPolyData() clean.SetInputConnection(diskSource.GetOutputPort()) edges = vt…

That filter has a bug, but if you’d solve it I think it would cover your use case

Hope it helps

---

_[View the full topic](https://discourse.vtk.org/t/mesh-tube-with-non-circular-cross-sections/15225)._
