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?
cory.quammen
(Cory Quammen (Kitware))
January 29, 2025, 5:44pm
2
Hi Paula, I think you might be looking for the VMTK community: Community | vmtk - the Vascular Modelling Toolkit
This is the VTK Discourse.
mau_igna_06
(Mauro Dominguez)
January 31, 2025, 6:19pm
3
Hi,
I have made a code example that shows exactly the same problem reported by the original poster using vtkRuledSurfaceFilter with PointWalk mode
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