Obtain Centerline model from centerline curves

Hi all,

I have some markups curves. The points of the curves are created with an external software. I want to use some modules in 3D Slicer but they require a “Centerline model” instead of a centerline curve. How can I generate this model from my curves?

imagen
imagen

Thanks a lot :slight_smile:

Hi, me and my team are also very interested on this feature. There any way to do it with a Python Script?

model = slicer.modules.models.logic().AddModel(myCurve.GetCurveWorld())

The new model contains the ‘Radius’ array among others, and lacks 2 other arrays.

How is this useful?

Please note that the modules in SlicerVMTK requiring a centerline model as input expect it to have been created with the ‘Extract centerline’ module.