# What is the command in python to apply surface smoothing to 3D object?

**URL:** <https://discourse.slicer.org/t/what-is-the-command-in-python-to-apply-surface-smoothing-to-3d-object/14889>\
**Category:** Support\
**Created:** [December 5, 2020, 2:12am UTC](https://discourse.slicer.org/t/what-is-the-command-in-python-to-apply-surface-smoothing-to-3d-object/14889 "2020-12-05T02:12:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NoobForSlicer](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/noobforslicer/32/10900_2.png) [@NoobForSlicer](https://discourse.slicer.org/u/NoobForSlicer)\
**Post date:** [December 5, 2020, 2:12am UTC](https://discourse.slicer.org/t/what-is-the-command-in-python-to-apply-surface-smoothing-to-3d-object/14889/1 "2020-12-05T02:12:39Z")

</div>

What is the command to apply this?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/2/02caca175e14e77a3ac9cbca8dc9b01fcb3ac081.png)

---

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [December 6, 2020, 11:29am UTC](https://discourse.slicer.org/t/what-is-the-command-in-python-to-apply-surface-smoothing-to-3d-object/14889/2 "2020-12-06T11:29:56Z")

</div>

Smoothing the 3d mesh. You can drift the bar or change the value from 1 to 0.5, and you could see the effect in the 3d view.
