# Export segmentation to PLY compatible with geomorph

**URL:** <https://discourse.slicer.org/t/export-segmentation-to-ply-compatible-with-geomorph/29251>\
**Category:** Support\
**Tags:** segmentation, file-export\
**Created:** [May 2, 2023, 6:33pm UTC](https://discourse.slicer.org/t/export-segmentation-to-ply-compatible-with-geomorph/29251 "2023-05-02T18:33:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thelobsternods](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@thelobsternods](https://discourse.slicer.org/u/thelobsternods)\
**Post date:** [May 2, 2023, 6:33pm UTC](https://discourse.slicer.org/t/export-segmentation-to-ply-compatible-with-geomorph/29251/1 "2023-05-02T18:33:46Z")

</div>

I have been using 3D Slicer to segment bones out of scans. So far we have been saving these as STL files for 3D printing. However we would like to begin 3D geometric morphometrics using geomorph in R. This requires PLY files that are are in ASCII format. I tried saving these surfaces as PLY files through the save menus but this apparently saves them into a different “binary little endian format” (based on the error I am getting in geomorph).

How can I save PLY files in ASCII format in 3D slicer? If there are any specific tutorials or threads to point me to that already help users wishing to export surfaces for use with geomorph, please feel free to bring those to my attention.

Thanks, Sarah

Operating system: PC  
Slicer version: 5.2.2  
Expected behavior: PLY file in ASCII format  
Actual behavior: PLY file is in binary little endian format

---

<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:** [May 2, 2023, 6:34pm UTC](https://discourse.slicer.org/t/export-segmentation-to-ply-compatible-with-geomorph/29251/2 "2023-05-02T18:34:21Z")

</div>

You can save as ASCII by disabling the compression option when saving/exporting the model.
