# Exporting a segment as .stl model

**URL:** <https://discourse.slicer.org/t/exporting-a-segment-as-stl-model/30044>\
**Category:** Development\
**Tags:** segmentation, 3d-model\
**Created:** [June 14, 2023, 9:30pm UTC](https://discourse.slicer.org/t/exporting-a-segment-as-stl-model/30044 "2023-06-14T21:30:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [June 16, 2023, 2:16pm UTC](https://discourse.slicer.org/t/exporting-a-segment-as-stl-model/30044/2 "2023-06-16T14:16:09Z")

</div>

This topic should help:

> [@Export volume (or segment?) to stl file with python](https://discourse.slicer.org/t/export-volume-or-segment-to-stl-file-with-python/25111/2):
>
> Hi, segmentation nodes cannot be saved as STL directly. You need to first export the segmentation to model node: [Script repository — 3D Slicer documentation](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#export-model-nodes-from-segmentation-node) Then, model nodes can be saved as STL files.

---

_[View the full topic](https://discourse.slicer.org/t/exporting-a-segment-as-stl-model/30044)._
