# Is there a feature to make an entity that suits concave surfaces?

**URL:** <https://discourse.slicer.org/t/is-there-a-feature-to-make-an-entity-that-suits-concave-surfaces/30104>\
**Category:** Support\
**Created:** [June 18, 2023, 2:32pm UTC](https://discourse.slicer.org/t/is-there-a-feature-to-make-an-entity-that-suits-concave-surfaces/30104 "2023-06-18T14:32:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![telomere](https://avatars.discourse-cdn.com/v4/letter/t/e47c2d/32.png) [@telomere](https://discourse.slicer.org/u/telomere)\
**Post date:** [June 18, 2023, 2:32pm UTC](https://discourse.slicer.org/t/is-there-a-feature-to-make-an-entity-that-suits-concave-surfaces/30104/1 "2023-06-18T14:32:35Z")

</div>

Hello.  
After I load a keyhole model, I want to make a key that exactly suits the keyhole.  
Is there any feature for this?  
Select the inner surfaces of the keyhole and use “some features” and the result is the key.  
What would be “some feaures”?  
For an easier example, I want to invert?(or reverse?) the surface of a bowl and the result would be a dome-shaped material or a half-sphere material.

Any ideas? Thanks in advance.

---

<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:** [June 18, 2023, 2:35pm UTC](https://discourse.slicer.org/t/is-there-a-feature-to-make-an-entity-that-suits-concave-surfaces/30104/2 "2023-06-18T14:35:43Z")

</div>

You can create an inverse of a 3D shape (for example, to create a mold) using Segment Editor’s Logical operators effect.

If you have an internal holes then you can extract one or more using the Island effect. If the holes are not completely closed (leak into each other or the outer space) then you can use Wrap Solidify effect (provided by SurfaceWrapSolidify extension).

---

<div class="post-metadata">

**Author:** ![mau\_igna\_06](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mau_igna_06/32/9056_2.png) [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Post date:** [June 18, 2023, 8:47pm UTC](https://discourse.slicer.org/t/is-there-a-feature-to-make-an-entity-that-suits-concave-surfaces/30104/3 "2023-06-18T20:47:10Z")

</div>

Please explore the use of the CombineModels module in the Sandbox extension. Probably you need to use difference operation:

e.g.  
`CylinderModel - KeyholeModel = KeyModel`

Hope it helps
