# stl export coordinate system?

**URL:** <https://discourse.slicer.org/t/stl-export-coordinate-system/19078>\
**Category:** Support\
**Tags:** registration\
**Created:** [August 5, 2021, 12:14pm UTC](https://discourse.slicer.org/t/stl-export-coordinate-system/19078 "2021-08-05T12:14:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benjamin-Fouquet](https://avatars.discourse-cdn.com/v4/letter/b/b77776/32.png) [@Benjamin-Fouquet](https://discourse.slicer.org/u/Benjamin-Fouquet)\
**Post date:** [August 5, 2021, 12:14pm UTC](https://discourse.slicer.org/t/stl-export-coordinate-system/19078/1 "2021-08-05T12:14:28Z")

</div>

Hello everybody,

I would like to understand in what coordinate system an .stl is exported when exporting a segmentation. From what I understand from: [Coordinate systems - Slicer Wiki](https://www.slicer.org/wiki/Coordinate_systems) is that it would be exported in anatomical coordinate system, where you can then choose LPS or RAS.

Is there a way then to export in world coordinates, or to convert the exported points to world coordinates somehow?

With kind regards,

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [August 5, 2021, 12:54pm UTC](https://discourse.slicer.org/t/stl-export-coordinate-system/19078/2 "2021-08-05T12:54:50Z")

</div>

You can control this in the “Export to files” section of the [Segmentations module](https://slicer.readthedocs.io/en/latest/user_guide/image_segmentation.html#segmentations-module-overview).

---

<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:** [August 5, 2021, 1:00pm UTC](https://discourse.slicer.org/t/stl-export-coordinate-system/19078/3 "2021-08-05T13:00:00Z")

</div>

> [@Benjamin-Fouquet](#):
>
> Is there a way then to export in world coordinates, or to convert the exported points to world coordinates somehow?

RAS are the world coordinates in Slicer, so exporting in world coordinates is the same as exporting in RAS. However, I would recommend LPS for file export for compatibility with other software.

If you applied a transform on the model then you need to [harden it on the model](https://slicer.readthedocs.io/en/latest/user_guide/modules/transforms.html#harden-transform-on-a-node) before exporting.

---

<div class="post-metadata">

**Author:** ![Benjamin-Fouquet](https://avatars.discourse-cdn.com/v4/letter/b/b77776/32.png) [@Benjamin-Fouquet](https://discourse.slicer.org/u/Benjamin-Fouquet)\
**Post date:** [August 12, 2021, 12:48pm UTC](https://discourse.slicer.org/t/stl-export-coordinate-system/19078/4 "2021-08-12T12:48:08Z")

</div>

Sorry, realized I never properly thanked you for that.
