# How can i download the aligned meshes?

**URL:** <https://shapeworks.discourse.group/t/how-can-i-download-the-aligned-meshes/236>\
**Category:** Uncategorized\
**Created:** [July 7, 2024, 7:54am UTC](https://shapeworks.discourse.group/t/how-can-i-download-the-aligned-meshes/236 "2024-07-07T07:54:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sspxddd](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sspxddd](https://shapeworks.discourse.group/u/sspxddd)\
**Post date:** [July 7, 2024, 7:54am UTC](https://shapeworks.discourse.group/t/how-can-i-download-the-aligned-meshes/236/1 "2024-07-07T07:54:42Z")

</div>

i uploaded my data and groomed them.then i saw the meshes were aligned.but when i use the groomed vtk on my code, i found the vtk files not aligned. how can i get the data which looks like gui shows

---

<div class="post-metadata">

**Author:** ![amorris](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@amorris](https://shapeworks.discourse.group/u/amorris)\
**Post date:** [July 9, 2024, 3:54pm UTC](https://shapeworks.discourse.group/t/how-can-i-download-the-aligned-meshes/236/2 "2024-07-09T15:54:52Z")

</div>

ShapeWorks doesn’t modify the position of the meshes for a couple of reasons:

1. This allows both the original and groomed shapes to be in the original coordinate space

2. This minimizes resampling for segmentations

3. Allows for multiple alignments when using multiple anatomies (e.g. local alignment per domain and global alignment, combined)

In the Studio GUI and in the optimization, we instead pass the transform and the original data. The viewer applies the transform only as part of a view/camera transform. The optimization uses the initial transform and may add additional transforms with procrustes.

To apply the alignment transform you can use the ShapeWorks Python API (Mesh.applyTransform)
