# Rescale .stl file based on CT image series info

**URL:** https://discourse.slicer.org/t/rescale-stl-file-based-on-ct-image-series-info/28459
**Category:** Support
**Tags:** 3d-model
**Created:** [March 19, 2023, 7:43pm UTC](https://discourse.slicer.org/t/rescale-stl-file-based-on-ct-image-series-info/28459 "2023-03-19T19:43:34Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jusopar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jusopar/32/10144_2.png) [@jusopar](https://discourse.slicer.org/u/jusopar)
#### Post date: [March 19, 2023, 7:43pm UTC](https://discourse.slicer.org/t/rescale-stl-file-based-on-ct-image-series-info/28459/1 "2023-03-19T19:43:34Z")

</div>

Hello everyone,  
I would like to ask how to rescale a .stl file, when I only have information on the pixel spacing of the CT image series. I acquired .stl file from MorphoSource, where they also have the CT image series (with pixel spacing info).  
Thanks!  
Julia

---

<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: [March 19, 2023, 8:12pm UTC](https://discourse.slicer.org/t/rescale-stl-file-based-on-ct-image-series-info/28459/2 "2023-03-19T20:12:03Z")

</div>

The simplest method for rescaling a model is to use the `Scale` option in `Surface Toolbox` module.

---

<div class="post-metadata">

### Author: ![jusopar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jusopar/32/10144_2.png) [@jusopar](https://discourse.slicer.org/u/jusopar)
#### Post date: [March 19, 2023, 8:52pm UTC](https://discourse.slicer.org/t/rescale-stl-file-based-on-ct-image-series-info/28459/3 "2023-03-19T20:52:20Z")

</div>

Thank you Andras!  
But when I use the X, Y and Z “pixel spacing” number that I acquired from the CT Image Series in MorphoSource, the model gets even smaller. So I’m thinking the “pixel spacing” is probably not the number I should use in "Scale: on 3D Slicer. Would you have any idea about how to get the “Scale” from the “pixel spacing”.  
Thanks!

---

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [March 19, 2023, 9:32pm UTC](https://discourse.slicer.org/t/rescale-stl-file-based-on-ct-image-series-info/28459/4 "2023-03-19T21:32:29Z")

</div>

> [@jusopar](#):
>
> when I only have information on the pixel spacing of the CT image series. I acquired .stl file from MorphoSource

If I understand you have the original CT series of a stl you downloaded from MorphoSource, and you want to correctly size this STL?

if that’s the case, probably the easiest thing would be to measure a distance on the STL, and then measure the same distance on the volume rendering of the CT data. Then divide the CT measurement by stl measurement, and use that number to scale the STL model. This is going to be approximate but should be pretty close. Just pickup a distance that you can measure very consistently.

---

<div class="post-metadata">

### Author: ![jusopar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jusopar/32/10144_2.png) [@jusopar](https://discourse.slicer.org/u/jusopar)
#### Post date: [March 19, 2023, 9:41pm UTC](https://discourse.slicer.org/t/rescale-stl-file-based-on-ct-image-series-info/28459/5 "2023-03-19T21:41:13Z")

</div>

Okay, I see. Thank you Murat!
