# 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:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Paula\_Feldman](https://discourse.vtk.org/user_avatar/discourse.vtk.org/paula_feldman/32/9767_2.png) [@Paula\_Feldman](https://discourse.vtk.org/u/Paula_Feldman)
#### Post date: [January 29, 2025, 5:12pm UTC](https://discourse.vtk.org/t/mesh-tube-with-non-circular-cross-sections/15225/1 "2025-01-29T17:12:33Z")

</div>

Hi! I´m using vmtkCenterlineModeller and vmtkMarchingCubes to mesh a tubular centerline. Now instead of circular cross sections I have several radius values(a spline) for each centerline point. is there a vmtk script to model it instead of CenterlineModeller?

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cory.quammen/32/6751_2.png) [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)
#### Post date: [January 29, 2025, 5:44pm UTC](https://discourse.vtk.org/t/mesh-tube-with-non-circular-cross-sections/15225/2 "2025-01-29T17:44:29Z")

</div>

Hi Paula, I think you might be looking for the VMTK community: [Community | vmtk - the Vascular Modelling Toolkit](http://www.vmtk.org/community/)

This is the VTK Discourse.

---

<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
