# Pipeline centerline

**URL:** <https://discourse.slicer.org/t/pipeline-centerline/30236>\
**Category:** VMTK\
**Created:** [June 26, 2023, 2:56pm UTC](https://discourse.slicer.org/t/pipeline-centerline/30236 "2023-06-26T14:56:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yangxw](https://avatars.discourse-cdn.com/v4/letter/y/d07c76/32.png) [@yangxw](https://discourse.slicer.org/u/yangxw)\
**Post date:** [June 26, 2023, 2:56pm UTC](https://discourse.slicer.org/t/pipeline-centerline/30236/1 "2023-06-26T14:56:10Z")

</div>

Hello author, I am new to VMTK, I want to extract the centerline of STL model (bronchus) by code, but I can’t do it by many methods, such as C++ and python, do you have an example of extracting the centerline of STL model, preferably in C++? Thank you!
