# WrapSolidify surface

**URL:** <https://discourse.slicer.org/t/wrapsolidify-surface/15936>\
**Category:** Development\
**Tags:** python\
**Created:** [February 10, 2021, 3:40pm UTC](https://discourse.slicer.org/t/wrapsolidify-surface/15936 "2021-02-10T15:40:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![siaeleni](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@siaeleni](https://discourse.slicer.org/u/siaeleni)\
**Post date:** [February 10, 2021, 3:40pm UTC](https://discourse.slicer.org/t/wrapsolidify-surface/15936/1 "2021-02-10T15:40:05Z")

</div>

Hello,

I use Wrap Solifidy feature in order to create the outer surface of a model, but I get some strange results like the photo attached. Do you have any idea why?

Thanks!  
 ![notsmooth](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/0/b0158eaf6d5231d4037b84e4a1d2a2349ae7ca77.jpeg)

---

<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:** [February 10, 2021, 3:47pm UTC](https://discourse.slicer.org/t/wrapsolidify-surface/15936/2 "2021-02-10T15:47:10Z")

</div>

This happens because shrinking step sometimes finds the inner surface of the shell. This is fixed in [this pull request](https://github.com/sebastianandress/Slicer-SurfaceWrapSolidify/pull/6), so updating to latest version of the extension in latest Slicer Stable Release or latest Slicer Preview Release should fix the problem. If you still encounter these artifacts then locate `SegmentEditorEffect.py` file on your computer and change 100 to a smaller number (50, 20, 10).

> <https://github.com/sebastianandress/Slicer-SurfaceWrapSolidify/blob/9e9e15ea0a9cc7a03f75a6aaf8451e755967695f/SegmentEditorWrapSolidify/SegmentEditorWrapSolidifyLib/SegmentEditorEffect.py#L484>

Let us know how if it worked.
