# Creating Segmentation on stl files to get centreline of artery

**URL:** <https://discourse.slicer.org/t/creating-segmentation-on-stl-files-to-get-centreline-of-artery/33603>\
**Category:** Support\
**Tags:** segmentation, stl\
**Created:** [January 3, 2024, 3:02pm UTC](https://discourse.slicer.org/t/creating-segmentation-on-stl-files-to-get-centreline-of-artery/33603 "2024-01-03T15:02:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luxalyn](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/luxalyn/32/68873_2.png) [@Luxalyn](https://discourse.slicer.org/u/Luxalyn)\
**Post date:** [January 3, 2024, 3:02pm UTC](https://discourse.slicer.org/t/creating-segmentation-on-stl-files-to-get-centreline-of-artery/33603/1 "2024-01-03T15:02:00Z")

</div>

Hello;  
I’m extremely new to 3D Slicer, and for a couple days I’ve been trying to implement segmentation on an artery stl file to get the centerline of it. I have tried these steps but it didnt work. i dont know why and all i can see is my model on the right top corner.

- Drag-and-drop STL file to Slicer window and in Add data dialog, choose “Segmentation” in Description column (there is no need to load as model and then import to segmentation but you can directly load as segmentation)
- Go to Segment Editor and click “Specify geometry” button (next to Master volume selector)
- Choose current segmentation node as source geometry, set spacing values, and click OK

May someone please show me how to apply segmentation to a STL file to get the centerline of it?

Sincerely

Ali

---

<div class="post-metadata">

**Author:** ![Deep\_Learning](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/deep_learning/32/15345_2.png) [@Deep\_Learning](https://discourse.slicer.org/u/Deep_Learning)\
**Post date:** [January 3, 2024, 5:48pm UTC](https://discourse.slicer.org/t/creating-segmentation-on-stl-files-to-get-centreline-of-artery/33603/2 "2024-01-03T17:48:24Z")

</div>

Check out the VMTK extension

> **[GitHub - vmtk/SlicerExtension-VMTK](https://github.com/vmtk/SlicerExtension-VMTK)**
>
> Contribute to vmtk/SlicerExtension-VMTK development by creating an account on GitHub.
