# Surface smoothing and exporting model

**URL:** <https://discourse.slicer.org/t/surface-smoothing-and-exporting-model/1144>\
**Category:** Support\
**Created:** [September 29, 2017, 11:57pm UTC](https://discourse.slicer.org/t/surface-smoothing-and-exporting-model/1144 "2017-09-29T23:57:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Post date:** [September 29, 2017, 11:57pm UTC](https://discourse.slicer.org/t/surface-smoothing-and-exporting-model/1144/1 "2017-09-29T23:57:42Z")

</div>

Quick (hopefully quick, anyway) question - When you export a model from a segmentation, does it use the surface smoothing parameter from the “Show 3D” option in the Segment Editor?

I think this might have been discussed in the Development list but a quick look didn’t reveal anything obvious… Apologies in advance if this has been covered elsewhere.

Thanks!

-Hollister

---

<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:** [September 30, 2017, 3:21am UTC](https://discourse.slicer.org/t/surface-smoothing-and-exporting-model/1144/2 "2017-09-30T03:21:23Z")

</div>

> [@hherhold](#):
>
> When you export a model from a segmentation, does it use the surface smoothing parameter from the “Show 3D” option in the Segment Editor?

Yes. What you see is what is exported.

---

<div class="post-metadata">

**Author:** ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Post date:** [September 30, 2017, 11:07am UTC](https://discourse.slicer.org/t/surface-smoothing-and-exporting-model/1144/3 "2017-09-30T11:07:03Z")

</div>

Sounds good. Thanks!

---

<div class="post-metadata">

**Author:** ![Saima](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@Saima](https://discourse.slicer.org/u/Saima)\
**Post date:** [October 7, 2021, 2:12pm UTC](https://discourse.slicer.org/t/surface-smoothing-and-exporting-model/1144/4 "2021-10-07T14:12:43Z")

</div>

Hi Andras,  
How can the surface smoothing be reduced in segmenteditor (usign script) before exporting the model as a PLY file.

Regards,  
Saima Safdar

---

<div class="post-metadata">

**Author:** ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Post date:** [October 7, 2021, 2:17pm UTC](https://discourse.slicer.org/t/surface-smoothing-and-exporting-model/1144/5 "2021-10-07T14:17:34Z")

</div>

You can reduce the smoothing of segments before exporting as a model:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/a/8ac65dd33ba6c990830b45fbfcec2b287c1ec855.png)

Or do you need to do this in a script?

---

<div class="post-metadata">

**Author:** ![Saima](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@Saima](https://discourse.slicer.org/u/Saima)\
**Post date:** [October 7, 2021, 2:20pm UTC](https://discourse.slicer.org/t/surface-smoothing-and-exporting-model/1144/6 "2021-10-07T14:20:17Z")

</div>

Hi,  
Is there a way to set the smoothing to 20% instead of 0 in segment editor before exporting model.

Thank you

Regards,  
Saima Safdar

---

<div class="post-metadata">

**Author:** ![Saima](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@Saima](https://discourse.slicer.org/u/Saima)\
**Post date:** [October 7, 2021, 2:49pm UTC](https://discourse.slicer.org/t/surface-smoothing-and-exporting-model/1144/7 "2021-10-07T14:49:19Z")

</div>

I need to do it in a script

can you tell how can i do.

regards,  
Saima Safdar

---

<div class="post-metadata">

**Author:** ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Post date:** [October 7, 2021, 2:58pm UTC](https://discourse.slicer.org/t/surface-smoothing-and-exporting-model/1144/8 "2021-10-07T14:58:07Z")

</div>

Check out the example in the script repository:

[https://slicer.readthedocs.io/en/latest/developer\_guide/script\_repository.html#re-convert-using-a-modified-conversion-parameter](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#re-convert-using-a-modified-conversion-parameter)
